[22:03] <spandhe> Hi everyone!
[22:05] <spandhe> qq.. does cloud-init support IPv6?
[22:19] <smoser> spandhe, "sort of".
[22:19] <smoser> if you're not feeding networking in via confdig-drive or something then really thats just a matter of the image config.
[22:20] <spandhe> I am using config drive
[22:20] <smoser> and inserting a /etc/network/interfaces ?
[22:20] <smoser> it could work. there might be some issues with ubuntu images.
[22:20] <smoser> but largely if /etc/network/interfaces is going to come up fine, then that should work.
[22:20] <smoser> MAAS is using cloud-init in ipv6 only scenarios.
[22:21] <spandhe> one odd thing I observed is, inside the disk. cat /etc/sysconfig/network doesnt say networking_ipv6=yes
[22:21] <smoser> so it is possible.
[22:21] <smoser> then that (sysconfig) probably needs some work for it.
[22:21] <smoser> it is work that needs to be done "really soon now".
[22:22] <spandhe> I 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] <spandhe> smoser: is that something to be done on cloudinit side or nova side?
[22:23] <smoser> spandhe, well, that is probably cloud-init reading a /etc/network/interfaces style file provided to it by nova/neutron
[22:23] <smoser> and rendering it.
[22:23] <smoser> to sysconfig style
[22:23] <smoser> the going-forward plan for this is to have a better declaration format for netwroking
[22:23] <smoser> than "/etc/network/interfaces".
[22:24] <smoser> https://review.openstack.org/#/c/85673/13/specs/juno/metadata-service-network-info.rst
[22:24] <spandhe> smoser: can u point me to the code where this rendoring happens?
[22:25] <smoser> probably in cloudinit/distros/rhel.py
[22:27] <spandhe> smoser: thanks! :) I found https://github.com/number5/cloud-init/blob/master/cloudinit/distros/rhel.py#L94-L98
[22:28] <spandhe> doesnt seem to do NETWORKING_IPV6=Yes
[23:03] <spandhe> smoser: adding NETWORKING_IPV6=yes seems to help.. should I open a bug?
[23:04] <smoser> spandhe, sure.