Bug 1752175

Summary: Validation of FQDNs fails with one valid hostname
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: rhhiAssignee: Gobinda Das <godas>
Status: CLOSED DUPLICATE QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.4CC: godas, rhs-bugs, sabose
Target Milestone: ---   
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:
: 1752176 (view as bug list) Environment:
Last Closed: 2020-01-20 07:27:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1752176, 1762800    
Bug Blocks:    

Description SATHEESARAN 2019-09-14 01:03:44 UTC
Description of problem:
-----------------------
'Additional Hosts' tab at the deployment wizard does 2 checks:
1. FQDN is reachable
2. FQDN is available in known_hosts file

Only when the above 2 conditions are met, it proceeds to the next tab.
But when one valid/legitimate FQDN is provided, along with the illegal FQDN ( either non-reachable or not-in-known_hosts-file, then proceeding to the next tab is no longer dis-allowed


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
cockpit-ovirt-dashboard-0.13.6

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Start with the deployment and reach the second tab 'Additional Hosts'
2. Provide one valid FQDN ( FQDN is reachable and exists in known_hosts file )
3. Provide a illegal FQDN ( FQDN not reachable )
4. Click on 'Next'

Actual results:
---------------
The flow proceeds to the next tab

Expected results:
-----------------
The flow should not proceed to next tab, unless the values in additional hosts are legal

Comment 1 Yaniv Kaul 2019-11-18 08:29:00 UTC
Gobinda, what's holding us from fixing this?

Comment 2 Gobinda Das 2019-11-19 09:38:28 UTC
Posted patch.

Comment 3 Gobinda Das 2020-01-20 07:27:45 UTC
Closing this as fix will be taken care in https://bugzilla.redhat.com/show_bug.cgi?id=1762800

*** This bug has been marked as a duplicate of bug 1762800 ***