Bug 1752176

Summary: Validation of FQDNs fails with one valid hostname
Product: [oVirt] cockpit-ovirt Reporter: SATHEESARAN <sasundar>
Component: gluster-ansibleAssignee: Gobinda Das <godas>
Status: CLOSED DUPLICATE QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.13.6CC: bugs, dparth, godas, rhs-bugs, sabose
Target Milestone: ovirt-4.4.0   
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: 1752175 Environment:
Last Closed: 2020-01-20 07:26:42 UTC Type: ---
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: 1752175    

Description SATHEESARAN 2019-09-14 01:05:15 UTC
+++ This bug was initially created as a clone of Bug #1752175 +++

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 Gobinda Das 2020-01-20 07:26:42 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 ***