Red Hat Bugzilla – Bug 834021
ovirt-engine-backend: there is no validation on domain status when deleting snapshot
Last modified: 2016-02-10 11:31:05 EST
Description of problem:
in multiple domains we have no validation on domain status in backend and command is sent to vdsm.
this may cause races which will leave orphen objects on the domain.
please add validation on domain status for snapshots in backend.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create 2 domains
2. create vm with 2 disks on each of the domains and create snapshot
3. put domain in maintenance (not the master domain)
4. delete snapshot
delete snapshot will be sent to vdsm
we should validate domain status before sending command
Additional info: logs
Created attachment 593255 [details]
Actually u failed on canDoaction, but ttese validation was with sending request to vdsm
I changed an order from now a request to vdsm will be send at end.
verified on si7