Hi, A short while ago I renamed two VMs by shutting them down, lvrenaming the storage devices and adjusting the storage path and vm name using "virsh edit". This works fine so far and "virsh list" shows them correctly however virt-manager has gone bonkers and still shows them with the old names and alternating between the status "Shutoff" and "Running" with every display refresh and CPU usage alternating between 0% and 100%. All other VMs on the host are fine and are displayed correctly by virt-manager.
Does anybody know what the problem could be and how to fix it? While this issue seems to display related rather than being an actual problem with the VMs it's pretty irritating to say the least.
Regards, Dennis
Maybe restarting libvirtd on the host helps. Or virt-manager --debug --no-fork # might say something informative.
Andri
On Mon, 2009-11-23 at 17:26 +0100, Dennis J. wrote:
Hi, A short while ago I renamed two VMs by shutting them down, lvrenaming the storage devices and adjusting the storage path and vm name using "virsh edit". This works fine so far and "virsh list" shows them correctly however virt-manager has gone bonkers and still shows them with the old names and alternating between the status "Shutoff" and "Running" with every display refresh and CPU usage alternating between 0% and 100%. All other VMs on the host are fine and are displayed correctly by virt-manager.
Does anybody know what the problem could be and how to fix it? While this issue seems to display related rather than being an actual problem with the VMs it's pretty irritating to say the least.
Regards, Dennis _______________________________________________ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Found the cause of the problem. It seems virt-manager parses both its own config files and those under /etc/xen. There were still the config files for the old VMs in /etc/xen but after the "virsh edit" libvirt also create new ones for the renamed VMs. This apparently confused virt-manager. After removing the old config files in /etc/xen things look ok now.
Looks like the rename-case is not properly handled by libvirt (the old files should be removed after creating the new ones).
Regards, Dennis
On 11/23/2009 06:56 PM, Andri Möll wrote:
Maybe restarting libvirtd on the host helps. Or virt-manager --debug --no-fork # might say something informative.
Andri
On Mon, 2009-11-23 at 17:26 +0100, Dennis J. wrote:
Hi, A short while ago I renamed two VMs by shutting them down, lvrenaming the storage devices and adjusting the storage path and vm name using "virsh edit". This works fine so far and "virsh list" shows them correctly however virt-manager has gone bonkers and still shows them with the old names and alternating between the status "Shutoff" and "Running" with every display refresh and CPU usage alternating between 0% and 100%. All other VMs on the host are fine and are displayed correctly by virt-manager.
Does anybody know what the problem could be and how to fix it? While this issue seems to display related rather than being an actual problem with the VMs it's pretty irritating to say the least.
Regards, Dennis _______________________________________________ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt