[01:13] <larsks> smoser: that patch totally fixed the problem (w/ growpart).
[03:26] <chucky_z> hm, is there a 'correct' way to shim/bootstrap the hostname function?  i'd prefer to run my own little diy python script to set the hostname, but have it called through cloud-init
[04:36] <larsks> chucky_z: you could use the write_file module to write the script to disk, and then run it via a runcmd. Or you could just deliver the script as your only user-data, making sure it starts with #!/usr/bin/python. Or you could bundle it up with a cloud-cfg file in a MIME archive and pass that as your user-data.
[13:30] <cpaelzer> smoser: just FYI - really slow progress due to sick wife/kids and many external DPDK calls today - but the mock stuff worked fine
[13:32] <smoser> :-(
[13:32] <smoser> cpaelzer, yeah, and feel free to re-organize code for easier testing.
[14:16] <smoser> larsks, https://launchpad.net/cloud-utils/trunk/0.28
[14:17] <larsks> smoser: thanks!
[14:17] <smoser> that was a long time coming. thank you for pushing
[17:08] <harlowja> smoser rharper i'm also going to fix python2.6 in https://code.launchpad.net/~harlowja/cloud-init/cloud-init-net-refactor/+merge/293957 so expecct a few more changes
[17:11]  * harlowja will also add a few more test cases to the net rendering pipeline
[17:44] <harlowja> since it appears that 0.7.x at some point lost 2.6 support :-/
[17:45] <harlowja> (and ya, i know some people still use rhel6)
[18:12] <chucky_z> what user does cloud-init run as?  is that defined in the cloud.cfg?
[18:13] <harlowja> root
[18:13] <chucky_z> hm, ok
[18:15] <chucky_z> i wrote a script to be run by runcmd, placed it into /etc/cloud/cloud.cfg.d/, but it doesn't appear to be doing anything (the script has no output, it's an alternate hostname setting)
[18:28] <harlowja> ya, probably not the right place to put it
[18:58] <chucky_z> hm, couldn't get the runcmd to do anything, but placing the actual script under /var/lib/cloud/scripts/per-boot/ worked. :)
[19:52] <smoser> chucky_z, thats the right place to put it.
[19:52] <smoser> (/var/lib...)
[19:52] <chucky_z> if I understand correctly, a `runcmd` should go under /etc/cloud/cloud.cfg.d/ though?
[19:56] <smoser> no.
[19:56] <smoser> you could put a file like:
[19:56] <smoser> /etc/cloud/cloud.cfg.d/my-runcommands.cfg
[19:56] <smoser> with
[19:56] <smoser> runcmd:
[19:57] <smoser>  - [sh, '-c', 'echo HI MOM']
[19:57] <smoser> but then if you provide user-data that has runcmd in it it will override that.
[20:40] <harlowja> smoser what can we do about not breaking py26 for 0.7.x
[20:40] <harlowja> pyserial seems to be dead on 26
[20:40] <harlowja> and various other things in cloudinit
[20:51] <smoser> hm.
[20:51] <harlowja> :-P
[20:51] <harlowja> i fixing a bunch
[20:51] <smoser> has it broken recently ?
[20:51] <harlowja> ya
[20:51] <smoser> :-(
[20:51] <harlowja> for a while i think, lol
[20:51] <harlowja> anything using pyserial not work, lol
[20:52] <smoser> well, anything using newer versions of pyserial.
[20:52] <smoser> right?
[20:52] <smoser> surely pyserial from rhel-of-years-ago works
[20:52] <harlowja> ya, i think 3.0+
[20:52] <harlowja> those seemed to remove py26
[20:55] <harlowja> would be nice to have even basic travis testing on cloudinit
[20:56] <harlowja> maybe i'll setup something that can at leaset run nightly
[20:59] <smoser> we do haev a system that we can run some c-i on
[20:59] <smoser> can you see https://server-team-jenkins.canonical.com/
[20:59] <smoser> i thin kthat is public
[20:59] <harlowja> no connecting
[20:59] <harlowja> :-P
[20:59] <smoser> hm..
[21:00] <smoser> my route there goes all internal.
[21:00] <smoser> :-(
[21:00] <smoser> yeah, we should really get something setup
[21:01] <harlowja> ya, i mean https://travis-ci.org/harlowja/cloud-init-1/ i can run if it will start up
[21:01] <harlowja> using https://github.com/harlowja/cloud-init-1/blob/master/.travis.yml
[21:01] <harlowja> which is the mirror of a mirror of bzr
[21:01] <harlowja> lol
[21:03] <harlowja> let's see if https://travis-ci.org/harlowja/cloud-init-1/builds/129542406 runs
[21:03] <harlowja> at least i can force that hourly or something
[21:03] <smoser> ok. so i want to get this going and get to git and such.
[21:03] <harlowja> ya
[21:03] <harlowja> how about that :-P
[21:03] <smoser> i have a few bugs that i'm working on that need to be fixed in xenial
[21:04] <smoser> so they're high priority
[21:04] <harlowja> k
[21:04] <harlowja> fixhttps://travis-ci.org/harlowja/cloud-init-1/jobs/129542407 is the pyserial junk
[21:04] <harlowja> * https://travis-ci.org/harlowja/cloud-init-1/jobs/129542407
[21:04] <smoser> and then after i get that in i want to look at the nwere datasource model thing that i started.
[21:04] <harlowja> after we fix 2.6
[21:04] <harlowja> lol
[21:04] <smoser> well, yeah
[21:05] <smoser> the big thing missing from datasources right now is the ability to find local information (such as a config drive)
[21:05] <smoser> but not be "processed" (and have '#include http://' from user-data rendered) before networking is up.
[21:05] <smoser> ie right now, for config drive you only get networking applied if your 'dsmode=local'
[21:05] <smoser> but if you are dsmode=local, then you cant use '#include http'...
[21:06] <harlowja> woot, https://travis-ci.org/harlowja/cloud-init-1/builds/129542406 worked
[21:06] <smoser> so. that needs badly fixing.
[21:06] <harlowja> except for 2.6
[21:06] <harlowja> pypy even works
[21:06] <harlowja> lol
[21:06] <smoser> i like the little baby penguins there
[21:06] <smoser> they're so cute
[21:06] <harlowja> :-p
[21:06]  * smoser has to go now
[21:06] <smoser> later.
[21:06] <harlowja> peace
[21:18] <rharper> harlowja: pypy? nice;  I was going to give that run, some folks on single-core arm have said "python is slow" and wanted to see what the speed-up might be using pypy
[21:18] <harlowja> well it runs at least, at passes tests
[21:19] <harlowja> https://code.launchpad.net/~harlowja/cloud-init/cloud-init-net-refactor/+merge/293957 that should fix all the py26 stuff also
[21:19] <harlowja> mainly http://bazaar.launchpad.net/~harlowja/cloud-init/cloud-init-net-refactor/revision/1229
[21:21] <harlowja> probably can be refined, but ya, at least it works now
[21:21] <harlowja> where works == passes tests
[21:21] <rharper> right
[21:21] <rharper> that's what I was going to test first; step one done =)
[21:21] <harlowja> :-P
[21:22] <rharper> heh, the pypy run was slower than the others
[21:24] <harlowja> cool, wel there is my cloudinit changes for the day, back to openstack-land
[21:28] <rharper> ta