/srv/irclogs.ubuntu.com/2014/11/21/#cloud-init.txt

=== harlowja is now known as harlowja_away
=== tvb|afk is now known as tvb
=== zz_gondoi is now known as gondoi
* mhayden tips his hat to JayF17:36
=== harlowja_away is now known as harlowja
* gholms waves at mhayden17:55
JayFHey smoser, mhayden is another long-time racker17:56
harlowjamhayden hey, for https://code.launchpad.net/~rackerhacker/cloud-init/add-ipv6-static-address-support a coworker at y! is also working on this, https://bugs.launchpad.net/cloud-init/+bug/1391695 ; she should have that up for review today, hopefully we can look at both and merge them or something17:56
JayFhe's going to be tossing a patch your way for IPv6 static support17:56
harlowjaJayF i saw that :-P17:57
mhaydenharlowja: good timing ;)17:57
harlowja;)17:57
mhaydenharlowja: should i add a mention of my branch in that ticket?17:57
harlowjasure, although both of u guys i think started a solution at the same time, ha17:57
harlowjaconcidence :-P17:57
mhaydeni'm curious to see the other solution as this is my first time working with cloud-init ;)17:57
mhaydenwell, working with the code itself i mean17:58
harlowjaagreed17:58
harlowjashe'll be in shortly i think17:58
harlowjamhayden another intersting question is whether ipv6 works for the other distros also18:00
harlowjathat network conversion (from ubuntu -> internal format) is also used in freebsd for example18:00
mhaydenmy changes only add in some new dict keys18:00
mhaydenso it shouldn't affect them unless they blindly write whatever is in the dict18:00
mhaydeni didn't check around for that18:01
harlowjaya i don't think they do, but my guess is they are also not ipv6 compat18:01
harlowjahttp://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/distros/sles.py#L56 18:01
harlowjahttp://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/distros/arch.py#L6318:01
harlowjahttp://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/distros/freebsd.py#L27318:01
mhaydenah so yeah, the sles one would just write IPv4 config only18:01
harlowjaya18:02
mhaydenwould it make sense in the future to put all the network config into json and avoid parsing the debian-style network config?18:02
JayFmhayden: That's what I'm doing :)18:02
harlowja+118:02
harlowja;)18:02
mhaydenthen i owe you tacos, JayF 18:02
JayFmhayden: https://github.com/racker/cloud-init/pull/1 is the downstream patch we use for OnMetal now (I think it's enabled on the whole cloud at this point, perhaps?)18:02
JayFmhayden: we put some info in vendor_data that's based on a spec upstream for openstack to put in json network data, and read that today18:03
harlowjahttps://review.openstack.org/#/c/85673/16/specs/kilo/approved/metadata-service-network-info.rst right?18:03
JayFmhayden: when openstack's upstream one comes, we'll migrate off our vendored one and go to the upstream one18:03
JayFaye, capn18:03
JayFalthough tbh I'm not working on it actively right now18:03
harlowjawhose 'Claxton Correya' i don't think thats an alias for u18:04
harlowjalol18:04
harlowjamaybe it is though18:04
mhaydenit's his pen name18:04
harlowjacools18:04
mhaydeni'm kidding ;)18:04
harlowjame too18:04
harlowja:)18:04
smoserhey all. i'm sorry for not being present.18:17
smoserbeen traveling / working last three weeks and not much else.18:18
harlowjaspandhe mhayden welcome, both fixing ipv618:23
harlowja:-P18:23
mhaydenyay18:23
spandhehaha18:24
harlowjamhayden spandhe  i think uploaded https://code.launchpad.net/~shraddha-pandhe/cloud-init/cloud-init-ipv6-support if u want to check thato ut18:43
mhaydentaking a look18:44
mhaydenlooks reasonable except i might toss in a "IPV6_AUTOCONF=no" into cloudinit/distros/rhel.py18:46
mhaydenjust for completeness18:46
mhaydensince there's going to be a static assignment18:46
mhaydenbut i like that spandhe remembered NETWORKING_IPV6 in /etc/sysconfig/network -- i forgot18:46
spandhemhayden: I thought BOOTPROTO=static will take care of it.. 18:47
spandheIll look up more about autoconf18:47
JayFspandhe: not always ime18:47
JayFspandhe: IPV6_AUTOCONF=no basically maps directly to the sysctl iirc18:47
spandhemhayden: I also put the routing info and ifconfig support.. 18:48
mhaydengood stuff, spandhe 18:48
mhaydeni'm not sure about the issues caused by leaving out IPV6_AUTOCONF... but i haven't seen any providers that due IPv6 via SLAAC yet18:49
mhaydenit would hopefully protect the VM against router advertisement attacks though18:49
spandhethanks mhayden ! will add unittests soon too.. also, for now, makes sense to keep autoconf = no.. nova currently doesnt provide any information about it.. so safe it keep it no.. 18:50
mhaydencool18:50
mhaydeni still haven't wrapped my head around writing tests in python :)18:50
spandhemhayden: cool :) need to addcsupport for IPV6ADDR_SECONDARIES later.. 18:52
mhaydenthat will be fun18:52
mhaydendo you have a use case for it? i don't18:52
mhaydenwe assign a single IPv6 address per instance for now18:52
mhaydenanything other than that would be a floating/shared IP18:52
spandheright.. not for now.. but when we have multiple later with global scope, etc, we can add it.. 18:55
mhaydenmakes sense18:56
mhaydenharlowja: i'm a launchpad dunce -- how do i kick out my branch proposal?18:56
harlowjai believe there is a delete branch that i think u can access on https://code.launchpad.net/~rackerhacker/cloud-init/add-ipv6-static-address-support if thats what u want to do18:58
JayFmhayden: ++ absolutely hardening against RA attacks is perfect18:59
mhaydenharlowja: yeah, i'll yield to spandhe's work there18:59
mhaydendone19:00
mhaydenJayF: yay19:00
harlowjakk19:00
harlowjasmoser alright got http://cloudinit.readthedocs.org/en/latest/topics/modules.html to generate more goodness20:23
harlowjaexample @ http://cloudinit.readthedocs.org/en/latest/topics/modules.html#debug20:23
harlowjawoot20:23
harlowjalooks good this time20:24
harlowjahttp://cloudinit.readthedocs.org/en/latest/topics/modules.html#ubuntu-init-switch also20:24
=== gondoi is now known as zz_gondoi

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