delete_tap_interface method is needed

Bug #1138408 reported by Edgar Magana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Edgar Magana
Grizzly
Fix Released
Low
Nikola Đipanov

Bug Description

In nova using libvirt, there is a method to create tap interface under linux_net.py but there is not one for removing them.
Usually, nova plougins use either the delete_ovs_vif_port that invokes OVS-specific commands and will not work in an environment OVS-free, and the second available option is under QuantumLinuxBridgeInterfaceDriver::unplug but this one is attached to linux bridge. So, there is not native call for removing a tap interface based on the dev name.

Tags: vif
Edgar Magana (emagana)
Changed in nova:
assignee: nobody → Edgar Magana (emagana)
Chuck Short (zulcss)
Changed in nova:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/24101
Committed: http://github.com/openstack/nova/commit/9c86567201b9cf51e1ed0b0c55a9d614d4988dce
Submitter: Jenkins
Branch: master

commit 9c86567201b9cf51e1ed0b0c55a9d614d4988dce
Author: Edgar Magana <email address hidden>
Date: Mon Mar 11 11:46:27 2013 -0700

    Add delete_net_interface function

    This commit adds a new function that deletes a specific
    tap device. This bug fix is targeted for Havana.

    Change-Id: I26be5d94550db35358caae642fb9000953346826
    fixes: bug #1138408

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-1 → 2013.2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/79984

Alan Pevec (apevec)
Changed in nova:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/grizzly)

Reviewed: https://review.openstack.org/79984
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=64f22b8059b218c06634c0b54f9b39f7a77493ed
Submitter: Jenkins
Branch: stable/grizzly

commit 64f22b8059b218c06634c0b54f9b39f7a77493ed
Author: Edgar Magana <email address hidden>
Date: Mon Mar 11 11:46:27 2013 -0700

    Add delete_net_interface function

    This commit adds a new function that deletes a specific
    tap device. This bug fix is targeted for Havana.

    fixes: bug #1138408
    (cherry picked from commit 9c86567201b9cf51e1ed0b0c55a9d614d4988dce)

    Conflicts:
     nova/network/linux_net.py

    Change-Id: I26be5d94550db35358caae642fb9000953346826

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.