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

=== zz_gondoi is now known as gondoi
=== gondoi is now known as zz_gondoi
=== zz_gondoi is now known as gondoi
=== gondoi is now known as zz_gondoi
=== zz_gondoi is now known as gondoi
spandheHi everyone!22:03
spandheqq.. does cloud-init support IPv6?22:05
smoserspandhe, "sort of".22:19
smoserif you're not feeding networking in via confdig-drive or something then really thats just a matter of the image config.22:19
spandheI am using config drive22:20
smoserand inserting a /etc/network/interfaces ?22:20
smoserit could work. there might be some issues with ubuntu images.22:20
smoserbut largely if /etc/network/interfaces is going to come up fine, then that should work.22:20
smoserMAAS is using cloud-init in ipv6 only scenarios.22:20
spandheone odd thing I observed is, inside the disk. cat /etc/sysconfig/network doesnt say networking_ipv6=yes22:21
smoserso it is possible.22:21
smoserthen that (sysconfig) probably needs some work for it.22:21
smoserit is work that needs to be done "really soon now".22:21
spandheI see that /sysconfig/network-scripts/ifcfg-eth0 has the right info.. but probably because ipv6 is disab;ed in network file, network config is not happening correctly.. 22:22
spandhesmoser: is that something to be done on cloudinit side or nova side?22:22
smoserspandhe, well, that is probably cloud-init reading a /etc/network/interfaces style file provided to it by nova/neutron22:23
smoserand rendering it.22:23
smoserto sysconfig style22:23
smoserthe going-forward plan for this is to have a better declaration format for netwroking22:23
smoserthan "/etc/network/interfaces".22:23
smoserhttps://review.openstack.org/#/c/85673/13/specs/juno/metadata-service-network-info.rst22:24
spandhesmoser: can u point me to the code where this rendoring happens?22:24
smoserprobably in cloudinit/distros/rhel.py22:25
spandhesmoser: thanks! :) I found https://github.com/number5/cloud-init/blob/master/cloudinit/distros/rhel.py#L94-L9822:27
spandhedoesnt seem to do NETWORKING_IPV6=Yes22:28
spandhesmoser: adding NETWORKING_IPV6=yes seems to help.. should I open a bug?23:03
smoserspandhe, sure.23:04

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