← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1289256] [NEW] Incorrect usage of sqlalchemy type Integer

 

Public bug reported:

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

** Affects: neutron
     Importance: Undecided
     Assignee: Ann Kamyshnikova (akamyshnikova)
         Status: In Progress


** Tags: cisco db

** Changed in: neutron
     Assignee: (unassigned) => Ann Kamyshnikova (akamyshnikova)

-- 
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):
  In Progress

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


Follow ups

References