[Bug 1672429] Re: Seems to be no support for tap interfaces - Unexpected vif_type=tap
James Page
james.page at ubuntu.com
Fri Mar 24 13:04:22 UTC 2017
I'd be happy to consider including this fix into the stable/mitaka
branch; we're still maintaining that atm as it was the first GA release
so quite a few people are using it still.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova-lxd in Ubuntu.
https://bugs.launchpad.net/bugs/1672429
Title:
Seems to be no support for tap interfaces - Unexpected vif_type=tap
Status in nova-lxd package in Ubuntu:
Incomplete
Bug description:
nova-lxd fails to launch an instance on a compute host when the
network type uses tap interfaces in stead of bridged interfaces.
We use Calico for networking, and it seems that this doesn't work for
Mitaka on Xenial at least.
It fails with this error:
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf] Traceback (most recent call last):
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf] File "/usr/lib/python2.7/dist-packages/nova_lxd/nova/virt/lxd/operations.py", line 555, in cleanup
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf] self.unplug_vifs(instance, network_info)
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf] File "/usr/lib/python2.7/dist-packages/nova_lxd/nova/virt/lxd/operations.py", line 335, in unplug_vifs
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf] instance=instance)
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf] File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf] self.force_reraise()
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf] File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf] six.reraise(self.type_, self.value, self.tb)
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf] File "/usr/lib/python2.7/dist-packages/nova_lxd/nova/virt/lxd/operations.py", line 328, in unplug_vifs
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf] self.vif_driver.unplug(instance, viface)
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf] File "/usr/lib/python2.7/dist-packages/nova_lxd/nova/virt/lxd/vif.py", line 191, in unplug
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf] _("Unexpected vif_type=%s") % vif_type)
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf] NovaException: Unexpected vif_type=tap
2017-03-13 14:57:38.365 28215 ERROR nova_lxd.nova.virt.lxd.operations [instance: beeae088-ae26-4c75-9169-1c77f98513bf]
System info:
Description: Ubuntu 16.04.2 LTS
Release: 16.04
nova-compute-lxd:
Installed: 13.2.0-0ubuntu1.16.04.1
Candidate: 13.2.0-0ubuntu1.16.04.1
Version table:
*** 13.2.0-0ubuntu1.16.04.1 500
500 http://ubuntu-srv.ocado.com/xenial_r2 xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
13.0.0-0ubuntu3 500
500 http://ubuntu-srv.ocado.com/xenial_r2 xenial/main amd64 Packages
Please let me know if you need any further info.
Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova-lxd/+bug/1672429/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list