Quickstart reproducer fails if static and transient hostnames don't match

Bug #1769902 reported by Sagi (Sergey) Shnaidman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Sagi (Sergey) Shnaidman

Bug Description

After https://review.openstack.org/#/c/563562/ was merged, undercloud installation fails in reproducer of fs010 job.

2018-05-08 08:05:16 | + openstack undercloud install
2018-05-08 08:05:21 | 2018-05-08 08:05:21,805 INFO: Logging to /home/zuul/.instack/install-undercloud.log
2018-05-08 08:05:21 | 2018-05-08 08:05:21,856 INFO: Checking for a FQDN hostname...
2018-05-08 08:05:21 | 2018-05-08 08:05:21,943 INFO: Static hostname detected as localhost.localdomain
2018-05-08 08:05:21 | 2018-05-08 08:05:21,966 INFO: Transient hostname detected as dhcp-12-53-94.v101.rdoci.lab.eng.rdu.redhat.com
2018-05-08 08:05:21 | 2018-05-08 08:05:21,966 ERROR: Static hostname "localhost.localdomain" does not match transient hostname "dhcp-12-53-94.v101.rdoci.lab.<skip>".
2018-05-08 08:05:21 | 2018-05-08 08:05:21,967 ERROR: Use hostnamectl to set matching hostnames.
2018-05-08 08:05:21 | 2018-05-08 08:05:21,967 ERROR: An error occurred during configuration validation, please check your host configuration and try again. Error message: Static and transient hostnames do not match
2018-05-08 08:05:22 | Command '['instack-install-undercloud']' returned non-zero exit status 1

When host has different static and transient hostnames, undercloud install fails. Need to set hostname with hostnamectl in nodes provision.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

Fix proposed to branch: master
Review: https://review.openstack.org/566911

Changed in tripleo:
assignee: Sagi (Sergey) Shnaidman (sshnaidm) → Bogdan Dobrelya (bogdando)
status: Triaged → In Progress
Changed in tripleo:
assignee: Bogdan Dobrelya (bogdando) → Sagi (Sergey) Shnaidman (sshnaidm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.openstack.org/566911
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=9a8db045dace99f50aaf6e72c9921c153b3b1391
Submitter: Zuul
Branch: master

commit 9a8db045dace99f50aaf6e72c9921c153b3b1391
Author: Bogdan Dobrelya <email address hidden>
Date: Tue May 8 16:34:16 2018 +0200

    Manage hostnames in quickstart for instack UC

    Closes-bug: #1769902

    Change-Id: I2f6369e5c255df72062db11dafb33d37d9a40072
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-quickstart-extras 2.1.1

This issue was fixed in the openstack/tripleo-quickstart-extras 2.1.1 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.