hostname setting is erroring out

Bug #1214541 reported by Ben Howard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
High
Unassigned

Bug Description

The hostname is not being set due to a error in subp()

2013-08-20 18:04:56,409 - DataSourceAzure.py[DEBUG]: pubhname: publishing hostname [phostname=ubuntu hostname=utl-0820-s1 policy=True interface=eth0]
2013-08-20 18:04:56,410 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2013-08-20 18:04:56,410 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2013-08-20 18:04:56,410 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2013-08-20 18:04:56,410 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2013-08-20 18:04:56,410 - util.py[DEBUG]: publishing hostname took 0.000 seconds(0.00)
2013-08-20 18:04:56,410 - DataSourceAzure.py[WARNING]: Failed publishing hostname: subp() got an unexpected keyword argument 'command'
2013-08-20 18:04:56,417 - util.py[WARNING]: handling set_hostname failed
2013-08-20 18:04:56,421 - util.py[DEBUG]: handling set_hostname failed
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cloudinit/sources/DataSourceAzure.py", line 122, in get_data
    mycfg['hostname_bounce'])
  File "/usr/lib/python2.7/dist-packages/cloudinit/sources/DataSourceAzure.py", line 177, in handle_set_hostname
    hostname_command=cfg['hostname_command'])
  File "/usr/lib/python2.7/dist-packages/cloudinit/sources/DataSourceAzure.py", line 213, in apply_hostname_bounce
    'env': env})
  File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line 1791, in log_time
    ret = func(*args, **kwargs)
TypeError: subp() got an unexpected keyword argument 'command'

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: cloud-init 0.7.3~bzr860-0ubuntu1
ProcVersionSignature: User Name 3.11.0-2.5-generic 3.11.0-rc5
Uname: Linux 3.11.0-2-generic x86_64
ApportVersion: 2.12.1-0ubuntu2
Architecture: amd64
Date: Tue Aug 20 19:07:35 2013
MarkForUpload: True
PackageArchitecture: all
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :
Scott Moser (smoser)
tags: added: cloud-images
removed: uec-images
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 0.7.3~bzr861-0ubuntu1

---------------
cloud-init (0.7.3~bzr861-0ubuntu1) saucy; urgency=low

  * New upstream snapshot.
    * fix publishing hostname on azure (LP: #1214541)
 -- Scott Moser <email address hidden> Tue, 20 Aug 2013 16:06:22 -0400

Changed in cloud-init (Ubuntu):
status: New → Fix Released
Mathew Hodson (mhodson)
Changed in cloud-init (Ubuntu):
importance: Undecided → High
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1214541

tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.