/srv/irclogs.ubuntu.com/2014/03/14/#cloud-init.txt

=== harlowja is now known as harlowja_away
smoserharmw_, around ?14:51
smoserhm.. harmw_ someone is asking for respecting mtu returned in dhcp.15:00
smoseri wish i'd have fixed it better with your staticroutes fix15:00
smoserso that we weren't hard coding that in a binary15:01
smoserbut instead wrapping a udch call or something15:01
=== harlowja_away is now known as harlowja
harmw_smoser: hr18:19
=== harmw_ is now known as harmw
smoserhey.18:20
smoseri wish i'd just wrapped udchpc18:20
smoserso that i didn't have re-build in order to change the options that it is called with on ifup18:21
smoserthat just seems silly18:21
harmwah18:21
harmwrebuilding a cirros image to chang a udhcpclint thingy, right18:21
harmwwould be silly inded18:21
harmwis tht someone asking on lp?18:23
* harmw likes some place to read the whole story :)18:23
harmwbtw, Ive been trying to get me a new cirros image with updated kernel+mdev+hypervdrivers but after booting in hyperv it apparently forgot the initrd - while booting in qemu-kvm just goes without problems18:24
smoseryeah, ubuntu kernel will work fine in qemu-kvm with built in drivers.18:30
smosernot asking in launchpad, no.18:31
smoserthey were just setting the mtu on a network and sending that in dhcp18:31
smoserand cirros wasn't oblighing18:31
smoserobliging18:31
harmwso cirros should just apply whatever DHCP options are inside the dhcp<whatsitcalled>18:32
smoseryeah.18:33
harmwsounds like a cool feature18:33
harmwfor 0.4 or somthing :p18:33
smoseri'm not really sure how udchp does it.18:33
smoserie, udhcp is calling that ifupdown script18:33
harmwnah, its calling the default.script18:33
smoserand must be putting into environment varaibles names of the reponses.18:33
harmwfrom /usr/something18:33
smoseryeah. thats what i meant.18:34
smoserifupdown -> udchp -> default.script18:34
harmwyep18:34
harmwhttp://git.busybox.net/busybox/tree/networking/udhcp/README.udhcpc?h=1_1_stable&id=179f41778880d0a233435f5c9ed04e17316f479a#n6818:36
harmwwe can hack default.script to just apply whatever is set, in a reasonable way18:37
smoserhm..18:37
smoserso why the change we made for '-O' 18:37
harmwwell, not just everything ofc18:37
harmw-O made it get these extras in the first place18:37
smoserhttp://paste.ubuntu.com/7091665/18:37
smoserso we have to one by one ask for things ?18:38
smoser[annoying]18:38
harmw-O,--request-option OPTRequest option OPT from server (cumulative)18:38
harmwthats annoying, yes18:39
harmwill create a bug on LP first18:39
harmwfor future reference18:39
harmwsince I take it you're not diving in on this one right now :)18:39
smoserright.18:45
smoserdid you try my last suggestion on that iamroot thing?18:45
harmwuhm18:46
smoserhttp://paste.ubuntu.com/7091714/18:46
harmwhm, guess I missed that :|18:46
harmwsry, let me check18:46
harmwgreat, that works smoser 18:48
smoserok. i'm going to commit it then.18:48
harmwI've did a simple test with just those 2 functions18:48
harmwiamroot and asroot18:48
harmwits using sudo whn it should18:49
harmwso, ok18:49
harmwnice18:49
harmwsmoser: please hold on the cirros-status merge18:52
smoser?18:53
harmwgrep DMI /var/log/messages gives no luck on HyperV18:53
harmwwhile dmesg|grep DMI does18:53
smoserreally.18:57
harmwyup18:57
smoserthe benefit of /var/log/messages would be that its permenant18:57
smoserdmesg is a circular buffer18:57
harmwindeed18:57
harmwthough I wonder on how much is changed for dmesg, and how mch that would matter18:58
smoseri honestly dont even know how /var/log/messages is written :)18:58
smoserpretty much anything that "just worked" with buildroot i did not bother figuring out.18:58
harmwisn't syslog just doing that?18:59
harmwhm, now my qemu vm has no /etc/mdev.conf while the hyperv vm does19:00
harmwshouldnt I apply http://paste.ubuntu.com/7091714/ on my branch btw? then change this dmesg thingy and then you can just merge, right?19:01
smoseris that right? does your branch have nothing else?19:02
smoserif so, yeah, go for it.19:02
smoseryour hyperv you re-built cirros19:03
smoseri thought19:03
harmwuhu, new kernel as well19:03
smoserright. well that'd be where mdev.conf came from silly19:03
smoseroh. odd. its built in.19:03
harmwi have the same disk.img loaded in qemu19:04
smoserodd19:15
harmwhttp://bazaar.launchpad.net/~harmw/cirros/cirros-sysinfo/changes19:17
harmwdoesn't look like unwanted changes in there :)19:18
harmwhttps://code.launchpad.net/~harmw/cirros/cirros-sysinfo/+merge/20932219:19
smoserk. 19:19
smosergracias19:19
smoserharmw, merged. and pushed. thankm you.19:25
harmwnice, thanks19:27
harmwhm, LP didn't mail me about any merge19:34
harmwsmoser: any reason why console logs are disabled on tty0 from end of kernel boot until login prompt?19:46
harmw(its logged to file though)19:47
smoseryes.19:48
smoser:)19:48
smoserbecause there is no easy way to dot hat.19:48
smoserkernel messages go to each target of 'console=' on the cmdline.19:49
harmwindeed19:49
smoserbut init's output (and any process it spawns) can only go to one place19:49
harmwhm yes19:49
smoseroutside of using 'tee' or something.19:49
smoserso the code tries to figure out what the right place is.19:49
smoserand i prefer serial console to vga19:49
harmw+1 on that19:50
smoseri'm not opposed to some way to make it go to both places.19:50
smoseras long as it works.19:50
harmwok19:51
smoserwe have the same problem on ubntu too.19:51
smoserits a real PITA19:51
smoserthe biggest pain, is that you can't actually tell if /dev/console is working19:51
smoserecho "foo" > /dev/console19:51
smoserworks for a while19:52
smoser(kernel buffers)19:52
smoserand then it realizes that there is no /dev/ttyS0 (or wherever you had 'console=' on the cmdline)19:52
smoserand it then starts to fail19:52
harmwso, useless19:52
smoserhttps://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/112322019:53
harmwah ys20:38
harmwsmoser: any bugs/issues still open before 0.3.2 final?20:39
smoserno. 20:47
smoserjsut time.20:47
smoseri jsut have to do it.20:47
harmwok, thn take time :)20:49
smoseralright. so lets say i'm just going to go cowboy and do it.20:54
smoserand call it 0.3.2 with minimal-ish testing20:54
smoserbut then we'll test it fairly well before we announce that anywhere.20:54
harmwyou could go rc1.. :)20:55
harmwbut 0.3.2 is better20:55
smoseryeah. the problem is then people like you just want to put more stuff in20:55
smoser(or people like me too, as i'd like the MTU thing fixed)20:55
harmwso 0.3.2 it is :)20:56
smoseryou know, a young go getter like yourself could set up a nightly build service21:09
smoser:)21:09
smoserand automate all this. and get ifrasturcture infor gated c-i21:09
harmwdoesn't LP supply thta?21:09
smoserit will build debs21:09
smoseri dont think i could shoe-horn this in there.21:10
smoserit might be interesting to try though :)21:10
harmwhmk, well hosting something Jenkins-like for cirros or c-i sounds like a nice thing :)21:10
harmwor just somthing manually, without Jenkins21:13
harmwi like the idea smoser 21:18
harmwsmoser: whre shhould I put nightly disk images 22:19

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!