Mistake in usage drop_table in downgrade in migration

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

Bug Description

In method downgrade_cisco in migration folsom_initial instead of local method drop_tables op.drop_tables is used

File "/opt/stack/neutron/neutron/db/migration/alembic_migrations/versions/folsom_initial.py", line 468, in downgrade
    downgrade_cisco()
  File "/opt/stack/neutron/neutron/db/migration/alembic_migrations/versions/folsom_initial.py", line 541, in downgrade_cisco
    op.drop_tables(
AttributeError: 'module' object has no attribute 'drop_tables'

Tags: db
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/53091

Changed in neutron:
status: New → In Progress
tags: added: db
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/53091
Committed: http://github.com/openstack/neutron/commit/258aad077279b2020b47f4136747c1e5aa4bf5a8
Submitter: Jenkins
Branch: master

commit 258aad077279b2020b47f4136747c1e5aa4bf5a8
Author: Ann Kamyshnikova <email address hidden>
Date: Tue Oct 22 14:29:26 2013 +0400

    Fix downgrade in migration

    In method downgrade_cisco in migration folsom_initial instead of
    local method drop_tables op.drop_tables is used

    Closes-Bug: #1243148

    Change-Id: Ida6c52653c065e49c85141a7d1e61d394c1d709e

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → icehouse-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-2 → 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.