smoser | harmw, merge proposal comments . see you tomorrow. | 03:01 |
---|---|---|
harmw | smoser: thanks, I think/hope I understand the issues now :p | 07:19 |
=== zz_gondoi is now known as gondoi | ||
=== devicenull_ is now known as devicenull | ||
=== daxroc__ is now known as daxroc | ||
vbernat | Hey! | 14:34 |
vbernat | I am trying to boot a cloud-init-enabled Ubuntu image | 14:35 |
vbernat | The Precise one. | 14:35 |
vbernat | I don't have a DHCP on the network, so I need to provide one in the meta-data | 14:35 |
vbernat | I have an ISO image with /meta-data and /user-data | 14:35 |
vbernat | but it doesn't seem to be mounted | 14:35 |
vbernat | [ 1.087935] EXT4-fs (vda1): re-mounted. Opts: (null) | 14:35 |
vbernat | cloud-init start-local running: Mon, 25 Aug 2014 14:27:15 +0000. up 3.40 seconds | 14:35 |
vbernat | no instance data found in start-local | 14:35 |
vbernat | mountall: Event failed | 14:35 |
vbernat | cloud-init-nonet waiting 120 seconds for a network device. | 14:35 |
vbernat | cloud-init-nonet gave up waiting for a network device. | 14:36 |
vbernat | 14:36 | |
vbernat | how could I debug that? | 14:36 |
vbernat | It seems that the DataSourceNoCloud can only be found once we have network... | 14:37 |
smoser | vbernat, by default, even if it *did* find it... it would not "claim" it. | 14:54 |
smoser | as the default operating mode for NoCloud is 'net'. | 14:54 |
vbernat | smoser: what's the easier way to change that? | 14:54 |
smoser | but then still the network insertion is < wonderful. | 14:55 |
smoser | cloud-init needs work to be able to take network information from a datasource and do that well. | 14:55 |
smoser | the easiest thing to do (sadly) is open the image and insert the /etc/network/interfaces file that you want. | 14:56 |
smoser | or run a dhcp server. which... also seems sane to me :) | 14:56 |
vbernat | smoser: thanks, modifying the image is not that hard (guestfish) | 14:56 |
smoser | vbernat, if you trust the image, its easier than guestfish | 14:58 |
smoser | http://ubuntu-smoser.blogspot.com/2014/08/mount-image-callback-easily-modify.html | 14:58 |
vbernat | smoser: looking at the source code more closely, if I put dsmode: local in meta-data, wouldn't that work? | 15:01 |
smoser | maybe. | 15:05 |
smoser | it is intended to work. | 15:05 |
vbernat | hummm, seems to work | 15:05 |
smoser | but cloud-init editing /etc/network/interfaces while the system is coming up is possibly not guaranteed. | 15:06 |
vbernat | but doesn't make the network up just after that | 15:06 |
smoser | it could be racy essentially. | 15:06 |
vbernat | yeah | 15:06 |
devicenull | hmm, | 16:26 |
devicenull | I've been running into "WARNING! Your environment specifies an invalid locale." | 16:26 |
devicenull | and it gives a couple invalid apt commands for fixing it | 16:26 |
devicenull | namely 'sudo apt-get install language-pack-en' | 16:26 |
=== mgagne_ is now known as mgagne | ||
=== harmw_ is now known as harmw | ||
=== mwhudson_ is now known as mwhudson | ||
JayF | hey smoser :) I work with pquerna and will be working to upstream some of that work. I'm going to start off with bumping the version of openstack configdrive that cloud-init reads (so it gets the newer-enough version to see vendor_data.json) | 21:42 |
=== gondoi is now known as zz_gondoi |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!