using lxd from ppa:ubuntu-lxc/lxd-stable on trusty is showing an issue that's new to me:
with this recent image:
ubuntu@rickross:~⟫ lxc image list
+--------+--------------+--------+--------------------------------------+--------+----------+-------------------------------+
| ALIAS | FINGERPRINT | PUBLIC | DESCRIPTION | ARCH | SIZE | UPLOAD DATE |
+--------+--------------+--------+--------------------------------------+--------+----------+-------------------------------+
| ubuntu | 1032903165a6 | no | Ubuntu 14.04 LTS server (20160114.5) | x86_64 | 118.21MB | Jan 27, 2016 at 11:00pm (UTC) |
+--------+--------------+--------+--------------------------------------+--------+----------+-------------------------------+
lxc init foo
and lxc start foo
bring up a working container, but cloud-init throws an error.
if you then lxc exec foo -- tail /var/log/cloud-init-output.log
, you get this:
Generation complete.
Cloud-init v. 0.7.5 running 'modules:final' at Thu, 28 Jan 2016 17:14:07 +0000. Up 6.0 seconds.
ci-info: no authorized ssh keys fingerprints found for user ubuntu.
2016-01-28 17:14:07,258 - 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
2016-01-28 17:14:07,278 - cc_keys_to_console.py[WARNING]: Writing keys to the system console failed!
2016-01-28 17:14:07,279 - util.py[WARNING]: Running keys-to-console (<module 'cloudinit.config.cc_keys_to_console' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_keys_to_console.pyc'>) failed
Cloud-init v. 0.7.5 finished at Thu, 28 Jan 2016 17:14:07 +0000. Datasource DataSourceNoCloudNet [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]. Up 6.0 seconds
more versions