yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #81082
[Bug 1848690] Re: subnet_is_ipv6() function does not work for types ipv6_dhcpv6-stateless|stateful
This bug is believed to be fixed in cloud-init in version 19.2-76. If
this is still a problem for you, please make a comment and set the state
back to New
Thank you.
** Changed in: cloud-init
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1848690
Title:
subnet_is_ipv6() function does not work for types
ipv6_dhcpv6-stateless|stateful
Status in cloud-init:
Fix Released
Bug description:
def subnet_is_ipv6(subnet):
"""Common helper for checking network_state subnets for ipv6."""
# 'static6' or 'dhcp6'
if subnet['type'].endswith('6'):
# This is a request for DHCPv6.
return True
elif subnet['type'] == 'static' and is_ipv6_addr(subnet.get('address')):
return True
return False
Function return false for ipv6_dhcpv6-stateless|stateful, the eni renderer does not add '6' to 'inet' so it's rendered like: 'iface iface0 inet auto|dhcp' not 'iface iface0 inet6 auto|dhcp'
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1848690/+subscriptions
References