Bug 1272376
Summary: | Duplicate nova hypervisors after rebooting compute nodes | ||
---|---|---|---|
Product: | [Community] RDO | Reporter: | Marius Cornea <mcornea> |
Component: | rdo-manager | Assignee: | Hugh Brock <hbrock> |
Status: | CLOSED EOL | QA Contact: | Shai Revivo <srevivo> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | Liberty | CC: | chris.brown, jtrowbri, mburns, mfuruta |
Target Milestone: | --- | ||
Target Release: | Liberty | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-07-04 15:03:51 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Marius Cornea
2015-10-16 09:51:29 UTC
I believe during provisioning cloud init will set a transient hostname (the short one) and after reboot the static hostname in /etc/hostname will be used: [heat-admin@overcloud-novacompute-0 ~]$ curl http://169.254.169.254/2007-01-19/meta-data/public-hostname;echo overcloud-novacompute-0 [heat-admin@overcloud-novacompute-0 ~]$ cat /etc/hostname overcloud-novacompute-0.localdomain Not sure if this realtes to our setup but this behavior was described in this bug: https://bugs.launchpad.net/cloud-init/+bug/1246485 Ugh, yeah, this has been going on forever. The current fix is: http://blog.nemebean.com/content/prevent-cloud-init-changing-your-hostname-reboot which is namely: echo "preserve_hostname: true" > /etc/cloud/cloud.cfg.d/99_hostname.cfg on firstboot but I think this can be closed unless we want to make the above fix permanent? |