Mistake in usage drop_constraint parameters

Bug #1243073 reported by Ann Taraday
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Ann Taraday

Bug Description

In miration 63afba73813_ovs_tunnelendpoints_id_unique mistake in usage drop_constraint parameters tablename and type instead of table_name and type_.

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

Changed in neutron:
assignee: nobody → Ann Kamyshnikova (akamyshnikova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/53064

Changed in neutron:
status: New → In Progress
tags: added: db
Revision history for this message
Akihiro Motoki (amotoki) wrote :

It occurs when alembic >= 0.5.0.
Alembic 0.5.0 changes the parameter name.

tags: added: havana-backport-potential
Changed in neutron:
importance: Undecided → Medium
milestone: none → icehouse-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/53064
Committed: http://github.com/openstack/neutron/commit/9a64271bd9f741b13f6cf4a9074524d3854fdd14
Submitter: Jenkins
Branch: master

commit 9a64271bd9f741b13f6cf4a9074524d3854fdd14
Author: Ann Kamyshnikova <email address hidden>
Date: Tue Oct 22 11:02:55 2013 +0400

    Fix downgrade in migration

    In 63afba73813_ovs_tunnelendpoints_id_unique migration mistake in
    usage drop_constraint parameter type_ and positional agruments name
    and table_name.

    Closes-Bug: #1243073

    Change-Id: I60cd6e7f18b193b71f8f20759251b9f59a79965a

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.