Bug 1477650

Summary: "openstack undercloud install" does not fail when undercloud.conf file is missing. This should fail immediately if the configuration file is not present.
Product: Red Hat OpenStack Reporter: mlammon
Component: instack-undercloudAssignee: Alex Schultz <aschultz>
Status: CLOSED ERRATA QA Contact: Arik Chernetsky <achernet>
Severity: medium Docs Contact:
Priority: medium    
Version: 12.0 (Pike)CC: aschultz, dbecker, mburns, morazi, rhel-osp-director-maint, tvignaud
Target Milestone: betaKeywords: Triaged
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: instack-undercloud-7.2.1-0.20170821194210.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 21:48:30 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:
Bug Depends On:    
Bug Blocks: 1489585    

Description mlammon 2017-08-02 14:35:28 UTC
Description of problem:
"openstack undercloud install" does not fail when undercloud.conf file is missing.
This should fail immediately if the configuration file is not present.

In addition, it should test the "local_interface" variable for its existence before continuing to allow the program to check.

Environment:
instack-6.0.1-0.20170706195330.ec102b1.el7ost.noarch
instack-undercloud-7.1.1-0.20170714211622.el7ost.noarch

How reproducible?
100%

Steps to Reproduce:
1. Install undercloud without undercloud.conf

2.
3.

Actual results:
It will fail about three minutes into the install and there are various erroneous errors. 

Expected results:
Error that configuration file is missing and quit immediately.

Additional info:

Comment 6 mlammon 2017-09-07 20:00:50 UTC
The verification of this bug has complete.  It will properly fail undercloud installation if the local_interface assignment is not valid.   However, it did kick out a traceback error.  A new RFE was filed to clean up tracebacks in future release.

[RFE] cleanup tracebacks: validation with local_interface existence within undercloud.conf file works but with tracebacks
https://bugzilla.redhat.com/show_bug.cgi?id=1489585

Comment 10 errata-xmlrpc 2017-12-13 21:48:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462