OpenVZ container is running but does not show in vzlist nor can I find the private/conf files for the container

Posted by Kakeakeai on Server Fault See other posts from Server Fault or by Kakeakeai
Published on 2013-07-02T16:49:04Z Indexed on 2013/07/02 17:06 UTC
Read the original article Hit count: 206

Filed under:
|
|
|
|

I was creating a new OpenVZ container on one of our VPS Nodes while the power went out for that machine. After bringing the machine back online I could no longer access the container CTID=101. I could not destroy it using "vzctl destroy 101", I can not enter or control it, and "vzlist -a" does NOT display any containers at all (this was a fresh node and the first container was being created).

I decided to create a new container at this point assuming that the old container just was not saved for some reason. However when I go to add the ip/host to the new container I get a warning that the IP is already in use. After doing a ping to the IP I realized there was a machine on that IP. I SSH into the machine and discover it is the OLD container that some how is orphaned. I can not find it on the filesystem, I can not find it using VZ commands, and It is set to start on Node boot so it is impossible to shutdown (even ssh in and typing the "shutdown now" command just reboots the container not shut it down).

Is this a flaw in OpenVZ or am I missing something? I have all the outputs and logs if needed. Thank you all so much in advance.

© Server Fault or respective owner

Related posts about vps

Related posts about openvz