Ironic upgrade now needs running online_data_migrations command

Bug #1708149 reported by Dmitry Tantsur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-ironic
Fix Released
Undecided
Dmitry Tantsur
tripleo
Fix Released
High
Dmitry Tantsur

Bug Description

Ironic has implemented similar rolling upgrade procedure to Nova in https://review.openstack.org/#/c/408556/. Now we need to run one more command on upgrades, starting with Ocata->Pike (!):

 ironic-dbsync online_data_migrations

Otherwise the next upgrade (Pike->Queens, for example) will fail.

We need updating both undercloud and overcloud bits to run it.

Tags: upgrade
Dmitry Tantsur (divius)
Changed in puppet-ironic:
assignee: nobody → Dmitry Tantsur (divius)
summary: - Ironic upgrade now needs running online_database_migrations command
+ Ironic upgrade now needs running online_data_migrations command
Dmitry Tantsur (divius)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-ironic (master)

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

Changed in puppet-ironic:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to instack-undercloud (master)

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

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

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

Changed in puppet-ironic:
assignee: Dmitry Tantsur (divius) → Alex Schultz (alex-schultz)
Changed in puppet-ironic:
assignee: Alex Schultz (alex-schultz) → Dmitry Tantsur (divius)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-ironic (master)

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.openstack.org/490026
Reason: Need to clear out the queue as this is going to fail. Will restore momentarily

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

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.openstack.org/490028
Reason: Need to clear out the queue as this is going to fail. Will restore momentarily

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-ironic (master)

Reviewed: https://review.openstack.org/490026
Committed: https://git.openstack.org/cgit/openstack/puppet-ironic/commit/?id=bf5a8ee3fc68ff5a608e1bfbf2c1fef09b16490b
Submitter: Jenkins
Branch: master

commit bf5a8ee3fc68ff5a608e1bfbf2c1fef09b16490b
Author: Dmitry Tantsur <email address hidden>
Date: Wed Aug 2 15:29:15 2017 +0200

    Add a class to run the db online_data_migrations

    This adds support for running the online_data_migrations which needs
    to happen after a dbsync when you upgrade to Pike. If it's not run,
    upgrade from Pike to Queens won't work in the future.

    Change-Id: I548c80cf138b661ba3a5e45a6dfe8711f3322ed0
    Closes-Bug: #1708149

Changed in puppet-ironic:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/491498
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=7586c580793c555a302129acaf82965bf612ef32
Submitter: Jenkins
Branch: master

commit 7586c580793c555a302129acaf82965bf612ef32
Author: Dmitry Tantsur <email address hidden>
Date: Mon Aug 7 15:52:52 2017 +0200

    Run online_data_migrations for Ironic on upgrade

    This only enables correct offline upgrade for now, proper rolling
    upgrade support will follow in the Queens release.

    Change-Id: Iebbd0c6dfc704ba2e0b5176d607354dd31f13a0d
    Depends-On: I548c80cf138b661ba3a5e45a6dfe8711f3322ed0
    Partial-Bug: #1708149

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (master)

Reviewed: https://review.openstack.org/490028
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=d1fca69299b5b4cb6f3d3011ccbac9f5002cfdca
Submitter: Jenkins
Branch: master

commit d1fca69299b5b4cb6f3d3011ccbac9f5002cfdca
Author: Dmitry Tantsur <email address hidden>
Date: Wed Aug 2 15:38:07 2017 +0200

    Run online_data_migrations for Ironic on upgrade

    Change-Id: Ie817e7df63b37ddac4b9b0b7589aef8dfc2048c9
    Depends-On: I548c80cf138b661ba3a5e45a6dfe8711f3322ed0
    Partial-Bug: #1708149

Dmitry Tantsur (divius)
Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-ironic 11.3.0

This issue was fixed in the openstack/puppet-ironic 11.3.0 release.

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.