yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #55036
[Bug 1610784] Re: cloud-init openstack.py code does not recognize network type 'tap'
This bug was fixed in the package cloud-init -
0.7.7-10-gbc2c326-0ubuntu1
---------------
cloud-init (0.7.7-10-gbc2c326-0ubuntu1) yakkety; urgency=medium
* New upstream snapshot:
- DigitalOcean: use the v1.json endpoint
- MAAS: add vendor-data support (LP: #1612313)
- Upgrade the minimum configobj package to one new enough to work
- ConfigDrive: recognize 'tap' as a link type. (LP: #1610784)
- NoCloud: fix bug providing network-interfaces via meta-data.
(LP: #1577982)
- Add distro tags on config modules that should have it
- add ntp config module
- SmartOS: more improvements for network configuration
-- Scott Moser <smoser@xxxxxxxxxx> Fri, 12 Aug 2016 17:18:01 -0400
** Changed in: cloud-init (Ubuntu)
Status: Confirmed => 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/1610784
Title:
cloud-init openstack.py code does not recognize network type 'tap'
Status in cloud-init:
Fix Committed
Status in cloud-init package in Ubuntu:
Fix Released
Bug description:
== System info ==
Xenial 16.04.1, Mitaka, MAAS 2.0 (RC2 currently), JuJu 2.0 (beta7 currently - awaiting beta14), 16.07 Charms, neutron-calico-11 (awaiting fix for another bug).
== Config drive link ==
https://gist.github.com/anonymous/ce20298b9e12e7fe77851552c2a91243
== Error log ==
From line 574 in https://git.launchpad.net/cloud-init/tree/cloudinit/sources/helpers/openstack.py:
if link['type'] in ['ethernet', 'vif', 'ovs', 'phy', 'bridge']:
Jul 28 10:31:38 ubuntu cloud-init[1209]: failed run of stage init-local
Jul 28 10:31:38 ubuntu cloud-init[1209]: ------------------------------------------------------------
Jul 28 10:31:38 ubuntu cloud-init[1209]: Traceback (most recent call last):
Jul 28 10:31:38 ubuntu cloud-init[1209]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 530, in status_wrapper
Jul 28 10:31:38 ubuntu cloud-init[1209]: ret = functor(name, args)
Jul 28 10:31:38 ubuntu cloud-init[1209]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 277, in main_init
Jul 28 10:31:38 ubuntu cloud-init[1209]: init.apply_network_config(bring_up=bool(mode != sources.DSMODE_LOCAL))
Jul 28 10:31:38 ubuntu cloud-init[1209]: File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 631, in apply_network_config
Jul 28 10:31:38 ubuntu cloud-init[1209]: netcfg, src = self._find_networking_config()
Jul 28 10:31:38 ubuntu cloud-init[1209]: File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 618, in _find_networking_config
Jul 28 10:31:38 ubuntu cloud-init[1209]: if self.datasource and hasattr(self.datasource, 'network_config'):
Jul 28 10:31:38 ubuntu cloud-init[1209]: File "/usr/lib/python3/dist-packages/cloudinit/sources/DataSourceConfigDrive.py", line 159, in network_config
Jul 28 10:31:38 ubuntu cloud-init[1209]: self.network_json, known_macs=self.known_macs)
Jul 28 10:31:38 ubuntu cloud-init[1209]: File "/usr/lib/python3/dist-packages/cloudinit/sources/helpers/openstack.py", line 599, in convert_net_json
Jul 28 10:31:38 ubuntu cloud-init[1209]: 'Unknown network_data link type: %s' % link['type'])
Jul 28 10:31:38 ubuntu cloud-init[1209]: ValueError: Unknown network_data link type: tap
Jul 28 10:31:38 ubuntu cloud-init[1209]: ------------------------------------------------------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1610784/+subscriptions
References