Bug 1065747
Summary: | [engine-backend] cannot set domain to maintenance in case there are only unplugged disks located on it | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Elad <ebenahar> | ||||
Component: | ovirt-engine-core | Assignee: | Allon Mureinik <amureini> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Aharon Canan <acanan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.4 | CC: | acathrow, amureini, dron, gklein, iheim, yeylon | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | 3.4.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | storage | ||||||
Fixed In Version: | ovirt-3.4.0-rc | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-03-31 12:23:54 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
*** This bug has been marked as a duplicate of bug 969770 *** *** Bug 969770 has been marked as a duplicate of this bug. *** This BZ should be fixed in oVirt 3.4.0 RC Verified using 3.4 av2 1. create a VM with 2 disk attached from 2 different domains and start it 2. deactivate the one of the disks 3. put the domain which the deactivate disk located on to maintenance this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released |
Created attachment 863752 [details] engine.log Description of problem: Engine won't allow to put storage domain to maintenance while having unplugged disks attached to running VMs. We get a CanDoAction failure: 2014-02-16 18:08:37,053 WARN [org.ovirt.engine.core.bll.storage.DeactivateStorageDomainCommand] (ajp--127.0.0.1-8702-5) [528f48a4] CanDoAction of action DeactivateStorageDomain failed. Reasons:VAR__TYPE__STORAGE_ _DOMAIN,VAR__ACTION__DEACTIVATE,ACTION_TYPE_FAILED_DETECTED_ACTIVE_VMS Version-Release number of selected component (if applicable): ovirt-engine-3.4.0-0.7.beta2.el6.noarch How reproducible: Always Steps to Reproduce: 1. create a VM with 2 disk attached from 2 different domains and start it 2. deactivate the one of the disks 3. put the domain which the deactivate disk located on to maintenance Actual results: Engine blocks the operation with CanDoAction failure even though there are no plugged disks attached to running VMs located on that domain Expected results: Engine should allow to put domain to maintenance while there are unplugged disks to running VMs located on it Additional info: engine.log