Bug 1477650 - "openstack undercloud install" does not fail when undercloud.conf file is missing. This should fail immediately if the configuration file is not present.
Summary: "openstack undercloud install" does not fail when undercloud.conf file is mis...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: beta
: 12.0 (Pike)
Assignee: Alex Schultz
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On:
Blocks: 1489585
TreeView+ depends on / blocked
 
Reported: 2017-08-02 14:35 UTC by mlammon
Modified: 2018-02-05 19:10 UTC (History)
6 users (show)

Fixed In Version: instack-undercloud-7.2.1-0.20170821194210.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 21:48:30 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1709177 0 None None None 2017-08-07 20:36:29 UTC
OpenStack gerrit 491601 0 None None None 2017-08-23 14:46:31 UTC
RDO 8358 0 None None None 2017-08-09 18:15:30 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

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


Note You need to log in before you can comment on or make changes to this bug.