Cisco N1k: Clear entries in n1kv specific tables on rollbacks

Bug #1336596 reported by Abhishek Raut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Abhishek Raut
Icehouse
Fix Released
High
Sitaram Dontu

Bug Description

During rollback operations, the resource is cleaned up from the neutron database but leaves a few stale entries in the n1kv specific tables.
Vlan/VXLAN allocation tables are inconsistent during network rollbacks.
VM-Network table is left inconsistent during port rollbacks.
Explicitly clearing ProfileBinding table entry (during network profile rollbacks) is not required as delete_network_profile internally takes care of it.

Abhishek Raut (abhraut)
Changed in neutron:
assignee: nobody → Abhishek Raut (abhraut)
Changed in neutron:
importance: Undecided → High
status: New → Confirmed
tags: added: db
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/107145

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/107145
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=73b4239fbef5e52494cf3ffc3293dbb79b52d91c
Submitter: Jenkins
Branch: master

commit 73b4239fbef5e52494cf3ffc3293dbb79b52d91c
Author: Abhishek Raut <email address hidden>
Date: Sat Jul 12 10:19:24 2014 -0700

    Clear entries in Cisco N1KV specific tables on rollback

    During rollback operations, resources are cleaned up from neutron
    database but leaves a few stale entries in the n1kv specific tables.
    This change addresses the proper clean up of tables. i.e. VLAN/VXLAN
    allocation tables, profile binding and vm network table.

    Change-Id: I7a09d34f3a9dee0a43b76c5d781ee9eb9938953a
    Closes-bug: #1336596

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/111123

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/icehouse)

Reviewed: https://review.openstack.org/111123
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=a872143bb0585b6bef13eebbe9ab4c23d48ecfa1
Submitter: Jenkins
Branch: stable/icehouse

commit a872143bb0585b6bef13eebbe9ab4c23d48ecfa1
Author: Abhishek Raut <email address hidden>
Date: Sat Jul 12 10:19:24 2014 -0700

    Clear entries in Cisco N1KV specific tables on rollback

    During rollback operations, resources are cleaned up from neutron
    database but leaves a few stale entries in the n1kv specific tables.
    This change addresses the proper clean up of tables. i.e. VLAN/VXLAN
    allocation tables, profile binding and vm network table.

    Conflicts:

            neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py

    Change-Id: I7a09d34f3a9dee0a43b76c5d781ee9eb9938953a
    Closes-bug: #1336596
    (cherry picked from commit 73b4239fbef5e52494cf3ffc3293dbb79b52d91c)

tags: added: in-stable-icehouse
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-3 → 2014.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.