I can reliably reproduce this issue via the following steps:
1) Create blah.py under nova/api/metadata/ with these contents:
from nova.api.metadata import base
class CustomVendordata(base.VendorDataDriver): def __init__(self, *args, **kwargs): super(BcpcMetadata, self).__init__(*args, **kwargs)
def get(self): return {"msg": "", "uuid": "4996e2b67d2941818646481453de1efe", "users": [{"username": "erhudy", "sshPublicKeys": [], "uuid": "erhudy"}], "name": "TestTenant"}
2) Configure Nova to use that class as the vendordata_driver in nova.conf:
[DEFAULT] vendordata_driver = nova.api.metadata.blah.CustomVendordata
3) Restart nova-api.
4) Launch an Ubuntu cloud instance on that hypervisor.
5) Experience cloud-init fury:
2015-07-22 15:30:56,075 - 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 ec2: ec2: ############################################################# ec2: -----BEGIN SSH HOST KEY FINGERPRINTS----- ec2: -----END SSH HOST KEY FINGERPRINTS----- ec2: ############################################################# -----BEGIN SSH HOST KEY KEYS----- -----END SSH HOST KEY KEYS-----
I can reliably reproduce this issue via the following steps:
1) Create blah.py under nova/api/metadata/ with these contents:
from nova.api.metadata import base
class CustomVendordat a(base. VendorDataDrive r):
super( BcpcMetadata, self)._ _init__ (*args, **kwargs)
def __init__(self, *args, **kwargs):
def get(self): 818646481453de1 efe", "users": [{"username": "erhudy", "sshPublicKeys": [], "uuid": "erhudy"}], "name": "TestTenant"}
return {"msg": "", "uuid": "4996e2b67d2941
2) Configure Nova to use that class as the vendordata_driver in nova.conf:
[DEFAULT] metadata. blah.CustomVend ordata
vendordata_driver = nova.api.
3) Restart nova-api.
4) Launch an Ubuntu cloud instance on that hypervisor.
5) Experience cloud-init fury:
2015-07-22 15:30:56,075 - 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 ####### ####### ####### ####### ####### ####### ####### ##### ####### ####### ####### ####### ####### ####### ####### #####
ec2:
ec2: #######
ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----
ec2: -----END SSH HOST KEY FINGERPRINTS-----
ec2: #######
-----BEGIN SSH HOST KEY KEYS-----
-----END SSH HOST KEY KEYS-----