Bug 1649490

Summary: Need to be clearer about accepting SSH host keys for both Gluster and ovirtmgmt interfaces
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: John Call <jcall>
Component: doc-Deploying_RHHIAssignee: Laura Bailey <lbailey>
Status: CLOSED CURRENTRELEASE QA Contact: Mugdha Soni <musoni>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhhiv-1.5CC: asriram, godas, rcyriac, rhs-bugs, sankarshan, sasundar
Target Milestone: ---Keywords: ZStream
Target Release: RHHI-V 1.5.z Async   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-20 04:46:18 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:    
Bug Blocks: 1663197    

Description John Call 2018-11-13 17:35:51 UTC
Description of problem:
Very bad things happen (indefinite hang / silent failure) when SSH host keys are not accepted for both Gluster and ovirtmgmt interfaces.  Specifically, we need cleanup Chapter 5.  One very long sentence that specifically mentions the "management" interface followed by a large "Important" block that contradicts the previous sentence is not good.

Version-Release number of selected component (if applicable):
RHHI 1.5 / RHV 4.2.7


Additional info:
https://access.redhat.com/documentation/en-us/red_hat_hyperconverged_infrastructure_for_virtualization/1.5/html-single/deploying_red_hat_hyperconverged_infrastructure_for_virtualization/#task-configure-key-based-ssh-auth

I suggest simplifying the chapter by just saying this:
" !!!Important!!!
RHHI for Virtualization requires key-based SSH authentication without a password.  Ensure that the first node has already logged into each of the machines, including itself.  Do this for ***all storage and management network interfaces.*** Check the contents of /root/.ssh/known_hosts to validate.

For example
[root@host1 ~]# cat /root/.ssh/known_hosts
### Management FQDNs ###
host1.example.com,192.168.0.101 ecdsa-sha2-nistp256 AAAA...
host2.example.com,192.168.0.102 ecdsa-sha2-nistp256 AAAA...
host3.example.com,192.168.0.103 ecdsa-sha2-nistp256 AAAA...

### Storage IPs ###
192.168.255.201 ecdsa-sha2-nistp256 AAAA...
192.168.255.202 ecdsa-sha2-nistp256 AAAA...
192.168.255.203 ecdsa-sha2-nistp256 AAAA...
"

Comment 1 John Call 2018-11-13 17:36:38 UTC
This is related to https://bugzilla.redhat.com/show_bug.cgi?id=1649485 [Installation hangs/fails late when SSH host keys are not in ~/.ssh/known_hosts]

Comment 9 Mugdha Soni 2019-01-29 08:31:16 UTC
The changes are made as per requirement and are clear in RHHI4V documentation.
Hence moving the bug to verified state.