Bug 857502 - Please add bugfix for LP:1050962 to provide sane ip-based hostnames to instances
Summary: Please add bugfix for LP:1050962 to provide sane ip-based hostnames to instances
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cloud-init
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Garrett Holmstrom
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-14 16:03 UTC by Andy Grimm
Modified: 2016-11-08 03:46 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-31 22:35:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andy Grimm 2012-09-14 16:03:17 UTC
Description of problem:

On a cloud which provides an IP address for "local-hostname" via it's metadata service, instances end up with a hostname of "i"

How reproducible:

Always

Steps to Reproduce:
1. launch an instance which uses cloud-init
2. login
3. note the hostname in the shell prompt.  :)
  
Actual results:
hostname is "i"

Expected results:
hostname should be of the form "ip-xx-xx-xx-xx"

Additional Info:
https://code.launchpad.net/~agrimm/cloud-init/lp1050962

Comment 1 Fedora Update System 2012-12-13 20:27:15 UTC
cloud-init-0.6.3-0.12.bzr532.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/cloud-init-0.6.3-0.12.bzr532.el6

Comment 2 Fedora Update System 2012-12-13 20:47:22 UTC
cloud-init-0.6.3-0.12.bzr532.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/cloud-init-0.6.3-0.12.bzr532.el5

Comment 3 Fedora Update System 2012-12-14 22:32:06 UTC
Package cloud-init-0.6.3-0.12.bzr532.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing cloud-init-0.6.3-0.12.bzr532.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-13774/cloud-init-0.6.3-0.12.bzr532.el6
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-12-31 22:35:29 UTC
cloud-init-0.6.3-0.12.bzr532.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2012-12-31 22:36:24 UTC
cloud-init-0.6.3-0.12.bzr532.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.