← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1421631] [NEW] Incorrect usage of drop_constraint in 2a1ee2fb59e0 migration

 

Public bug reported:

Downgrade for migration 2a1ee2fb59e0_add_mac_address_unique_constraint
fails as it gets wrong parameters name, source and local_cols, although
it expects name, source and type_
http://alembic.readthedocs.org/en/latest/ops.html#alembic.operations.Operations.drop_constraint

Error - http://paste.openstack.org/show/172906/

Also as MySQL create index for unique constraint  it should be used
"with migration.remove_fks_from_table", as it gets an error  -
http://paste.openstack.org/show/172907/

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

** 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/1421631

Title:
  Incorrect usage of drop_constraint in 2a1ee2fb59e0 migration

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Downgrade for migration 2a1ee2fb59e0_add_mac_address_unique_constraint
  fails as it gets wrong parameters name, source and local_cols,
  although it expects name, source and type_
  http://alembic.readthedocs.org/en/latest/ops.html#alembic.operations.Operations.drop_constraint

  Error - http://paste.openstack.org/show/172906/

  Also as MySQL create index for unique constraint  it should be used
  "with migration.remove_fks_from_table", as it gets an error  -
  http://paste.openstack.org/show/172907/

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


Follow ups

References