yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #54937
[Bug 1383794] Re: [SRU] GCE datasource should use the short hostname
This is fixed in cloud-init 0.7.7.
** Changed in: cloud-init
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1383794
Title:
[SRU] GCE datasource should use the short hostname
Status in cloud-init:
Fix Released
Status in cloud-init package in Ubuntu:
Fix Released
Status in cloud-init source package in Precise:
Fix Released
Status in cloud-init source package in Trusty:
Fix Released
Status in cloud-init source package in Utopic:
Fix Released
Bug description:
[IMPACT] Since GCE FQDN are usually longer than 64-characters, several
hi-profile tools like Java and Hadoop may break.
[FIX] Per GCE's recommendation, Linux instances should use the short
hostname over the FQDN. This change sets the system hostname to the
short name.
[VERIFICATION]
1. Install new cloud-init from proposed
2. Re-run cloud-config:
* 14.04/14.10: cloud-init single -n set_hostname --frequency=always
* 12.04: cloud-init-cfg set_hostname always
3. Check to make sure that the short name is used for /etc/hostname
[RISK] This is a very low risk change. The actual change is a single
line, and has test cases for 14.04 and 14.10. Further, since this
change is only in the GCE datasource, it only affects GCE instances.
[ORIGINAL REPORT]
The GCE datasource uses the long hostname. Hostnames longer than 64 characters can break several tools.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1383794/+subscriptions