Mistake in usage alter_column's parameter type_

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

Bug Description

In alembic alter_column have a parameter type_ not _type.

File "/opt/stack/neutron/neutron/db/migration/alembic_migrations/versions/338d7508968c_vpnaas_peer_address_.py", line 47, in upgrade
    _type=sa.String(255), existing_type=sa.String(64))
  File "<string>", line 7, in alter_column
  File "<string>", line 1, in <lambda>
  File "/opt/stack/neutron/.tox/py27/local/lib/python2.7/site-packages/alembic/util.py", line 271, in go
    raise TypeError("Unknown arguments: %s" % ", ".join(names))
TypeError: Unknown arguments: _type

Tags: db vpn
Changed in neutron:
assignee: nobody → Ann Kamyshnikova (akamyshnikova)
status: New → In Progress
Changed in neutron:
importance: Undecided → High
tags: added: db vpnaas
tags: added: havana-rc-potential
Changed in neutron:
milestone: none → havana-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/51140
Committed: http://github.com/openstack/neutron/commit/a272a2838313b56edc1463f6d81a01414b37a78f
Submitter: Jenkins
Branch: master

commit a272a2838313b56edc1463f6d81a01414b37a78f
Author: Ann Kamyshnikova <email address hidden>
Date: Fri Oct 11 12:05:59 2013 +0400

    Fix migration

    In migration 338d7508968c_vpnaas_peer_address_ was mistake in
    usage alter_column's parameter type_.

    Closes-Bug: #1238561

    Change-Id: I6e0eb8260cf5e8d8f557b174c7985e2f7ca1c912

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/51302

tags: removed: havana-rc-potential
tags: added: vpn
removed: vpnaas
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (milestone-proposed)

Reviewed: https://review.openstack.org/51302
Committed: http://github.com/openstack/neutron/commit/2833fc3d171205ce70d7ad8875838bdb9c0d57a4
Submitter: Jenkins
Branch: milestone-proposed

commit 2833fc3d171205ce70d7ad8875838bdb9c0d57a4
Author: Ann Kamyshnikova <email address hidden>
Date: Fri Oct 11 12:05:59 2013 +0400

    Fix migration

    In migration 338d7508968c_vpnaas_peer_address_ was mistake in
    usage alter_column's parameter type_.

    Closes-Bug: #1238561

    Change-Id: I6e0eb8260cf5e8d8f557b174c7985e2f7ca1c912
    (cherry picked from commit a272a2838313b56edc1463f6d81a01414b37a78f)

Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-rc2 → 2013.2
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.