cisco_ml2_apic_contracts table needs to set nullable=False on tenant_id column

Bug #1342756 reported by Henry Gessau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Henry Gessau

Bug Description

In DB migrations the following is detected:
INFO [alembic.autogenerate.compare] Detected NULL on column 'cisco_ml2_apic_contracts.tenant_id'

Tags: db cisco
Henry Gessau (gessau)
Changed in neutron:
assignee: nobody → Henry Gessau (gessau)
tags: added: cisco 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/108386

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

Reviewed: https://review.openstack.org/108386
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=6762acab9ca70bad843cdee542d816ad8e3cb908
Submitter: Jenkins
Branch: master

commit 6762acab9ca70bad843cdee542d816ad8e3cb908
Author: Henry Gessau <email address hidden>
Date: Mon Jul 21 10:35:41 2014 -0400

    Set nullable=False on tenant_id in apic_contracts table

    The cisco_ml2_apic_contracts table has a tenant_id field that is not nullable
    since it is the primary key. The HasTenant mixin does not allow setting
    nullable=False, so use sa.Column() explicitly for this.

    Change-Id: If8e96e76fad0bfcf2bfd71b0223624f1da4517c9
    Closes-bug: #1342756

Changed in neutron:
status: In Progress → Fix Committed
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.