[libvirt-users] virsh does no longer respond to commands

Dominik Psenner dpsenner at gmail.com
Mon Oct 23 13:02:59 UTC 2017


Luckily, we were able to sort this problem out by rebooting the hosting 
machine and restoring the guest machine from a backup. Did we stumble 
upon a bug? "blockjob abort" should not leave behind orphaned locks when 
it completed, should it?


On 2017-10-22 14:04, Dominik Psenner wrote:
> Hi,
>
> after a recent live backup done with a snapshot, blockcommit failed and a
> subsequent (manual) blockjob abort got stuck. Now we are unable to do basic
> operations on the virtual machine like if it was frozen and when issuing
> another command we see the following:
>
> $ virsh shutdown $domain
> error: Failed to shutdown domain $domain
> error: Timed out during operation: cannot acquire state change lock (held
> by remoteDispatchDomainBlockJobAbort)
>
> $ virsh blockcommit $domain --active --pivot
> error: Timed out during operation: cannot acquire state change lock (held
> by remoteDispatchDomainBlockJobAbort)
>
> $ virsh blockjob $domain --abort
> error: Timed out during operation: cannot acquire state change lock (held
> by remoteDispatchDomainBlockJobAbort)
>
> Houston, we've got a problem. We have roughly 16 hours to fix this. Any
> help is appreciated!




More information about the libvirt-users mailing list