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

Bug 1404674

Summary: [engine-webadmin] 'Use Host' drop down is not highlighted when committing storage domain creation for a DC with no active hosts
Product: [oVirt] ovirt-engine Reporter: Elad <ebenahar>
Component: Frontend.WebAdminAssignee: Alexander Wels <awels>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: bugs, gshereme, jbelka, oourfali, tnisan
Target Milestone: ovirt-4.1.0-betaFlags: rule-engine: ovirt-4.1+
Target Release: 4.1.0.2   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-01 14:50:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot from webadmin
none
New Cluster modal none

Description Elad 2016-12-14 12:10:39 UTC
Created attachment 1231644 [details]
screenshot from webadmin

Description of problem:
Webadmin: In a DC with no active hosts, when trying to commit a storage domain creation, the 'Use Host' drop down field is not highlighted upon commit.

Version-Release number of selected component (if applicable):
ovirt-engine-4.1.0-0.2.master.20161210231201.git26a385e.el7.centos.noarch
ovirt-engine-webadmin-portal-4.1.0-0.2.master.20161210231201.git26a385e.el7.centos.noarch
ovirt-web-ui-0.1.0-4.el7.centos.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Try to create a storage domain in a DC with no active hosts


Actual results:
'Use Host' field is not highlighted

Expected results:
'Use Host' field should get highlighted if there are no active hosts in the DC


Additional info:
screenshot from webadmin

Comment 1 Benny Zlotnik 2016-12-14 16:13:14 UTC
Created attachment 1231789 [details]
New Cluster modal

Comment 2 Benny Zlotnik 2016-12-14 16:18:12 UTC
It appears that in the "New Cluster" window the CPU Type dropdown is being highlighted correctly as seen in the screenshot. The difference between the two dropdowns is that the one in the New Domain window is not using patternfly. But after being marked as invalid in StorageModel#validate the "Use Host" dropdown does get a "border-color: red" style attribute which cannot be seen for some reason without manually adding "border: 1px solid"

What would be the suggested course of action?

Comment 3 Greg Sheremeta 2016-12-15 16:34:37 UTC
I'm not sure why it's not working. Afaik, they both use the new PatternFly selects that Alexander implemented. I'd say this is a UX bug. Moving to Alexander.

Comment 4 Alexander Wels 2017-01-06 14:00:30 UTC
I updated the dialog to be bootstrap based layout which also fixed this issue (I did that anyway for something else, so happy coincidence).

Comment 5 Jiri Belka 2017-01-12 12:12:52 UTC
fail, ovirt-engine-webadmin-portal-4.1.0-0.4.master.20170111151514.git3d62579.el7.centos.noarch

host field does not have red border which would infor user for need to have a host in the DC

Comment 7 Lucie Leistnerova 2017-01-26 15:29:13 UTC
trying create storage with no host changes 'Host to Use' border and title to red

verified in ovirt-engine-webadmin-portal-4.1.0.2-0.1.el7.noarch