[Bug 1073204] [NEW] ssh-authkey-fingerprints fails on boot
Neil Wilson
neil at aldur.co.uk
Tue Oct 30 15:29:39 UTC 2012
Public bug reported:
I'm getting a failure in cloud-init on boot
Oct 30 14:34:45 srv-2dg76 [CLOUDINIT] util.py[WARNING]: Running ssh-authkey-fingerprints (<module 'cloudinit.config.cc_ssh_authkey_fingerprints' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_ssh_authkey_fingerprints.pyc'>) failed
Oct 30 14:34:45 srv-2dg76 [CLOUDINIT] util.py[DEBUG]: Running ssh-authkey-fingerprints (<module 'cloudinit.config.cc_ssh_authkey_fingerprints' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_ssh_authkey_fingerprints.pyc'>) failed#012Traceback (most recent call last):#012 File "/usr/lib/python2.7/dist-packages/cloudinit/stages.py", line 531, in _run_modules#012 cc.run(run_name, mod.handle, func_args, freq=freq)#012 File "/usr/lib/python2.7/dist-packages/cloudinit/cloud.py", line 63, in run#012 return self._runners.run(name, functor, args, freq, clear_on_fail)#012 File "/usr/lib/python2.7/dist-packages/cloudinit/helpers.py", line 178, in run#012 results = functor(*args)#012 File "/usr/lib/python2.7/dist-packages/cloudinit/config/cc_ssh_authkey_fingerprints.py", line 105, in handle#012 auth_key_entries, hash_meth)#012 File "/usr/lib/python2.7/dist-packages/cloudinit/config/cc_ssh_authkey_fingerprints.py", line 83, in _pprint_key_entries#012 max_len = len(max(authtbl_lines, key=len))#012ValueError: max() arg is an empty sequence
which causes a dmesg log
[ 30.965377] init: cloud-final main process (1098) terminated with
status 1
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: cloud-init 0.7.0-0ubuntu2
ProcVersionSignature: User Name 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Tue Oct 30 15:25:45 2012
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 quantal 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/1073204
Title:
ssh-authkey-fingerprints fails on boot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1073204/+subscriptions
More information about the Ubuntu-server-bugs
mailing list