Invalid arguments in a migration method call.

Bug #1354463 reported by Ilya Pekelny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Ilya Pekelny

Bug Description

Migration method called with incorrect parameters for MySQL database engine.

     op.drop_constraint("uniq_nodes0instance_uuid", "nodes")

http://alembic.readthedocs.org/en/latest/ops.html#alembic.operations.Operations.drop_constraint

> optional, required on MySQL. can be ‘foreignkey’, ‘primary’, ‘unique’, or ‘check’.

Ilya Pekelny (i159)
Changed in ironic:
assignee: nobody → Ilya Pekelny (i159)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

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

Changed in ironic:
assignee: Ilya Pekelny (i159) → Devananda van der Veen (devananda)
aeva black (tenbrae)
Changed in ironic:
assignee: Devananda van der Veen (devananda) → Ilya Pekelny (i159)
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/112896
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=480df3fd8cc55d926c8167891ce46670d79b82bc
Submitter: Jenkins
Branch: master

commit 480df3fd8cc55d926c8167891ce46670d79b82bc
Author: Ilya Pekelny <email address hidden>
Date: Fri Aug 8 17:07:53 2014 +0300

    Correct `op.drop_constraint` parameters

    `drop_constraint` method require `type_` parameter, when called with
    MySQL.

    > type_ – optional, required on MySQL. can be "foreignkey", "primary",
    "unique", or "check".

    Change-Id: I069a74ea60ba678fb128f27858db169f4dac89a6
    Closes-Bug: #1354463

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: juno-3 → 2014.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.