** Description changed: - The GCE datasource uses the long hostname. Hostnames longer than 64 - characters can break several tools. + [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: + 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.
** Description changed: [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: + * 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. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1383794 Title: [SRU] GCE datasource should use the short hostname To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1383794/+subscriptions -- Ubuntu-server-bugs mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
