In the world of NoSQL


Recently got the following error when trying to restart a newly installed VPS (Linux KVM virtualization, error message came from libvirt-bin):

error: Timed out during operation: cannot acquire state change lock

To solve this I undefined the VPS and then defined it again and started it.

# virsh dumpxml vps1.customer.com > vps1.customer.com.xml
# virsh undefine vps1.customer.com
# virsh define vps1.customer.com.xml
# virsh start vps1.customer.com

All other blogs I found said to restart libvirt-bin to fix it, but I preferred not to.

It should be safe restarting libvirt-bin since version 0.6.0 without affecting the running VPS instances, but based on previous experiencies with restarting the xen hypervisor I wanted to avoid it if possible.

§219 · maj 16, 2013 · Linux, Virtualization · Tags: , , , , · [Print]

Comments are closed.