Comment 22 for bug 475354

Revision history for this message
chris grzegorczyk (chris-grze) wrote : Re: [Bug 475354] Re: Hostname not set correctly on UEC cloud due to IP address in local-hostname manifest data (DNS)

A fix (note status change to "In Progress") is in QA. Merge later tonight.

On Thu, Feb 4, 2010 at 4:33 PM, Scott Moser <email address hidden> wrote:
> this is fixed with the 'ip-uuu.xxx.yyy.zzz' solution that Boris
> suggested.  (ec2-init was renamed to cloud-init)
>
> ** Package changed: ec2-init (Ubuntu Lucid) => cloud-init (Ubuntu Lucid)
>
> --
> Hostname not set correctly on UEC cloud due to IP address in local-hostname manifest data (DNS)
> https://bugs.launchpad.net/bugs/475354
> You received this bug notification because you are a bug assignee.
>
> Status in Eucalyptus: In Progress
> Status in “cloud-init” package in Ubuntu: Triaged
> Status in “eucalyptus” package in Ubuntu: Triaged
> Status in “cloud-init” source package in Lucid: Triaged
> Status in “eucalyptus” source package in Lucid: Triaged
>
> Bug description:
> UEC images use the local-hostname setting of the manifest data to set the hostname. On Eucalyptus that appears to be set to the local ip address - which doesn't work properly as the hostname obviously stops at the first period it sees.
>
> Hence you have a lot of machines starting up with hostname '172'...
>
> Additionally /etc/hostname isn't altered by the ec2-init processes.
>
> The default hostname in the manifest data should probably be a combination of the availability zone name (clusterid) and the local/public ip address as appropriate.
>
> so local-hostname should be for example: isp-lab-172-19-1-30 and public-hostname should be isp-lab-10-99-67-9
>
> ProblemType: Bug
> .etc.eucalyptus.eucalyptus.cc.conf: CC_NAME="isp-lab"
> Architecture: amd64
> Date: Thu Nov  5 11:25:12 2009
> DistroRelease: Ubuntu 9.10
> Package: eucalyptus-cc 1.6~bzr931-0ubuntu7
> ProcEnviron:
>  LANG=en_GB.UTF-8
>  SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-14.48-server
> SourcePackage: eucalyptus
> Uname: Linux 2.6.31-14-server x86_64
>
>
>

--
Chris Grzegorczyk
Co-Founder and Engineer
Eucalyptus Systems, Inc.

130 Castilian St. | Goleta, CA | 93117
Office: 805-968-1400 x e^1 | Cell: 805-807-8237
Email: <email address hidden>
www.eucalyptus.com
________________________________________