unhandled exception returned to end user if hostname does not match with $HOSTNAME
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Low
|
Alex Schultz |
Bug Description
If a user attempts to setup a baremetal host and forgets to set the hostname via hostnamectl(see baremetal note under step 1 of http://
The exception should be caught and better messaging should be provided to the end user as to how to address this issue as it may not be obvious the solution in its current form.
[centos@undercloud ~]$ openstack undercloud install
WARNING: openstackclient
Password:
Logging to /home/centos/
Checking for a FQDN hostname...
Static hostname detected as undercloud.
Transient hostname detected as undercloud
Static hostname "undercloud.
Use hostnamectl to set matching hostnames.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
_validate_
File "/usr/lib/
_check_
File "/usr/lib/
raise RuntimeError(
RuntimeError: Static and transient hostnames do not match
Command 'instack-
[centos@undercloud ~]$
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → Low |
assignee: | nobody → Alex Schultz (alex-schultz) |
milestone: | none → ocata-1 |
Changed in tripleo: | |
milestone: | ocata-1 → newton-rc2 |
Fix proposed to branch: master /review. openstack. org/371802
Review: https:/