yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #29147
[Bug 1383794] Re: [SRU] GCE datasource should use the short hostname
This bug was fixed in the package cloud-init - 0.7.5-0ubuntu1.4
---------------
cloud-init (0.7.5-0ubuntu1.4) trusty; urgency=medium
[ Ben Howard ]
* d/patches/lp-1383794-gce-short_name.patch: Use short hostname for GCE
(LP: #1383794).
[ Wayne Witzel III ]
* d/patches/lp-1404311-gce-data_encoding.patch: Enable user-data encoding
support for GCE (LP: #1404311).
[ Daniel Watkins ]
* d/patches/lp-1422919-azure-g5_ephemeral.patch: Properly format G5 series
cloud instances (LP: #1422919).
-- Ben Howard <ben.howard@xxxxxxxxxx> Tue, 17 Feb 2015 14:56:16 -0700
** Changed in: cloud-init (Ubuntu Trusty)
Status: Fix Committed => Fix Released
** Changed in: cloud-init (Ubuntu Precise)
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 Init scripts for use on cloud images:
Fix Committed
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