Linuxbridge plugin doesn't return IP to VLAN interface when deleting a bridge

Bug #1255153 reported by Ralf Haferkamp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Ralf Haferkamp

Bug Description

Given a network setup like this on the network node (before starting any of the neutron services):

eth0: inet 192.168.100.230/24

eth0.1001@eth0: inet 172.24.4.224/28

Now when the linuxbridge-agent needs to create a VLAN-bridge for the 1001 VLAN it will correctly enslave eth0.1001 into the bridge and move the IP Address from eth0.1001 to the bridge.
But when linuxbridge removes the bridge again (e.g. because the last port on it was deleted) it will not reassign the IP back to the eth0.1001 device, but instead just take the whole interface down.

Ralf Haferkamp (rhafer)
Changed in neutron:
assignee: nobody → Ralf Haferkamp (rhafer)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/58575

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/58575
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=b22515e443449a83f423620cb1df5b92770bef32
Submitter: Jenkins
Branch: master

commit b22515e443449a83f423620cb1df5b92770bef32
Author: Ralf Haferkamp <email address hidden>
Date: Tue Nov 26 17:38:44 2013 +0100

    Reassign IP to vlan interface when deleting a VLAN bridge

    When deleting a VLAN bridge that has an IP address assigned to it, don't delete
    the VLAN interface, but reassigned the IP address back to the underlying VLAN
    interface.

    Closes-Bug: #1255153

    Change-Id: I5e39877c0786b43eddba9b5e1394d4c2ec023c0a

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
importance: Undecided → Medium
milestone: none → icehouse-3
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-3 → 2014.1
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.