/srv/irclogs.ubuntu.com/2017/08/04/#cloud-init.txt

smoserblackboxsw, if you're still around, we missed a template on bug 170109701:38
ubot5bug 1701097 in cloud-init (Ubuntu Zesty) "eni rendering of ipv6 gateways fails" [Medium,Confirmed] https://launchpad.net/bugs/170109701:38
smoseri'll get it tomorrow if not01:38
smoser:-(01:38
smoserlater01:38
mbwethanks smoser well overhere its now morning09:19
mbweEurope overhere09:19
smosermbwe, you all keep funny time.13:09
rharperpowersj: how were you getting that negative value in the cloud-init analyze lxc run?  I'm trying to reproduce here15:18
powersjrharper: let me look15:19
rharperI just forgot that cloud-init.log has subsecond timestamps now, so it's easier to just cat cloud-init.log | cloudinit-analyze show -i -     versus those journalctl ones15:21
powersjrharper: Ah! It was when I was doing my demo script, which uses the following user data: https://github.com/powersj/debconf17/blob/master/demo/user_data.yaml which is setting the timezone to something that isn't correct.15:21
rharperoh!15:21
rharperyes15:21
powersjit will be correct in couple days ;)15:21
rharperlol15:22
smoserpowersj, rharper well, analize is doing bda math then15:27
smoseror ignoring time zone15:27
smoserer... *not* ignoring time zeon.15:27
smoserzeon!15:27
smoserit should be doing any time operations on utc.15:27
smoseror some constant15:27
rharpersmoser: we get timestamps from python logging in cloud-init.log15:28
rharperwhen you modify the timezone; logging doesn't know that15:28
smoserhm...15:31
smoserwe'd then need to chage theoutput to log with timezone information. i can't imagine that python logging is simply broken across time zone changes15:32
smosersurely it can detect that15:32
rharperlooks like we;'d need to force logging to use gmt15:39
=== smoser` is now known as smoser
blackboxswrharper: smoser https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/328241 all comments addressed. performing one more test run on aws now18:07
blackboxswvalidatred on aws18:13
smoserblackboxsw, your comment18:16
smoser"Perform dhcp discovery on nic if it is not already up."18:16
smoseri dont think that is true18:16
smoser"if the nic is down, run dhclient"18:16
smoserwhere is "if" ?18:16
smoseri think it just runs dhclient18:16
blackboxswahh fixing that18:17
blackboxswright that was an earlier iteration on this branch18:18
smoserblackboxsw, the other comment is the bit in DataSourceEc2.py18:21
smoserdhcp_leases = dhcp.maybe_perform_dhcp_discovery()18:21
smosermove that out to anoterh method maybe ?18:22
smoseripv4_info = dhcp.maybe_dhcp_and_get_ipv4_info()18:23
smoserif not ipv4_info:18:23
smoser  return False18:23
smoserwith net.EphemeralIPv4Network(**ipv4_info):18:24
smoser  ...18:24
blackboxsw:w18:30
blackboxswwhoops mid-fixing it18:30
smoserblackboxsw, have a minute ?18:49
smoserhttp://c.brickies.net/hangout18:49
blackboxswsure, pushed latest changes so we are talking about the same thing18:49
blackboxswsmoser: fixes pushed testing on aws now20:12
smoserthere are merge conflicts tehre.20:24
smoseryou should rebase20:24
smoserother than that i think its probably sane20:24
smoserhttps://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+ref/feature/analyze21:33
smoserand i gots to go. ^ that is the analyze work that i did, thats all though.21:34
blackboxswok will shepherd it in next week21:34
blackboxswhave a good one21:34
rharperthanks21:35
powersjthanks smoser21:37
smoserits no where near done.. just initil thing.21:38

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