aisrael | I'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 |
---|---|---|
aisrael | And /usr/lib/python3/dist-packages/cloudinit/ doesn't exist in the image | 08:41 |
aisrael | ok, so trusty has cloudinit installed for python2.7 | 08:46 |
=== shardy_afk is now known as shardy | ||
aisrael | I think that lib is a non-issue. It gets properly imported later. It does seem like cloud-init isn't fully running, though | 09:01 |
aisrael | the config and final modules don't seem to be running. I'm running them manually and it's doing what I expect | 09:12 |
aisrael | smoser: ^ when you're in | 09:23 |
=== shardy is now known as shardy_lunch | ||
=== shardy_lunch is now known as shardy | ||
smoser | aisrael, your log shows cloud-init init-local running | 14:37 |
smoser | oh i see. hm.. config and final are not running there. | 14:38 |
smoser | sorry, read your ocomment wrong. | 14:38 |
smoser | aisrael, possibly you do not have rsyslog ? or its not running ? | 14:46 |
smoser | aisrael, fwiw, i just launched a bare container, and it ran fine. | 14:51 |
aisrael | smoser, Yeah, it works on another machine for me. Lemme check rsyslog | 16:31 |
aisrael | smoser, it's installed. Where cloud-init seems to stop is before starting the ssh service | 16:32 |
aisrael | smoser, launching trusty in lxd works as normal. doing a juju add-machine, the container comes up in lxd, gets an ip, but stops after that | 16:34 |
smoser | /etc/init/cloud-config.conf | 16:37 |
smoser | start on (filesystem and started rsyslog) | 16:37 |
smoser | it seems like you're getting cloud-init's other jobs fine | 16:37 |
smoser | so either filesystem or rsyslog would seem to be not getting reached | 16:38 |
aisrael | interesting! I'll start debugging from there. thanks, smoser | 16:42 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!