OpenVZ Container running, but missing in web GUI

gorbad

New Member
Sep 30, 2011
6
0
1
I've been trying out containers in PVE 2.0. I had some issues migrating that has left me in a weird state. Here's what I did:

- 2-node PVE 2.0 cluster

- Created a new CT (104) on node A
- Using ubuntu 10.04 x86_64 template, with bridge networking
- Started it up, confirmed networking correct, etc.
- Ran vzmigrate --online <node b ip> 104
Didn't work. Got this:
Code:
.: 372: Can't open /etc/vz/conf/104.conf
Had a look around. The 104.conf file is actually located at /etc/pve/openvz/104.conf
- Decided to just make a symlink , point /etc/vz/conf/104.conf -> /etc/pve/openvz/104.conf
- Do the vzmigrate again. Works! Hmm, wait, it didn't. The 104.conf file now exists on node b, but is empty. My network switch confirms the container is still on node A.
- I scp the 104.conf file from node A to node B, and also symlink it similarly on node B.
- vzmigrate again. It works! The container stayed up, the container was removed from node A, my network switch sees it on the new port, etc.

But it doesn't show up under Node B in the web GUI. In fact, it's missing completely (not on node A either). The container is still running though; I'm SSH'd into it, and I can enter it using vzctl on node B, vzlist on node B shows it. It's just gone from the GUI. It seems like PVE just doesn't know about it anymore.

So, questions:
- What might I have done wrong to start with, when it couldn't find the config files?
- What did my symlinking and scp'ing of the config file shenanigans do?
- How can I get the container to show up in the GUI again??
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!