Foreign key was set in model, but was skipped in migration

Bug #1336177 reported by Ann Taraday
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Ann Taraday

Bug Description

Foreign key for network_id column was set in model ML2_BrocadePort , but it was not added in migration 492a106273f8_brocade_ml2_mech_dri for this column.

Database content http://paste.openstack.org/show/85201/

Tags: db
Changed in neutron:
assignee: nobody → Ann Kamyshnikova (akamyshnikova)
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/103772

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Ann Kamyshnikova (<email address hidden>) on branch: master
Review: https://review.openstack.org/103772
Reason: According to Eugene comment this changes need to check db content, so this will be fixed with heal migration.

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

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

commit 5c3293f9f65912d904df56d9a3c449150af7fcdb
Author: Ann Kamyshnikova <email address hidden>
Date: Wed May 28 12:38:35 2014 +0400

    Database healing migration

    Add script that will add all tables for all plugins and make db schema
    unconditional.

    partially implement bp: db-migration-refactor

    Closes-bug: #1277379
    Closes-bug: #1304741
    Closes-bug: #1298456
    Closes-bug: #1298461
    Closes-bug: #1239974
    Closes-bug: #1336177
    Closes-bug: #1337185

    Change-Id: Ie49088a74bc5a87466f46989ce14d935e27567d1

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
milestone: none → juno-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-2 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.