Incorrect usage of sqlalchemy type Integer

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

Bug Description

In migration folsom_initial in cisco_upgrade function table nexusport_bindings create column vlan_id with incorrect type Integer(255). It causes the following exception:
  File "/opt/stack/neutron/neutron/db/migration/alembic_migrations/versions/folsom_initial.py", line 87, in upgrade
    upgrade_cisco()
  File "/opt/stack/neutron/neutron/db/migration/alembic_migrations/versions/folsom_initial.py", line 455, in upgrade_cisco
    sa.Column('vlan_id', sa.Integer(255)),
TypeError: object() takes no parameters

Tags: db cisco
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/78924

Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Undecided → Medium
milestone: none → icehouse-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit f5601393e97baf87daa5b2065cb8783e3fd34214
Author: AKamyshnikova <email address hidden>
Date: Fri Mar 7 14:23:49 2014 +0400

    Fix usage of sqlalchemy type Integer

    In migration folsom_initial in cisco_upgrade function table
    nexusport_bindings create column vlan_id with incorrect type
    Integer(255).

    Closes-bug: #1289256

    Change-Id: I8ef99526d19b19b51d9284ccab5703de21838ee1

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: icehouse-rc1 → 2014.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.