Description of problem: When attempting to detach an export domain that has locked disks the wrong error message is displayed Version-Release number of selected component (if applicable): RHEVM 3.3. How reproducible: 100% Steps to Reproduce: 1. Create a VM with multiple disks 2. Create an export domain 3. Export the VM to the export domain 4. While exporting (with the VM's disks locked), attempt to detach the export domain. Actual results: Detach fails with "Cannot detach a non empty Storage Domain. -Please remove all VMs / Templates / Disks and try again." Expected results: Error message should be "Cannot detach Storage Domain with locked disks {disks}", or something to that effect. Additional info:
The operation fails anyway, just with the wrong message - pushing out to 3.5.1
The message "Cannot detach a non empty Storage Domain. -Please remove all VMs / Templates / Disks and try again." was removed as part of the attach/detach storage domain feature, and is not a reason to block the detaching of ANY domain any more. Moving to QA to verify.
When trying to detach an export domain (put it to maintenance) while there are locked disks that are being exported to the export domain, the error that is thrown to user is: Operation Canceled Error while executing action: Cannot deactivate Data Domain while there are running tasks on this data domain. -Please wait until tasks will finish and try again. Verified using ovirt-3.5-RC1.1 ovirt-engine-3.5.0-0.0.master.20140821064931.gitb794d66.el6.noarch
oVirt 3.5 has been released and should include the fix for this issue.