Created attachment 582409 [details] log Description of problem: trying to destroy an active SD will give the following error: Error: Cannot destroy Storage. Storage status is unknown. -Please check Storage Domain and retry the operation. please change error message to include other SD states also, we should be able to destroy the domain in unknown state. Version-Release number of selected component (if applicable): si3 How reproducible: 100% Steps to Reproduce: 1. try to destroy and active domain 2. 3. Actual results: we get an error that storage domain is unknown Expected results: we should include all states in the error Additional info: log 2012-05-06 11:26:17,306 WARN [org.ovirt.engine.core.bll.storage.ForceRemoveStorageDomainCommand] (ajp--0.0.0.0-8009-3) CanDoAction of action ForceRemoveStorageDomain failed. Reasons:VAR__ACTION__DESTROY_DOMAIN,VAR__TYPE__STORAGE__DOMAIN,ACTION_TYPE_FAILED_STORAGE_DOMAIN_STATUS_ILLEGAL2
http://gerrit.ovirt.org/5260
Commit b05469388b690b8beb93070bbe77738637aafa25
This BUG reproduced on RHEVM 3.1 - SI7 RHEV-M: rhevm-3.1.0-2.el6ev.noarch VDSM: vdsm-4.9.6-17.0.el6.x86_64 LIBVIRT: libvirt-0.9.10-21.el6.x86_64 QEMV & KVM: qemu-kvm-rhev-0.12.1.2-2.295.el6.x86_64
You don't get the correct status in the message?
Verified on RHEVM 3.1 - SI9.1 RHEV-M: rhevm-3.1.0-5.el6ev.noarch VDSM: vdsm-4.9.6-17.0.el6.x86_64 LIBVIRT: libvirt-0.9.10-21.el6.x86_64 QEMV & KVM: qemu-kvm-rhev-0.12.1.2-2.295.el6.x86_64
*** Bug 818192 has been marked as a duplicate of this bug. ***