Ceph packages are upgraded too early in the FFU process

Bug #1785279 reported by Giulio Fidente
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Giulio Fidente

Bug Description

When performing upgrade from Newton to Queens we rik upgrading the Ceph packages to Luminous on baremetal while the Ceph cluster is still running on Jewel level.

The packages should be upgraded instead after ceph-ansible finished migration to containers.

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

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

Changed in tripleo:
assignee: nobody → Giulio Fidente (gfidente)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

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

Changed in tripleo:
milestone: none → rocky-rc1
importance: Medium → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/588619
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=ad4e76fffc31b187519685612e466ac4412a96d7
Submitter: Zuul
Branch: master

commit ad4e76fffc31b187519685612e466ac4412a96d7
Author: Giulio Fidente <email address hidden>
Date: Fri Aug 3 18:34:46 2018 +0200

    Remove ceph-osd and update other Ceph packages if deployment succeeded

    This change ensures the Ceph packages installed on baremetal are
    updated to the latest version and also removes ceph-osd after the
    ceph-ansible run finished successfully.

    Change-Id: I2c02e31e50b382b73a9ab9a4b68a357d2fc01399
    Closes-Bug: #1785279

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/590235

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/590746

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/queens)

Reviewed: https://review.openstack.org/590746
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=36a977f055fc8306afeb62d68e8b90a35c89e136
Submitter: Zuul
Branch: stable/queens

commit 36a977f055fc8306afeb62d68e8b90a35c89e136
Author: Giulio Fidente <email address hidden>
Date: Fri Aug 3 18:13:49 2018 +0200

    Skip Ceph packages when running tripleo-packages

    Do not upgrade the Ceph packages when tripleo-packages runs. This
    avoids that packages on baremetal are upgraded to the Luminous
    level while the cluster is still running at the Jewel level during
    FFU process.

    Partial-Bug: #1785279
    Change-Id: Ie17daa98109b0d51e2258bd6d360d6b2f0e1b0ae
    (cherry picked from commit 6a4dcca6323340d52fd620cca3ee9bfe0eb9e0aa)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/588618
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=6a4dcca6323340d52fd620cca3ee9bfe0eb9e0aa
Submitter: Zuul
Branch: master

commit 6a4dcca6323340d52fd620cca3ee9bfe0eb9e0aa
Author: Giulio Fidente <email address hidden>
Date: Fri Aug 3 18:13:49 2018 +0200

    Skip Ceph packages when running tripleo-packages

    Do not upgrade the Ceph packages when tripleo-packages runs. This
    avoids that packages on baremetal are upgraded to the Luminous
    level while the cluster is still running at the Jewel level during
    FFU process.

    Partial-Bug: #1785279
    Change-Id: Ie17daa98109b0d51e2258bd6d360d6b2f0e1b0ae

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/queens)

Related fix proposed to branch: stable/queens
Review: https://review.openstack.org/591378

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (stable/queens)

Reviewed: https://review.openstack.org/590235
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=841b0fed59b3fd43024d1222d05801608a3ecbde
Submitter: Zuul
Branch: stable/queens

commit 841b0fed59b3fd43024d1222d05801608a3ecbde
Author: Giulio Fidente <email address hidden>
Date: Fri Aug 3 18:34:46 2018 +0200

    Remove ceph-osd after deployment succeeded in containers

    This change removes ceph-osd after the ceph-ansible run finished
    successfully.

    Change-Id: I2c02e31e50b382b73a9ab9a4b68a357d2fc01399
    Related-Bug: #1785279

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/queens)

Reviewed: https://review.openstack.org/591378
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=406d25d2e6b6106d5c54f22cfd1d0b163229f03c
Submitter: Zuul
Branch: stable/queens

commit 406d25d2e6b6106d5c54f22cfd1d0b163229f03c
Author: Giulio Fidente <email address hidden>
Date: Mon Aug 13 14:51:50 2018 +0200

    Remove ceph-osd where not needed

    This change adds an upgrade task which removes ceph-osd from nodes
    not hosting a Ceph OSD and fixes the update_tasks so that on
    subsequent updates all Ceph packages are updated.

    Change-Id: Ic19174cdd19f481b7702296d91e21b89cdfac898
    Related-Bug: #1785279

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 9.3.0

This issue was fixed in the openstack/tripleo-common 9.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.