/srv/irclogs.ubuntu.com/2014/08/25/#cloud-init.txt

smoserharmw, merge proposal comments . see you tomorrow.03:01
harmwsmoser: thanks, I think/hope I understand the issues now :p07:19
=== zz_gondoi is now known as gondoi
=== devicenull_ is now known as devicenull
=== daxroc__ is now known as daxroc
vbernatHey!14:34
vbernatI am trying to boot a cloud-init-enabled Ubuntu image14:35
vbernatThe Precise one.14:35
vbernatI don't have a DHCP on the network, so I need to provide one in the meta-data14:35
vbernatI have an ISO image with /meta-data and /user-data14:35
vbernatbut it doesn't seem to be mounted14:35
vbernat[    1.087935] EXT4-fs (vda1): re-mounted. Opts: (null)14:35
vbernatcloud-init start-local running: Mon, 25 Aug 2014 14:27:15 +0000. up 3.40 seconds14:35
vbernatno instance data found in start-local14:35
vbernatmountall: Event failed14:35
vbernatcloud-init-nonet waiting 120 seconds for a network device.14:35
vbernatcloud-init-nonet gave up waiting for a network device.14:36
vbernat 14:36
vbernathow could I debug that?14:36
vbernatIt seems that the DataSourceNoCloud can only be found once we have network...14:37
smoservbernat, by default, even if it *did* find it... it would not "claim" it.14:54
smoseras the default operating mode for NoCloud is 'net'.14:54
vbernatsmoser: what's the easier way to change that?14:54
smoserbut then still the network insertion is < wonderful.14:55
smosercloud-init needs work to be able to take network information from a datasource and do that well.14:55
smoserthe easiest thing to do (sadly) is open the image and insert the /etc/network/interfaces file that you want.14:56
smoseror run a dhcp server. which... also seems sane to me :)14:56
vbernatsmoser: thanks, modifying the image is not that hard (guestfish)14:56
smoservbernat, if you trust the image, its easier than guestfish14:58
smoserhttp://ubuntu-smoser.blogspot.com/2014/08/mount-image-callback-easily-modify.html14:58
vbernatsmoser: looking at the source code more closely, if I put dsmode: local in meta-data, wouldn't that work?15:01
smosermaybe.15:05
smoserit is intended to work.15:05
vbernathummm, seems to work15:05
smoserbut cloud-init editing /etc/network/interfaces while the system is coming up is possibly not guaranteed.15:06
vbernatbut doesn't make the network up just after that15:06
smoserit could be racy essentially.15:06
vbernatyeah15:06
devicenullhmm, 16:26
devicenullI've been running into "WARNING! Your environment specifies an invalid locale."16:26
devicenulland it gives a couple invalid apt commands for fixing it16:26
devicenullnamely '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
JayFhey 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!