port_security migration does not migrate data

Bug #1153366 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Aaron Rosen

Bug Description

The port_security migration does not migrate data

Tags: nicira
Aaron Rosen (arosen)
Changed in quantum:
importance: Undecided → High
assignee: nobody → Aaron Rosen (arosen)
milestone: none → grizzly-rc1
summary: - nvp port_security migration does not migrate data
+ port_security migration does not migrate data
tags: added: nicira
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

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

Reviewed: https://review.openstack.org/24024
Committed: http://github.com/openstack/quantum/commit/2bc6c63a1a6ab9827480a6538e35e6f2b1b93259
Submitter: Jenkins
Branch: master

commit 2bc6c63a1a6ab9827480a6538e35e6f2b1b93259
Author: Aaron Rosen <email address hidden>
Date: Sun Mar 10 14:09:28 2013 -0700

    port_security migration does not migrate data

    The port security migration previously created the correct table structure but
    it did not migrate the old data into this table. This patch adds code that
    copies the id fields from networks and ports into portsecuritybindings
    and networksecuritybindings tables.

    One thing to note is that in grizzly when a port is created on a network that
    has port_security_enabled=True, the port will also be created with
    port_security_enabled=True. But since ports in NVP were not previously
    created with the mac/ip security address pairs we have to set existing ports
    and networks port_security_enabled value to be False. One could easily
    write a script to set these values to True after applying this migration.

    Fixes bug 1153366

    Change-Id: I8a1ccab3e432c23c475816111d388df7f81b8e4a

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: grizzly-rc1 → 2013.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.