Bug 1375921

Summary: Cannot add cinder storage to other DC than Default
Product: [oVirt] ovirt-engine Reporter: Petr Matyáš <pmatyas>
Component: BLL.StorageAssignee: Daniel Erez <derez>
Status: CLOSED NOTABUG QA Contact: Aharon Canan <acanan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: bugs, pmatyas
Target Milestone: ovirt-4.1.0-alphaFlags: amureini: ovirt-4.1?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-01 09:21:11 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:
Attachments:
Description Flags
screenshot
none
screenshot of external providers edit dialogue none

Description Petr Matyáš 2016-09-14 09:04:30 UTC
Created attachment 1200758 [details]
screenshot

Description of problem:
When adding cinder there is no option to choose DC, after it's added, even if I detach it from Default, I cannot add it to anything else than Default.

Version-Release number of selected component (if applicable):
ovirt-engine-4.1.0-0.0.master.20160911231338.gitbc33376.el7.centos.noarch

How reproducible:
always

Steps to Reproduce:
1. add cinder
2. try to change DC
3.

Actual results:
impossible

Expected results:
should be possible

Additional info:

Comment 1 Daniel Erez 2016-10-31 13:05:08 UTC
Hi Petr,

A few questions for further investigation:
* Attaching a Cinder storage domain requires a DC in status UP. Do you have another one available in the system?
* Can you please attach the engine logs?

Comment 2 Petr Matyáš 2016-11-01 08:46:06 UTC
Apparently the DC was not up (I though it was), I can add cinder to any DC and change it in cinder's DC subtab. But I'm still unable to change it in external providers edit dialogue.

Comment 3 Petr Matyáš 2016-11-01 08:47:41 UTC
Created attachment 1216008 [details]
screenshot of external providers edit dialogue

Comment 4 Daniel Erez 2016-11-01 09:02:43 UTC
(In reply to Petr Matyáš from comment #2)
> Apparently the DC was not up (I though it was), I can add cinder to any DC
> and change it in cinder's DC subtab. But I'm still unable to change it in
> external providers edit dialogue.

The DC text-box in edit dialogue is intentionally read-only. Attaching a Cinder domain is done using the regular storage domain attaching flow (to keep consistency and to follow the maintenance/deatch/attach flow). Does it work correctly from DC sub-tab?

Comment 5 Daniel Erez 2016-11-01 09:21:11 UTC
Closing per comment #2. Attaching/detaching a Cinder storage domain is only applicable using the normal flow as data storage domain (i.e. maintenance/deatch/attach/activate). Please re-open if not working from 'Storage->DCs' sub-tab or 'DCs->Storage' sub-tub.