← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1257607] [NEW] Mistake in usage drop_constraint parameters

 

Public bug reported:

In miration e197124d4b9_add_unique_constrain mistake in usage drop_constraint parameter type_ and positional agruments name
and table_name.

File "/opt/stack/neutron/neutron/db/migration/alembic_migrations/versions/e197124d4b9_add_unique_constrain.py", line 64, in downgrade
    type='unique'
TypeError: drop_constraint() takes at least 2 arguments (1 given)

The same mistake was already fixed in miration
63afba73813_ovs_tunnelendpoints_id_unique.

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


** Tags: 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/1257607

Title:
  Mistake in usage drop_constraint parameters

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  In miration e197124d4b9_add_unique_constrain mistake in usage drop_constraint parameter type_ and positional agruments name
  and table_name.

  File "/opt/stack/neutron/neutron/db/migration/alembic_migrations/versions/e197124d4b9_add_unique_constrain.py", line 64, in downgrade
      type='unique'
  TypeError: drop_constraint() takes at least 2 arguments (1 given)

  The same mistake was already fixed in miration
  63afba73813_ovs_tunnelendpoints_id_unique.

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


Follow ups

References