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