Bug 1248674

Summary: Wrong DC/Cluster is show in "New host" dialog
Product: [Retired] oVirt Reporter: Yevgeny Zaspitsky <yzaspits>
Component: ovirt-engine-webadminAssignee: Alexander Wels <awels>
Status: CLOSED CURRENTRELEASE QA Contact: Karolína Hajná <khajna>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.6CC: bugs, ecohen, gklein, khajna, lsurette, mgoldboi, oourfali, pstehlik, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: 3.6.0-12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 11:37:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yevgeny Zaspitsky 2015-07-30 14:57:25 UTC
Description of problem:
Same default DC/Cluser is being shown in the DC field of "New Host" dialog despite of selecting of a specific DC in the system tree.

Version-Release number of selected component (if applicable):
ovirt-engine 3.6 (master)

How reproducible:
100%

Steps to Reproduce:
1. Create multiple DCs
2. Select on of the DCs in the system tree panel
3. Select Hosts tab and click on "New Host"
4. Return on steps 2,3 for different DCs

Actual results:
For any DC selection in the system tree, the same default DC/Cluster being shown in the "New Host" dialog.
 
Expected results:
Once a DC is selected in the system tree the DC/Cluster field should show that and should be disabled for change.

Additional info:

Comment 1 Alexander Wels 2015-09-02 18:04:14 UTC
Due to the new combobox we can't disable it when selecting a data center. Since a datacenter can have multiple clusters, we need to allow the user to select the cluster (which is what the combo box does in essence). I have created a patch that filters the available clusters/datacenters to the selected one.

Comment 2 Karolína Hajná 2015-09-14 07:19:09 UTC
Verified on 3.6.0-12

Comment 3 Sandro Bonazzola 2015-11-04 11:37:24 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.