ceph-mon service doesn't get restarted after upgrade to versions of ceph >= 14.0.0

Bug #1962296 reported by Chris MacNaughton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph Monitor Charm
Fix Released
Undecided
Unassigned
charms.ceph
Fix Released
Undecided
Unassigned

Bug Description

The code that should be doing service restarts just tries to restart the `ceph-mon` systemd target; however, after 14.0.0, the target should be ceph-mon@$HOSTNAME.service

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charms.ceph (master)
Changed in charms.ceph:
status: New → In Progress
Changed in charm-ceph-mon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph-mon (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charms.ceph (master)

Reviewed: https://review.opendev.org/c/openstack/charms.ceph/+/830956
Committed: https://opendev.org/openstack/charms.ceph/commit/18fc2c67483f6d277b26f9f1287451f4bebe058b
Submitter: "Zuul (22348)"
Branch: master

commit 18fc2c67483f6d277b26f9f1287451f4bebe058b
Author: Chris MacNaughton <email address hidden>
Date: Fri Feb 25 11:06:56 2022 +0100

    Ensure we restart the correct systemd unit on upgrade.

    Closes-Bug: #1962296
    Change-Id: I7acabfcb28b5faee3d4a6018595d24914db552b2

Changed in charms.ceph:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-mon (master)

Reviewed: https://review.opendev.org/c/openstack/charm-ceph-mon/+/830957
Committed: https://opendev.org/openstack/charm-ceph-mon/commit/5ee54cff97a0e3dd5107fe8893c4ccae48a44213
Submitter: "Zuul (22348)"
Branch: master

commit 5ee54cff97a0e3dd5107fe8893c4ccae48a44213
Author: Chris MacNaughton <email address hidden>
Date: Fri Feb 25 11:09:30 2022 +0100

    Ensure we restart the correct systemd unit on upgrade.

    Closes-Bug: #1962296
    Depends-On: I7acabfcb28b5faee3d4a6018595d24914db552b2
    Change-Id: I8dbd66981f6f668db67454315036ad5557c14c81

Changed in charm-ceph-mon:
status: In Progress → Fix Committed
Changed in charm-ceph-mon:
milestone: none → 22.04
Changed in charm-ceph-mon:
status: Fix Committed → Fix Released
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.