undercloud install does not exit with a return code of 1 when an error occurs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Alex Schultz |
Bug Description
We're not properly returning 1 when a failure occurs.
[centos@undercloud ~]$ openstack undercloud install
2017-02-22 22:01:00,220 INFO: Logging to /home/centos/
2017-02-22 22:01:00,243 INFO: Checking for a FQDN hostname...
2017-02-22 22:01:00,293 INFO: Static hostname detected as undercloud.
2017-02-22 22:01:00,314 INFO: Transient hostname detected as undercloud.
2017-02-22 22:01:00,317 ERROR: Undercloud configuration validation failed: undercloud_
2017-02-22 22:01:00,317 ERROR:
#######
Undercloud install failed.
Reason: undercloud_
See the previous output for details about what went wrong. The full install
log can be found at /home/centos/
#######
[centos@undercloud ~]$ echo $?
0
tags: | added: ocata-backport-potential |
Fix proposed to branch: master /review. openstack. org/437172
Review: https:/