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

Bug 1640423

Summary: User Input validation fails under "hosts" tab
Product: [oVirt] cockpit-ovirt Reporter: bipin <bshetty>
Component: GdeployAssignee: Gobinda Das <godas>
Status: CLOSED WONTFIX QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.11.29CC: bshetty, bugs, rhs-bugs, sabose, sankarshan, sasundar, srmukher
Target Milestone: ---Flags: sbonazzo: ovirt-4.3-
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1640157 Environment:
Last Closed: 2019-03-21 11:29:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1640157    

Description bipin 2018-10-18 03:10:16 UTC
+++ This bug was initially created as a clone of Bug #1640157 +++

Description of problem:
In Cockpit UI, validation of "Hosts" tab should be made mandatory.

How reproducible: Always


Steps to Reproduce:
1. After login to the Cockpit UI, click on Virtualization 
2. Click on "Hosted Engine" and click on "Start" underneath "Hyperconverged"
3. Click on "Run Gluster Wizard"
4. On the Gluster Deployment screen, if the Host1, Host2 and Host3 field is filled with values in the format <user>@<hostname> (e.g. root.eng.blr.redhat.com), warnings are expected.


Actual results:
It is moving ahead with just about any value and errors out at "Review" which should have given the user an warning before proceeding.

Expected results:
Input values of users are to be validated in "Hosts" Tab


Additional info:
Much like FQDNs is validated by the UI as they are being entered, the "Hosts" tab should do the same.

--- Additional comment from Red Hat Bugzilla Rules Engine on 2018-10-17 08:52:27 EDT ---

This bug is automatically being proposed for the current release of Red Hat Hyperconverged Infrastructure (RHHI) under active development, by setting the release flag 'rhhi‑2.0' to '?'. 

If this bug should be proposed for a different release, please manually change the proposed release flag.

--- Additional comment from bipin on 2018-10-17 23:08:57 EDT ---

To add some more clarity to the issue, when the host name in the 'Hosts' tab is given a value "root@<hostname>" , the bricks are successfully created in the gluster deployment via cockpit.

Comment 1 Sandro Bonazzola 2019-01-28 09:44:20 UTC
This bug has not been marked as blocker for oVirt 4.3.0.
Since we are releasing it tomorrow, January 29th, this bug has been re-targeted to 4.3.1.

Comment 2 Sahina Bose 2019-03-21 11:29:42 UTC
THere are validations added as part of gluster-ansible roles to validate FQDNs, we will not be adding any UI specific validations here