Bug 787641

Summary: oVirt - Core: Wrong error during template creation
Product: [Retired] oVirt Reporter: Daniel Paikov <dpaikov>
Component: ovirt-engine-coreAssignee: lpeer <lpeer>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acathrow, hateya, iheim, ykaul
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-30 22:51:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Daniel Paikov 2012-02-06 11:41:30 UTC
* Create template from VM on a different domain.
* Try to deactivate the target domain while template creation is still running.
* Error indicates that there are VMs running, even though no VMs are running.

Error: Cannot deactivate Storage. Running VMs were detected.<br/>-Please stop all running VMs associated with this Storage Domain first.

engine.log looks like this:
2012-02-06 13:37:37,584 WARN  [org.ovirt.engine.core.bll.storage.DeactivateStorageDomainCommand] (http--0.0.0.0-8080-11) CanDoAction of action DeactivateStorageDomain failed. Reasons:VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__DEACTIVATE,ACTION_TYPE_FAILED_DETECTED_RUNNING_VMS

Comment 1 Itamar Heim 2013-01-30 22:51:21 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.