Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664614 - app-emulation/libvirt-4.5.0-r1 virsh snapshot-create-as fails when called with option --quiesce: "Timed out during operation: cannot acquire state change lock"
Summary: app-emulation/libvirt-4.5.0-r1 virsh snapshot-create-as fails when called wit...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Matthias Maier
URL: https://www.redhat.com/archives/libvi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-26 08:03 UTC by toon
Modified: 2018-11-04 04:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description toon 2018-08-26 08:03:08 UTC
See summary.
If I leave the option --quiesce out, the snapshot completes successfully.
This bug has already been reported to upstream, see:
https://bugzilla.redhat.com/show_bug.cgi?id=1598084

Reproducible: Always

Steps to Reproduce:
1. virsh -q snapshot-create-as "$domain_name" "$SNAPSHOT_PREFIX-$timestamp" --no-metadata --disk-only --atomic --quiesce
2.
3.
Actual Results:  
"Timed out during operation: cannot acquire state change lock"

Expected Results:  
First a request to quiesce the filesystems is sent to the qemu guest agent on the client.
Subsequently snapshots are made of the images of the client KVM machine.

As a work-around I now leave out the --quiesce option when making nightly snapshots.  This is of course suboptimal.
Comment 1 Matthias Maier gentoo-dev 2018-11-04 04:57:55 UTC
The patch should have made it into 4.6.0 according to the git repository:

https://www.redhat.com/archives/libvir-list/2018-July/msg00258.html