/srv/irclogs.ubuntu.com/2017/01/27/#cloud-init.txt

aisraelI've recently started having issues with cloud-init on an ubuntu-trusty cloud image, on lxd. The cloud-init.log (http://paste.ubuntu.com/23873799/) seems to indicate the error is related to importer.py not being able to import the module 'ubuntu'. Any thoughts on how to fix this?08:39
aisraelAnd /usr/lib/python3/dist-packages/cloudinit/ doesn't exist in the image08:41
aisraelok, so trusty has cloudinit installed for python2.708:46
=== shardy_afk is now known as shardy
aisraelI think that lib is a non-issue. It gets properly imported later. It does seem like cloud-init isn't fully running, though09:01
aisraelthe config and final modules don't seem to be running. I'm running them manually and it's doing what I expect09:12
aisraelsmoser: ^ when you're in09:23
=== shardy is now known as shardy_lunch
=== shardy_lunch is now known as shardy
smoseraisrael, your log shows cloud-init init-local running14:37
smoseroh i see. hm.. config and final are not running there.14:38
smosersorry, read your ocomment wrong.14:38
smoseraisrael, possibly you do not have rsyslog ? or its not running ?14:46
smoseraisrael, fwiw, i just launched a bare container, and it ran fine.14:51
aisraelsmoser, Yeah, it works on another machine for me. Lemme check rsyslog16:31
aisraelsmoser, it's installed. Where cloud-init seems to stop is before starting the ssh service16:32
aisraelsmoser, launching trusty in lxd works as normal. doing a juju add-machine, the container comes up in lxd, gets an ip, but stops after that16:34
smoser/etc/init/cloud-config.conf16:37
smoser start on (filesystem and started rsyslog)16:37
smoserit seems like you're getting cloud-init's other jobs fine16:37
smoserso either filesystem or rsyslog would seem to be not getting reached16:38
aisraelinteresting! I'll start debugging from there. thanks, smoser16:42

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!