[09:04] <harmw> smoser: 0.3.2 :)
[09:10] <harmw> smoser: regarding r293 and r294, I can only use file injection or rebuilding cirros from source as a means to configuring the proper resizefs mode, right?
[09:11] <harmw> or I could use cmd execution (in this case: sed or just echo) in userdata, though that would probably come in to late for resizefs to occur on the current boot
[13:46] <smoser> harmw, fil injection or image modification for sure.
[13:48] <smoser> userdata will happen too late.
[13:48] <smoser> harmw, the plan would be for in 0.4 or something to have a newer kernel
[13:49] <smoser> and newer krenel gets magic fast online resize
[13:49] <smoser> so i'd enable it by default.
[14:33] <harmw> ah ok
[14:33] <harmw> fair enough
[14:41] <harmw> perhaps it'd be nice to have 2 prebuild images online, one with and one without resizefs 
[14:41] <harmw> since I'm to lazy to roll my own image :p
[14:41] <smoser> i really dont want to complicate things. its really easy to patch an image before upload.
[14:41] <smoser> well, actually for cirros its more difficult isnt it :)
[14:42] <smoser> i'm open to suggestions on it.
[14:42] <smoser> the newer kernel will magically make everythign wonderful.
[14:42] <smoser> (i'm actually not kidding, its up to 100x faster)
[14:42] <harmw> true, but I can imagine that'll take atleast a year :p
[14:42] <smoser> for online resize.
[14:43] <harmw> yea you've told that bfore, sounds promissing fo
[14:43] <smoser> well, yeah. i know. i suck. and the other thing i want in 0.4.0 would be some udev like thing (maybe 'mdev') which is theonly way i can reasonably support running on microsoft hypervisor (name eludes me now)
[14:44] <harmw> hyper-v
[14:44] <harmw> yes, I noticed a bugreport on it 
[14:45] <harmw> but let's just do a 0.3.2 first, ok :)
[14:46] <harmw> would cirros benefit from a tool to show more environment stats? hypervisor, ram, cpu and the likes?
[14:47] <harmw> basically extending cirros-status
[18:08] <harlowja> smoser anything u need from me releated to bug https://bugs.launchpad.net/cloud-init/+bug/1136343 ?
[18:10] <smoser> harlowja, nah. thats fix-released in cloud-init.
[18:10] <smoser> i made it public today
[18:10] <smoser> as juerg opened a dupe of it.
[18:10] <smoser> i have no intent of SRUing that to 12.04
[18:10] <harlowja> k
[18:15] <harmw> smoser: any thought about my question earlier on?
[18:16] <harlowja> harmw for the network settings writing question, http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/distros/freebsd.py#L220 
[18:16] <harlowja> probably something simple to write, i can even do, but not sure what the freebsd network format is :_P
[18:16] <harlowja> :-P 
[18:16] <harmw> it's just some stuff going into /etc/rc.conf
[18:17] <harmw> shouldn't be that hard, indeed
[18:17] <smoser> harlowja, sure. extending cirros-status would be fine. and useful i think.
[18:17] <harlowja> sounds good to me smoser 
[18:17] <harlowja> lol
[18:17] <harmw> lol
[18:17] <smoser> bah. harmw ^
[18:17] <smoser> harmw, yeah, definitely 0.3.2 is not including hyperv support.
[18:17] <smoser> or a 3.13 kernel :)
[18:18] <harmw> indee
[18:18] <harmw> harlowja: I guess I can look into the _write_network stuff later tonight
[18:18] <harlowja> sweet, if u want, i can try to figure it out also, but freebsd experts would probably do it quicker ;)
[18:19] <harmw> haha
[18:19]  * harmw is by no means an expert
[18:19] <harlowja> more expert than me :-P
[20:07] <harmw> harlowja: openstack doesn't put any network stuff in metadata, I have to use configdrive for that right?
[20:07] <harlowja> correct
[20:07] <harlowja> but u can just expect that its the format at http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/distros/net_util.py#L24
[20:07] <harlowja> if it isn't provided, then just don't write
[20:08] <harmw> I'm including that indeed
[20:09] <harmw> TypeError: _read_hostname() takes at least 2 arguments (1 given)
[20:10] <harmw> did I break that (freebsd, ofcourse)
[20:10] <harlowja> did u do self._head_hostname?
[20:10] <harlowja> self._read_hostname
[20:11] <harmw> this is a new checkout from launchpad, I didn't touch thta part of the code
[20:11] <harmw> lets dive in :)
[20:12] <harmw> got it
[20:12] <harmw> jeez
[20:13] <harmw> http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/distros/freebsd.py#L85
[20:14] <harmw> the filename parameter is not supposed to be there
[20:15] <harlowja> hmmm, that would do it :-P
[20:16] <harmw> but sucks I didn't notice the error before
[20:23] <harmw> AHA
[20:23] <harmw> http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/revision/927
[20:23] <harmw> smoser: you broke it :p
[20:36] <harmw> harlowja: https://code.launchpad.net/~harmw/cloud-init/freebsd-static-networking
[20:36] <harlowja> woot
[20:37] <harmw> I havent tested that just yet though
[20:37] <harmw> since I'm not using configdrive atm
[20:37] <harlowja> harmw should be easy to add a unittest that can verify what was written
[20:37] <harlowja> that 'simulates' input and the right output
[20:38] <harmw> yea 
[20:38] <harmw> could you write one? or should I do that?
[20:38] <harlowja> if only i know what the expected output should be ;)
[20:38] <harmw> (I dont know how laborintensive such a thing is)
[20:38] <harlowja> http://bazaar.launchpad.net/~harmw/cloud-init/freebsd-static-networking/view/head:/tests/unittests/test_distros/test_netconfig.py can probably be extended
[20:38] <harmw> ah ok
[20:38] <harlowja> def test_simple_write_ub(self): -> def test_simple_write_bsd(self):
[20:39] <harmw> Ill look into that, thanks :)
[20:39] <harlowja> np
[20:39] <harlowja> that'd be sweet, seanwbruno if u wouldn't mind looking that over when it arrives
[20:39] <harlowja> since u probably can verify all that stuffs :)
[21:15] <smoser> harlowja, what'd i break?
[21:17] <harmw> you introduced a parameter to a function, causing it to break once called (freebsd.py) :)
[21:17] <harmw> http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/distros/freebsd.py#L85
[21:22] <smoser> hm..
[21:22] <smoser> fix?
[21:22] <harmw> just undo the change on that line
[21:22] <harmw> (dropping the filename argument)
[21:25] <smoser> pylint cries
[21:25] <harmw> ooooooh
[21:26] <smoser> for not a good reason.
[21:26] <smoser> its odd. but since it is in the parent class and even declared an abstractmethod there
[21:26] <smoser> we shoudl have the same
[21:27] <smoser> so maybe this: http://paste.ubuntu.com/7012683/
[21:27] <harmw> hm yea, I was thinking the same
[21:29] <smoser> harmw, can you just verify that that fixses it really quick
[21:29] <smoser> and then i'll commmit
[21:29] <smoser> sorry for breaking
[21:32] <harmw> sure, gimme a sec
[21:35] <harmw> smoser: works :)
[21:40] <smoser> pushed
[21:56] <harmw> harlowja: I've extended that netconfig test a little, how should I proceed?
[21:58] <harlowja> harmw commit it and there u go ;)
[21:58] <harlowja> ?
[21:58] <harmw> oh, hm
[21:58] <harmw> I was expecting some of just running that test here, local
[22:59] <harmw> harlowja: its commited
[23:00] <harmw> I've pushed some other fixes in freebsd.py as wll
[23:00] <harlowja> ah, u should just be able to run nosetests and have it locally run