Public bug reported:
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.
** Affects: cloud-init
Importance: Undecided
Status: New
--
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:
New
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
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp