=== hatchetation_ is now known as hatchetation | ||
=== alexpilotti_ is now known as alexpilotti | ||
=== harlowja is now known as harlowja_away | ||
=== shardy_afk is now known as shardy | ||
harmw | smoser: 0.3.2 :) | 09:04 |
---|---|---|
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:10 |
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 | 09:11 |
smoser | harmw, fil injection or image modification for sure. | 13:46 |
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:48 |
smoser | and newer krenel gets magic fast online resize | 13:49 |
smoser | so i'd enable it by default. | 13:49 |
harmw | ah ok | 14:33 |
harmw | fair enough | 14:33 |
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:41 |
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:42 |
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:43 |
harmw | hyper-v | 14:44 |
harmw | yes, I noticed a bugreport on it | 14:44 |
harmw | but let's just do a 0.3.2 first, ok :) | 14:45 |
harmw | would cirros benefit from a tool to show more environment stats? hypervisor, ram, cpu and the likes? | 14:46 |
harmw | basically extending cirros-status | 14:47 |
=== harlowja_away is now known as harlowja | ||
harlowja | smoser anything u need from me releated to bug https://bugs.launchpad.net/cloud-init/+bug/1136343 ? | 18:08 |
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:10 |
harmw | smoser: any thought about my question earlier on? | 18:15 |
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:16 |
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:17 |
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:18 |
harmw | haha | 18:19 |
* harmw is by no means an expert | 18:19 | |
harlowja | more expert than me :-P | 18:19 |
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:07 |
harmw | I'm including that indeed | 20:08 |
harmw | TypeError: _read_hostname() takes at least 2 arguments (1 given) | 20:09 |
harmw | did I break that (freebsd, ofcourse) | 20:10 |
harlowja | did u do self._head_hostname? | 20:10 |
harlowja | self._read_hostname | 20:10 |
harmw | this is a new checkout from launchpad, I didn't touch thta part of the code | 20:11 |
harmw | lets dive in :) | 20:11 |
harmw | got it | 20:12 |
harmw | jeez | 20:12 |
harmw | http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/distros/freebsd.py#L85 | 20:13 |
harmw | the filename parameter is not supposed to be there | 20:14 |
harlowja | hmmm, that would do it :-P | 20:15 |
harmw | but sucks I didn't notice the error before | 20:16 |
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:23 |
harmw | harlowja: https://code.launchpad.net/~harmw/cloud-init/freebsd-static-networking | 20:36 |
harlowja | woot | 20:36 |
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:37 |
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:38 |
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 :) | 20:39 |
smoser | harlowja, what'd i break? | 21:15 |
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:17 |
smoser | hm.. | 21:22 |
smoser | fix? | 21:22 |
harmw | just undo the change on that line | 21:22 |
harmw | (dropping the filename argument) | 21:22 |
smoser | pylint cries | 21:25 |
harmw | ooooooh | 21:25 |
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:26 |
smoser | so maybe this: http://paste.ubuntu.com/7012683/ | 21:27 |
harmw | hm yea, I was thinking the same | 21:27 |
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:29 |
harmw | sure, gimme a sec | 21:32 |
harmw | smoser: works :) | 21:35 |
smoser | pushed | 21:40 |
harmw | harlowja: I've extended that netconfig test a little, how should I proceed? | 21:56 |
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 | 21:58 |
harmw | harlowja: its commited | 22:59 |
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 | 23:00 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!