migration from osp 10 -> 11 -> 12 fails because migration script 22 is not idempotent

Bug #1765830 reported by Ade Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Invalid
Undecided
Ade Lee

Bug Description

This is described in https://bugzilla.redhat.com/show_bug.cgi?id=1569605

Basically, the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1541142 was backported to pike and queens and included the migration script #22 (renamed to #17 and #5)

On upgrade, we attempt to run script again, and fail because the script is not idempotent.

Ade Lee (alee-3)
Changed in keystone:
assignee: nobody → Ade Lee (alee-3)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

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

Changed in keystone:
status: New → In Progress
Revision history for this message
Lance Bragstad (lbragstad) wrote :

We discussed this at length in the keystone channel this morning [0]. Morgan had a suggestion on an effort to make migrations idempotent, though. Thoughts on pursuing that upstream?

[0] http://eavesdrop.openstack.org/irclogs/%23openstack-keystone/%23openstack-keystone.2018-04-23.log.html#t2018-04-23T15:50:23

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystone (master)

Change abandoned by Ade Lee (<email address hidden>) on branch: master
Review: https://review.openstack.org/563266
Reason: Seems folks do not want to backport data migrations.

Revision history for this message
Ade Lee (alee-3) wrote :

This only happens because we tried to backport a fix downstream, and upstream has chosen not to backport this fix.

Closing as this should not affect upstream.

Changed in keystone:
status: In Progress → Invalid
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.