Public bug reported:

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)

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug saucy uec-images

-- 
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/1214541

Title:
  hostname setting is erroring out

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1214541/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to