Cinder Rocky, Stein, and Train are running wrong online-data-migrations

Bug #1837703 reported by Gorka Eguileor
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Gorka Eguileor

Bug Description

Online data migrations are part of the rolling upgrades mechanism, and they are run on the current installed version before we upgrade to the next one to ensure that all DB records have been upgraded even if they have not been accessed during the life of the current release service life.

This means that online migrations from one release should be removed on the next release, as they are no longer needed.

In Cinder's master code we still have the Queens online data migrations, and they should be removed.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/672466

Changed in cinder:
assignee: nobody → Gorka Eguileor (gorka)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.opendev.org/672466
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=230bda82c1ada91dcec90b21913d713795164b19
Submitter: Zuul
Branch: master

commit 230bda82c1ada91dcec90b21913d713795164b19
Author: Gorka Eguileor <email address hidden>
Date: Wed Jul 24 10:30:38 2019 +0200

    Fix online data migrations

    Online data migrations are part of the rolling upgrades mechanism, and
    they are run on the current installed version before we upgrade to the
    next one to ensure that all DB records have been upgraded even if they
    have not been accessed during the life of the current release service
    life.

    This means that online migrations from one release should be removed on
    the next release, as they are no longer needed.

    We still have the Queens online data migrations in our code, and we
    should remove them in master, Stein, and Rocky.

    This patch also adds checks to the status tool to check that these
    online data migrations have completed.

    Closes-bug: #1837703
    Change-Id: I025789f92eb318b8e5a531bea6cf106d52f268ae

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 15.0.0.0rc1

This issue was fixed in the openstack/cinder 15.0.0.0rc1 release candidate.

Revision history for this message
Dincer Celik (dincercelik) wrote :

Will you backport this to stein?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/728476

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/728478

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/stein)

Reviewed: https://review.opendev.org/728476
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=83b83256142cff920b8e33efca540e6cefe18c0c
Submitter: Zuul
Branch: stable/stein

commit 83b83256142cff920b8e33efca540e6cefe18c0c
Author: Gorka Eguileor <email address hidden>
Date: Wed Jul 24 10:30:38 2019 +0200

    Fix online data migrations

    Online data migrations are part of the rolling upgrades mechanism, and
    they are run on the current installed version before we upgrade to the
    next one to ensure that all DB records have been upgraded even if they
    have not been accessed during the life of the current release service
    life.

    This means that online migrations from one release should be removed on
    the next release, as they are no longer needed.

    We still have the Queens online data migrations in our code, and we
    should remove them in master, Stein, and Rocky.

    This patch also adds checks to the status tool to check that these
    online data migrations have completed.

    Closes-bug: #1837703
    Change-Id: I025789f92eb318b8e5a531bea6cf106d52f268ae
    (cherry picked from commit 230bda82c1ada91dcec90b21913d713795164b19)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (stable/rocky)

Change abandoned by "Brian Rosmaita <email address hidden>" on branch: stable/rocky
Review: https://review.opendev.org/c/openstack/cinder/+/728478
Reason: Rocky transitioned to End of Life by change I600914dd08e9 and is accepting no more changes.

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.