BigSwitch plugin raises an exception on re-used port-ids

Bug #1208990 reported by Kevin Benton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Kevin Benton

Bug Description

When a port is re-created using the same ID or moved to a new host, the port_tracking code in the BigSwitch plugin generates an exception.

Tags: bigswitch
Changed in neutron:
assignee: nobody → Kevin Benton (blak111)
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/40502

Changed in neutron:
status: New → In Progress
Changed in neutron:
status: In Progress → Confirmed
milestone: none → havana-3
importance: Undecided → Medium
tags: added: bigswitch
description: updated
Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/40502
Committed: http://github.com/openstack/neutron/commit/967e71c0318606558d866f3853c98e74aa963922
Submitter: Jenkins
Branch: master

commit 967e71c0318606558d866f3853c98e74aa963922
Author: Kevin Benton <email address hidden>
Date: Tue Aug 6 08:19:08 2013 -0700

    Fix BigSwitch plugin to handle device_id re-use in porttracker code

    Updates the BigSwitch port_tracker code to use the sqlalchemy merge method
    instead of the add method for the port location tracking code to avoid primary
     key constraint errors if device-ids are moved or re-used

    Fixes: bug #1208990
    Change-Id: I06065ac888873b00f445d4356b17f084ee38c1ea

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-3 → 2013.2
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.