yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #67950
[Bug 1665441] Re: cloudinit/net/sysconfig.py does not parse network_data.json correctly
This bug is believed to be fixed in cloud-init in 17.1. 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/1665441
Title:
cloudinit/net/sysconfig.py does not parse network_data.json correctly
Status in cloud-init:
Fix Released
Bug description:
In cloudinit/net/sysconfig.py, we see:
elif len(iface_subnets) > 1:
for i, iface_subnet in enumerate(iface_subnets,
start=len(iface.children)):
iface_sub_cfg = iface_cfg.copy()
iface_sub_cfg.name = "%s:%s" % (iface_name, i)
iface.children.append(iface_sub_cfg)
cls._render_subnet(iface_sub_cfg, route_cfg, iface_subnet)
The code 'start=len(iface.children)' fails because at this point,
iface is simply a dict, and has no 'children' attribute.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1665441/+subscriptions
References