libvirtError: Timed out during operation: cannot acquire state change lock
Issue
-
After rebooting KVM host,virtual machine will not start and remains in paused state. When attempting to resume, shutdown or force off the VM, the following error is seen:
Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 515, in shutdown_domain vm.shutdown() File "/usr/share/virt-manager/virtManager/domain.py", line 567, in shutdown self.vm.shutdown() File "/usr/lib64/python2.4/site-packages/libvirt.py", line 662, in shutdown if ret == -1: raise libvirtError ('virDomainShutdown() failed', dom=self) libvirtError: Timed out during operation: cannot acquire state change lock
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- libvirt
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
