FailedValidation: Hostname is not fully qualified, fails undercloud install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Juan Antonio Osorio Robles |
Bug Description
2018-11-05 16:59:47 | 2018-11-05 16:59:47,196 INFO: Transient hostname detected as centos-
2018-11-05 16:59:47 | 2018-11-05 16:59:47,205 ERROR: Undercloud configuration validation failed: Hostname "centos-
2018-11-05 16:59:47 | 2018-11-05 16:59:47,205 DEBUG: An exception occurred
2018-11-05 16:59:47 | Traceback (most recent call last):
2018-11-05 16:59:47 | File "/usr/lib/
2018-11-05 16:59:47 | _validate_
2018-11-05 16:59:47 | File "/usr/lib/
2018-11-05 16:59:47 | _validate_network()
2018-11-05 16:59:47 | File "/usr/lib/
2018-11-05 16:59:47 | validator.
2018-11-05 16:59:47 | File "/usr/lib/
2018-11-05 16:59:47 | _validate_
2018-11-05 16:59:47 | File "/usr/lib/
2018-11-05 16:59:47 | error_callback(
2018-11-05 16:59:47 | File "/usr/lib/
2018-11-05 16:59:47 | raise validator.
2018-11-05 16:59:47 | FailedValidation: Hostname "centos-
2018-11-05 16:59:47 | 2018-11-05 16:59:47,207 ERROR:
2018-11-05 16:59:47 | #######
2018-11-05 16:59:47 | Undercloud install failed.
2018-11-05 16:59:47 |
Changed in tripleo: | |
assignee: | nobody → Juan Antonio Osorio Robles (juan-osorio-robles) |
Changed in tripleo: | |
status: | Triaged → In Progress |
promotion jobs are also affected:- /logs.rdoprojec t.org/openstack -periodic/ git.openstack. org/openstack- infra/tripleo- ci/master/ periodic- tripleo- centos- 7-master- containers- build/7c36e13/ logs/undercloud /home/zuul/ undercloud_ install. log.txt. gz /logs.rdoprojec t.org/openstack -periodic/ git.openstack. org/openstack- infra/tripleo- ci/master/ periodic- tripleo- centos- 7-rocky- containers- build/20fb789/ logs/undercloud /home/zuul/ undercloud_ install. log.txt. gz
https:/
https:/
This started happeing after:-https:/ /review. openstack. org/#/c/ 611601/ 2/roles/ extras- common/ defaults/ main.yml merged which started setting undercloud_ undercloud_ hostname fact as per http:// git.openstack. org/cgit/ openstack/ tripleo- quickstart- extras/ tree/roles/ undercloud- setup/tasks/ hostname. yml
This needs to be fixed also good to increase coverage in tq to avoid such failures in future.