Red Hat Bugzilla – Bug 804781
ovirt-engine-core : Cannot create multiple snapshots on VM
Last modified: 2012-03-20 07:52:18 EDT
Description of problem:
When i try to create multiple snapshots on my VM I get an error message :
"Cannot create Snapshot. The VM is performing an operation on a Snapshot. Please wait for the operation to finish, and try again."
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2012-03-19 20:18:18,211 - MainThread - vms - DEBUG - CREATE request content is -- url:http://localhost:8080/api/vms/564b9d56-6a06-40c9-9ad4-19ba4bfdd49e/snapshots body:<snapshot><description>snapshot2</description></snapshot>
2012-03-19 20:18:18,368 - MainThread - vms - DEBUG - Response body for CREATE request is: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<detail>[Cannot create Snapshot. The VM is performing an operation on a Snapshot. Please wait for the operation to finish, and try again.]</detail>
Created attachment 571212 [details]
The snapshot behavior changed so that when snapshot is taken the VM is not locked, but only the specific snapshot gets locked (this is needed to allow live snapshots).
The problem is that API doesn't expose the snapshot status so there is no way to query on the status of the snapshot. This will be fixed in bug 801289.
*** This bug has been marked as a duplicate of bug 801289 ***