← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1286416] [NEW] ml2.routerl3agentbindings database migration error

 

Public bug reported:

Currently I'm fixing the bug:
https://bugs.launchpad.net/neutron/+bug/1230323

Unfortunately, I hit another bug that the table
ml2.routerl3agentbindings doesn't support database migration.

I add a uniqueness to a column in that table, and also write a migration
script for that modification, however, the devstack shows an exception
that the table has not been created.

sqlalchemy.exc.ProgrammingError: (ProgrammingError) (1146, "Table
'neutron_ml2.routerl3agentbindings' doesn't exist") 'ALTER TABLE
routerl3agentbindings ADD CONSTRAINT
uniq_routerl3agentbindings0router_id UNIQUE (router_id)' ()

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  ml2.routerl3agentbindings database migration error

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Currently I'm fixing the bug:
  https://bugs.launchpad.net/neutron/+bug/1230323

  Unfortunately, I hit another bug that the table
  ml2.routerl3agentbindings doesn't support database migration.

  I add a uniqueness to a column in that table, and also write a
  migration script for that modification, however, the devstack shows an
  exception that the table has not been created.

  sqlalchemy.exc.ProgrammingError: (ProgrammingError) (1146, "Table
  'neutron_ml2.routerl3agentbindings' doesn't exist") 'ALTER TABLE
  routerl3agentbindings ADD CONSTRAINT
  uniq_routerl3agentbindings0router_id UNIQUE (router_id)' ()

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


Follow ups

References