On upgrade to queens the Ceph OSDs containers are killed

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

Bug Description

During the upgrade to queens the ceph-osd package is removed from the storage node which kills the running OSD containers.

Specifically in the preuninstall scriptlet in the ceph-osd rpm, "systemctl stop ceph-disk@\*.service ceph-osd@\*.service ceph-osd.target" is called during the uninstall which kills the containers

In this environment the OSD nodes originally have ceph-osd-10.2.10-28.el7cp RPM.

# rpm -qp --scripts ceph-osd-10.2.10-28.el7cp.x86_64.rpm
[...]
preuninstall scriptlet (using /bin/sh):

if [ $1 -eq 0 ] ; then
        # Package removal, not upgrade
        systemctl --no-reload disable ceph-disk@\*.service ceph-osd@\*.service ceph-osd.target > /dev/null 2>&1 || :
        systemctl stop ceph-disk@\*.service ceph-osd@\*.service ceph-osd.target > /dev/null 2>&1 || :
fi
[...]

tags: added: queens-backport-potential
removed: queens
description: updated
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/604779

Revision history for this message
Giulio Fidente (gfidente) wrote :

Does not affect master, the rocky fix was I3f4590a7d23131ae5e573a2e19c1a1dd20e76342

Revision history for this message
Giulio Fidente (gfidente) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/queens)

Reviewed: https://review.openstack.org/604779
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=34f1c505f19371a9110fc14a31fb0d95b31b2af2
Submitter: Zuul
Branch: stable/queens

commit 34f1c505f19371a9110fc14a31fb0d95b31b2af2
Author: Giulio Fidente <email address hidden>
Date: Mon Sep 24 15:21:01 2018 +0200

    Revert "Remove ceph-osd after deployment succeeded in containers"

    This reverts commit 841b0fed59b3fd43024d1222d05801608a3ecbde.

    Closes-Bug: 1794079
    Change-Id: I68a638298859c7888e94b7283688a414505c3dea

tags: added: in-stable-queens
Changed in tripleo:
milestone: rocky-rc2 → stein-1
Revision history for this message
Giulio Fidente (gfidente) wrote :

this was only affecting quees; closing

Changed in tripleo:
status: Confirmed → Fix Released
assignee: nobody → Giulio Fidente (gfidente)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 8.6.7

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