=== harlowja is now known as harlowja_away === helgi- is now known as helgi === shardy_afk is now known as shardy [16:04] i'm using the ubuntu cloud image (saucy) with cloud-init. for some reason, the cloud-init final module is not getting run on boot [16:05] an OpenStack Config Drive is my only data source, with a user-data file supplied that runs some commands [16:05] after boot, if i run "cloud-init modules --mode=final" from the command line, i see that those commands from user-data are executed [16:05] but for some reason, that's not happen automatically [16:06] it's like the upstart job /etc/init/cloud-final.conf never gets executed [16:07] slagle, you have 'upgrade' on ? [16:07] becausae it sounds like you're hitting [16:07] https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1124384 [16:08] smoser: can you elaborate? not sure what you mean? [16:08] * slagle looks [16:08] but that *should* be fixed. [16:08] ie, 'apt_upgrade' in config or something. [16:08] 2 things. [16:08] it sounds like you dont. [16:08] so i'm kind of confused as to what would be the issue here. [16:09] * smoser really wishes 'cloud-localds' supported configdrive output so i could easily test this locally. [16:11] i don't have apt_upgrade specified in /etc/cloud/cloud.cfg [16:11] slagle, woudl you be able to give me the config drive ? just to make this easier for me? [16:11] to try to reproduce ? [16:12] or just a tarball of the contents filtered for whatever you dont want to share is fine. [16:12] smoser: sure, let me upload it somewhere [16:24] smoser: https://s3.amazonaws.com/slagle-tripleo/openstack-config-drive.iso [16:26] i have cloud-init version 0.7.3-0ubuntu2 [16:27] i have this as well on the image, not sure if it's needed or not: [16:27] root@undercloud:/etc/cloud/cloud.cfg.d# cat /etc/cloud/cloud.cfg.d/90_dpkg.cfg [16:27] # to update this file, run dpkg-reconfigure cloud-init [16:27] datasource_list: [ ConfigDrive ] [16:28] thanks. i'll take a look. [17:32] slagle. using the latest 'release' image http://cloud-images.ubuntu.com/releases/saucy/release-20131215/ [17:32] i got your iso and booted in kvm with that attached. [17:33] user-data script does get executed, but fails due to lack of some state i'm guessing is on the machine [17:33] (ie, no /var/lib/heat-cfntools/cfn-init-data file) [17:33] fwiw, i always recommend [17:33] output: {all: '| tee -a /var/log/cloud-init-output.log'} [17:34] so that output of that runcommand would go into that file. [17:34] (in addition to the consoel) [17:36] smoser: hmm, ok, let me try that [17:40] slagle, i also patched the image before booting it like this [17:40] sudo mount-image-callback -v disk1.img -- sh -c './backdoor-image/backdoor-image --password=passw0rd $MOUNTPOINT && echo "output: {all: \"| tee -a /var/log/cloud-init-output.log\"}" >> $MOUNTPOINT/etc/cloud/cloud.cfg.d/output.cfg' [17:40] mount-image-callback is from cloud-utils, its simliar to guestfs-mount or something. [17:41] backdoor-image is lp:~smoser/+junk/backdoor-image (just a tool for inserting a user in) [17:43] heres cloud-init-output.log [17:43] http://paste.ubuntu.com/6595411/ [17:52] smoser: ok, it's working for me now too. i believe it was user error on my part [17:52] smoser: sorry for wasting time [17:53] i had an old /var/lib/cloud/seed directory that i think was throwing it off [17:57] slagle, yeah. it might hvae read that. you should see in /var/lib/cloud-init.log a message to that affect. [17:57] something like: [17:57] Dec 17 21:35:32 test1 [CLOUDINIT] util.py[DEBUG]: Cloud-init v. 0.7.5 finished at Tue, 1 [17:57] 7 Dec 2013 21:35:32 +0000. Datasource DataSourceNoCloudNet [seed=/var/lib/cloud/seed/noc [17:57] loud-net][dsmode=net]. Up 345444.06 seconds [17:57] without the bad line breakage === harlowja_away is now known as harlowja [18:21] harmw, around ? [18:23] harmw, i had 2 things for you. [18:23] a.) i just kicked off a cirros build that i hope to push as 0.3.2~pre2. [18:23] b.) questions about bsd cloud-init work [18:32] awwww i got a fan here 'grmbl i'm gonna purge cloud-init everywhere' [18:40] ? [18:44] kwadronaut don't do it! [18:44] ha [18:45] not much of a fan if said person wants to purge cloud-init [18:45] *anti-fan? [18:52] well, not my problem ;-) [18:53] it's more of a config problem of him, i presumed. [19:08] smoser: shoot [19:09] ah. good. [19:09] were you planning on doing any work on tha t? [19:10] i told harlow he could look at pulling it [19:10] fbsd? ofcourse [19:10] do you think its in a reasonable state to be at least somewhat useful at the moment ? [19:11] 'at least somewhat useful' pretty decent description :) [19:11] i pushed some changes some days ago [19:15] how nice, the mergerequest also shows all additional commits from the latest push [19:15] (im still fairly new to launchpad/bzr) [19:17] harlowja, so if you want to give that a review and ideally a quick spin, i'm happy to take it. especially with the promise of more maintenance there (loose promise) [19:17] ah, quick spin, thats gonna be harder :-P [19:17] * harlowja doesn't have freebsd on hand, haha [19:18] harlowja: you could use oz to create an image [19:18] harmw ya, there is a freebsd guy here that has an image [19:19] let me see if i can locate that [19:19] https://github.com/clalancette/oz/blob/master/oz/FreeBSD.py [19:19] hm, I should probably give that some love aswell sometime soon [19:20] ya, let me see if i can get the image, then i'll bug u about how to package this and get it into the image :-P [19:20] hehe [19:21] k, email sent, i downloaded the thing he produced once, just can't remember where it is now [19:21] ok [19:21] fbsd comes with all required dependencies, except jsonpatch [19:22] even boto? [19:23] * harlowja not sure how many dependencies he has in this image, will see [19:24] hmmm, then the question becomes at y! is do we want to allow people to use more freebsd, ha [19:24] certain projects are addicted to it [19:24] pkg install python27 py27-yaml py27-requests py27-prettytable py27-cheetah py27-boto dmidecode e2fsprogs gpart sudo [19:25] that does it, plus manually setup.py-ing jsonpatch [19:25] (hm, why did i put sudo in that list again..) [19:26] k [19:26] * harlowja so apparently his is close to stable/10 [19:27] yea [19:27] im still running my stuff on rc3, and just now noticed it's at rc2 already [19:27] hehe, i wonder if i can get the freebsd guy to do this work for me, lol [19:28] http://people.freebsd.org/~sbruno/ :-P [19:28] although i tried to get him to help with cloud-init before, don't think he ever got time [19:28] thats 'the other guy'? [19:28] ya [19:28] haha [19:28] nice [19:29] he's like a clone of bill murray (not kidding) [19:30] :) [19:30] reminds me of ghostbusters :) [19:31] ha [19:36] harlowja, we should ditch the boto i think. [19:36] and go back to crawling ourselves. [19:36] i like being fickle. [19:40] sweet, harmw smoser he is going to help me do this so 'Want me to do that in [19:40] a test image for you so it doesn't make you want to kill kittens?' [19:40] hahahaha [19:41] bruno is pretty funny and nice guy, ha [19:44] hehe [19:44] except for the slaughtering of cute little kittens. [19:45] harlowja: can he also give some pointers on where to go to have jsonpatch added in the repo? [19:45] and ofcourse cloud-init [19:45] harmw sure [19:45] the repo i am assuming being upstream freebsd ? [19:45] yes [19:46] k [19:46] my /usr/local/etc/pkg.conf: [19:46] PACKAGESITE : pkg+http://pkgbeta.freebsd.org/${ABI}/latest [19:47] k, gonna see if i can get him to jump on here [19:47] instead of josh-proxy, lol [19:48] thanks harlowja and harmw [19:48] any doc on this that can/should go into cloud-init would be great. [19:48] agreed [19:48] definately [19:48] speaking of which, some more docs inside cloud-init's code would be nice aswell :p [19:49] :) [19:49] booo [19:52] tears of happiness from smoser [19:52] lol [19:53] harmw lets see if bruno gets in here, then we can all bug him, haha [19:53] :) [19:54] *save the kittens! === ctracey|away is now known as ctracey === ctracey is now known as ctracey|away [22:13] harmw, ok. 0.3.2~pre2 is "officially" released. [22:14] nice job [22:14] yeah. pita. [22:14] i dont have much automation around the publishing. i had to re-figure out how i did a mirror to cloud files. [22:15] hmmm, where's bruno, arg [22:15] no tiny little deploy.sh? [22:15] i'd only done the push to clodu files once. [22:16] and the tools for signing and producing the simplestreams i'd not documented for myself either. [22:16] :)