← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1289256] Re: Incorrect usage of sqlalchemy type Integer

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1289256

Title:
  Incorrect usage of sqlalchemy type Integer

Status in OpenStack Neutron (virtual network service):
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1289256/+subscriptions


References