=== 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 [16:43] hey cloud-init [16:44] i want to use the cloudinit feature, so as a first step i started reading cloudinit on the net [16:44] got useful info [16:45] i did a nova boot --flavor x --image xx --userdata /root/test.yaml testvm [16:46] the content of the test.yaml is copied from here http://cloudinit.readthedocs.org/en/latest/topics/examples.html#run-commands-on-first-boot [16:47] now i logged into the instance [16:47] and checked the /etc/hosts file [16:47] it has not echoed the line [16:48] any thoughts what i'm missing? [17:02] hey, 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:03] our 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 :) === harlowja_away is now known as harlowja [17:25] JoshNang i'll look it over [17:26] linuxgeek_ 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] JoshNang on the cloudinit side, what did u think about using to write it in, https://fedorahosted.org/netcf/ ? [17:26] or other? [17:30] JoshNang any reason why not just to use that format that netcf takes as input? [17:30] harlowja: 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:31] damn irc client just crashed, JoshNang what did i miss, think i missed a line [17:32] harlowja: openstack in general seems to be trying to moving away from xml. i don't have a strong opinion either way [17:32] what 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 backends [17:33] https://git.fedorahosted.org/cgit/netcf.git/tree/src/drv_debian.c :) [17:33] might just already work [17:34] so convert the xml format to json and be done, lol [17:34] or yaml, or plaintext [17:34] ha [17:35] heh if i have to write a json to netcf gen, i'm sure i can come up with something [17:35] plaintext could be fun :) [17:37] harlowja, i do not find cloudinit directory or clound-init.log. will this be present when the image has cloudinit installed? [17:38] it 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 all [17:38] JoshNang 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:39] JoshNang when smoser gets back i'm sure he'll have other inputs, he wants to fix some of the current brokenness that is this stuff [17:39] harlowja: sweet. i'll review their format and adjust as needed. [17:40] harlowja: sounds good! more input is always helpful [17:40] JoshNang u might be interested in https://bugs.launchpad.net/cloud-init/+bug/1153626 [17:40] which is where i think smoser wants to go (much more dynamic network config, apparently already done in ec2?) [17:41] maybe not for your spec, but something to think about [17:44] 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:47] linuxgeek_ typically yes, if not u can adjust cloud.cfg log levels [17:52] harlowja: 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] ya, smoser (i believe on vacation until nexst week?) will have lots to say about that [17:52] ^ the BDFL of cloudinit, ha [17:52] i'm just BDFLjr :-P [18:02] ahh :) === 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