File size: 4,981 Bytes
4aa5fce |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
=== 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] <linuxgeek_> hey cloud-init [16:44] <linuxgeek_> i want to use the cloudinit feature, so as a first step i started reading cloudinit on the net [16:44] <linuxgeek_> got useful info [16:45] <linuxgeek_> i did a nova boot --flavor x --image xx --userdata /root/test.yaml testvm [16:46] <linuxgeek_> 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] <linuxgeek_> now i logged into the instance [16:47] <linuxgeek_> and checked the /etc/hosts file [16:47] <linuxgeek_> it has not echoed the line [16:48] <linuxgeek_> any thoughts what i'm missing? [17:02] <JoshNang> 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] <JoshNang> 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] <harlowja> JoshNang i'll look it over [17:26] <harlowja> 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] <harlowja> JoshNang on the cloudinit side, what did u think about using to write it in, https://fedorahosted.org/netcf/ ? [17:26] <harlowja> or other? [17:30] <harlowja> JoshNang any reason why not just to use that format that netcf takes as input? [17:30] <JoshNang> 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] <harlowja> damn irc client just crashed, JoshNang what did i miss, think i missed a line [17:32] <JoshNang> harlowja: openstack in general seems to be trying to moving away from xml. i don't have a strong opinion either way [17:32] <JoshNang> 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] <harlowja> https://git.fedorahosted.org/cgit/netcf.git/tree/src/drv_debian.c :) [17:33] <harlowja> might just already work [17:34] <harlowja> so convert the xml format to json and be done, lol [17:34] <harlowja> or yaml, or plaintext [17:34] <harlowja> ha [17:35] <JoshNang> heh if i have to write a json to netcf gen, i'm sure i can come up with something [17:35] <JoshNang> plaintext could be fun :) [17:37] <linuxgeek_> harlowja, i do not find cloudinit directory or clound-init.log. will this be present when the image has cloudinit installed? [17:38] <harlowja> 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] <harlowja> 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] <harlowja> 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] <JoshNang> harlowja: sweet. i'll review their format and adjust as needed. [17:40] <JoshNang> harlowja: sounds good! more input is always helpful [17:40] <harlowja> JoshNang u might be interested in https://bugs.launchpad.net/cloud-init/+bug/1153626 [17:40] <harlowja> which is where i think smoser wants to go (much more dynamic network config, apparently already done in ec2?) [17:41] <harlowja> maybe not for your spec, but something to think about [17:44] <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:47] <harlowja> linuxgeek_ typically yes, if not u can adjust cloud.cfg log levels [17:52] <JoshNang> 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] <harlowja> ya, smoser (i believe on vacation until nexst week?) will have lots to say about that [17:52] <harlowja> ^ the BDFL of cloudinit, ha [17:52] <harlowja> i'm just BDFLjr :-P [18:02] <JoshNang> 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 |