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

Bug 1501470

Summary: Invalid ssh configuration is generated on compute nodes when hieradata is invalid
Product: Red Hat OpenStack Reporter: Ollie Walsh <owalsh>
Component: openstack-tripleo-heat-templatesAssignee: Ollie Walsh <owalsh>
Status: CLOSED WONTFIX QA Contact: Gurenko Alex <agurenko>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0 (Liberty)CC: agurenko, jjoyce, lyarwood, mbooth, mburns, ratailor, rhel-osp-director-maint
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1466879 Environment:
Last Closed: 2018-11-23 08:00:57 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: 1466879, 1501471, 1501472, 1501473    
Bug Blocks: 1464504, 1539769, 1539770    

Description Ollie Walsh 2017-10-12 15:35:22 UTC
+++ This bug was initially created as a clone of Bug #1466879 +++

Description of problem:
If either NovaLibvirtNetwork or NovaColdMigrationNetwork is missing from ServiceNetMap, IPs are missing from the hieradata, which results in an invalid sshd_config on compute nodes.

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-2.0.0-55.el7ost

How reproducible:
I could not reproduce but this.

Actual results:
SSH to compute nodes fails until the missing value are add and the stack is updated.

Expected results:
Validation should chatch the bad input and fail immediately instead of modified the sshd_config.

Additional info:
Forked from https://bugzilla.redhat.com/show_bug.cgi?id=1463680

Comment 1 Rajesh Tailor 2018-11-23 08:00:57 UTC
Closing this as it is already fixed in OSP10.

Since the customer case is also closed, and has a comment like below:
"Customer already has switched to pxe_ipmilan , so unless we don't come up with new requests from customers for fix in rhos9, we should be good with this fix in rhos10 only."