Red Hat Bugzilla – Bug 827890
ovirt-engine-backend: rollback on snapshot preview failure did not change the snapshot state in db and image is presented as previewed
Last modified: 2016-02-10 11:28:37 EST
Created attachment 588861 [details]
Description of problem:
after failure in preview of snapshot the snapshot appears as previewed in webadmin.
checking the db snapshot table the status of the image is still IN_PREVIEW
this requires a manual intervention in db since we cannot create any snapshots, commit and undo will fail (since vdsm has rolled back).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create 3 domains + vm with 3 disks on each domain
2. create a snapshot
3. put one domain in maintenance -> preview snaoshot
action will fail and eventually rollback
image will remain in webadmin as in preview
db snapshot table shows that the image is in status IN_PREVIEW
we should change image status in db once we rollback
Additional info:logs + screen shot
Created attachment 588868 [details]
Could not reproduce in si6, getting the following message:
" Cannot preview Snapshot. The relevant Storage Domain is inaccessible.
-Please handle Storage Domain issues and retry the operation."
Can you please recheck?
Fixed on si6
verified on si6