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): si6 How reproducible: 100% 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 Actual results: delete snapshot will be sent to vdsm Expected results: we should validate domain status before sending command Additional info: logs
Created attachment 593255 [details] logs
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. http://gerrit.ovirt.org/#/c/5571/ Pushed
verified on si7