nova-lxd doesn't create the VLAN interface with LinuxBridge and VLAN segmentation

Bug #1583524 reported by György Szombathelyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-lxd (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Using nova-lxd with LinuxBridge/VLAN segmentation doesn't create the VLAN tagged interface on the compute.

Seems in vif.py, function plug_bridge() checks for the 'should_create_vlan' meta tag on the network, but it is never set.
Browsing nova code, it is set only in network/manager.py, VlanManager class, which seems to be not instantied by nova-lxd.

Revision history for this message
György Szombathelyi (gyurco) wrote :

Seems I was wrong, it is the job of the neutron agent to create the VLAN interface, but it is not notified to do it.

Revision history for this message
György Szombathelyi (gyurco) wrote :

After some debugging, it seems that the linuxbridge agent scans only for tap devices in get_all_devices, but lxd creates veth interfaces. Maybe LXD with the LinuxBridge agent will never work?

Revision history for this message
James Page (james-page) wrote :

Linuxbridge has not been a specific test target to date; however its quite possible that the switch to using os-vif in the Ocata cycle will resolve this problem.

Changed in nova-lxd (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
György Szombathelyi (gyurco) wrote :

Sorry, didn't update the bug report. It is already fixed:

https://review.openstack.org/#/c/335421/

Changed in nova-lxd (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.