/srv/irclogs.ubuntu.com/2014/07/10/#cloud-init.txt

=== ijw_ is now known as ijw
=== harlowja is now known as harlowja_away
=== evilissimo|afk is now known as evilissimo
=== praneshp_ is now known as praneshp
=== evilissimo is now known as evilissimo|afk
=== zz_gondoi is now known as gondoi
=== gondoi is now known as zz_gondoi
linuxgeek_hey cloud-init16:43
linuxgeek_i want to use the cloudinit feature, so as a first step i started reading cloudinit on the net16:44
linuxgeek_got useful info16:44
linuxgeek_i did a nova boot --flavor x --image xx --userdata /root/test.yaml testvm16:45
linuxgeek_the content of the test.yaml is copied from here http://cloudinit.readthedocs.org/en/latest/topics/examples.html#run-commands-on-first-boot16:46
linuxgeek_now i logged into the instance16:47
linuxgeek_and checked the /etc/hosts file16:47
linuxgeek_it has not echoed the line16:47
linuxgeek_any thoughts what i'm missing?16:48
JoshNanghey, does anyone have time to review a nova spec? we'd like to add a json description of the network interfaces to configdrive/metadata service to make it more flexible. https://review.openstack.org/#/c/85673/17:02
JoshNangour use case is baremetal servers (openstack ironic) with bonded interfaces and vlans over those bonds, and be able to support debian/centos/windows more easily. we're more than happy to write the patches to make cloud-init use the new json :)17:03
=== harlowja_away is now known as harlowja
harlowjaJoshNang i'll look it over17:25
harlowjalinuxgeek_ can u get the cloudinit log file, might have a reason why that didn't happen, /var/log/cloud-init.log (i think)17:26
harlowjaJoshNang on the cloudinit side, what did u think about using to write it in, https://fedorahosted.org/netcf/ ?17:26
harlowjaor other?17:26
harlowjaJoshNang any reason why not just to use that format that netcf takes as input?17:30
JoshNangharlowja: i figured we'd have to hand code a lot of it. netcf looks like it'd make life a lot easier, at least for fedora/centos/etc, and maybe we can pitch in to help with adding .deb backends 17:30
harlowjadamn irc client just crashed, JoshNang  what did i miss, think i missed a line 17:31
JoshNangharlowja: openstack in general seems to be trying to moving away from xml. i don't have a strong opinion either way17:32
JoshNangwhat you maybe missed: i figured we'd have to hand code a lot of it. netcf looks like it'd make life a lot easier, at least for fedora/centos/etc, and maybe we can pitch in to help with adding .deb backends17:32
harlowjahttps://git.fedorahosted.org/cgit/netcf.git/tree/src/drv_debian.c :)17:33
harlowjamight just already work17:33
harlowjaso convert the xml format to json and be done, lol17:34
harlowjaor yaml, or plaintext17:34
harlowjaha17:34
JoshNangheh if i have to write a json to netcf gen, i'm sure i can come up with something17:35
JoshNangplaintext could be fun :)17:35
linuxgeek_harlowja, i do not find cloudinit directory or clound-init.log. will this be present when the image has cloudinit installed?17:37
harlowjait should be, u should find a /etc/cloud/cloud.cfg that should have the config, if thats missing then that makes me wonder if cloudinit is installed at all17:38
harlowjaJoshNang anyway, thats just a nitpick, the format as long as its compatible would be great, then can just use netcf (which already seems to do most of what we want)17:38
harlowjaJoshNang when smoser  gets back i'm sure he'll have other inputs, he wants to fix some of the current brokenness that is this stuff17:39
JoshNangharlowja: sweet. i'll review their format and adjust as needed.17:39
JoshNangharlowja: sounds good! more input is always helpful17:40
harlowjaJoshNang u might be interested in https://bugs.launchpad.net/cloud-init/+bug/1153626 17:40
harlowjawhich is where i think smoser  wants to go (much more dynamic network config, apparently already done in ec2?)17:40
harlowjamaybe not for your spec, but something to think about17:41
linuxgeek_i'll upload a ubuntu cloud image since they have cloudinit installed. so the cloud-init.log should have info if its a success or a failure?17:44
harlowjalinuxgeek_ typically yes, if not u can adjust cloud.cfg log levels17:47
JoshNangharlowja: ooo interesting. i definitely want to see more dynamic network config in openstack (somewhat less useful in baremetal), so if this can help, ++17:52
harlowjaya, smoser  (i believe on vacation until nexst week?) will have lots to say about that17:52
harlowja^ the BDFL of cloudinit, ha17:52
harlowjai'm just BDFLjr :-P17:52
JoshNangahh :)18:02
=== zz_gondoi is now known as gondoi
=== gondoi is now known as zz_gondoi
=== zz_gondoi is now known as gondoi
=== harlowja is now known as harlowja_away
=== harlowja_away is now known as harlowja
=== gondoi is now known as zz_gondoi

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