Migration downgrade to revision 254495565185 "add sub status info for orders" fails

Bug #1415829 reported by Juan Antonio Osorio Robles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Fix Released
Medium
Juan Antonio Osorio Robles

Bug Description

Issuing a downgrade to revision 254495565185 results in an exception, since the content_type for the payload in the secrets is set to nullable=False. While this is not the case in the current scheme we are using.

Note that I'm using PostgresSQL, and also this script was database dependant (mysql)

Changed in barbican:
assignee: nobody → Juan Antonio Osorio Robles (juan-osorio-robles)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to barbican (master)

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

Changed in barbican:
status: New → In Progress
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to barbican (master)

Reviewed: https://review.openstack.org/151172
Committed: https://git.openstack.org/cgit/openstack/barbican/commit/?id=9e7c2d45adbb0ccf5b737af4e0966e31db3e407f
Submitter: Jenkins
Branch: master

commit 9e7c2d45adbb0ccf5b737af4e0966e31db3e407f
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Thu Jan 29 12:38:10 2015 +0200

    Fix downgrade for revision 254495565185

    The downgrade required the payload_content_type in the orders not to
    be nullable. This CR fixes that.

    Also, there were a lot of dependencies to mysql, when this shouldn't
    be the case. So this was also changed.

    And finally, fixed some pep8 issues.

    Change-Id: I14f20a5d44519c969e36893464e7dbac114ddad9
    Closes-Bug: #1415829

Changed in barbican:
status: In Progress → Fix Committed
Changed in barbican:
importance: Undecided → Medium
milestone: none → kilo-2
Thierry Carrez (ttx)
Changed in barbican:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in barbican:
milestone: kilo-2 → 2015.1.0
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.