Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1148417

Summary: Detach of local Storage Domain which is not master fails with the reason Storage Domain does not exists
Product: [Retired] oVirt Reporter: Maor <mlipchuk>
Component: ovirt-engine-webadminAssignee: Maor <mlipchuk>
Status: CLOSED CURRENTRELEASE QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5CC: acanan, ecohen, gklein, iheim, lsurette, mgoldboi, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:32:06 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:
Description Flags
engine log none

Description Maor 2014-10-01 12:28:09 UTC
Created attachment 943042 [details]
engine log

Description of problem:
Detach of local Storage Domain which is not master fails with the reason Storage Domain does not exists

2014-10-01 13:25:30,284 WARN  [org.ovirt.engine.core.bll.storage.RemoveStorageDomainCommand] (http--0.0.0.0-8080-1) [709f0a58] CanDoAction of action RemoveStorageDomain failed. Reasons:VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__REMOVE,ACTION
_TYPE_FAILED_STORAGE_DOMAIN_NOT_EXIST
Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Create local Data Center with Active host on it.
2. Add Storage Domain (Should be master)
3. Add another Storage Domain
4. Move the the second Storage Domain to maintenance
5. Try to detach the Storage Domain

Actual results:
A CDA message will pop up indicating that the Storage Domain does not exists

Expected results:
We should not fail on CDA and the storage domain should be removed

Additional info:
The problem is that the GUI transfer storage pool id instead of storage domain id

Comment 1 Sandro Bonazzola 2014-10-17 12:32:06 UTC
oVirt 3.5 has been released and should include the fix for this issue.