yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #29898
[Bug 1421631] Re: Incorrect usage of drop_constraint in 2a1ee2fb59e0 migration
** Changed in: neutron
Status: Fix Committed => Fix Released
** Changed in: neutron
Milestone: None => kilo-3
--
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):
Fix Released
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
References