Relation messaging for OSDs can be improved

Bug #1886558 reported by Peter Matulis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph Monitor Charm
Fix Released
Medium
Samuel Walladge

Bug Description

After deploying the ceph-osd and ceph-mon applications sans relation I found the resulting messaging from the ceph-mon charm to be sub-optimal:

"Monitor bootstrapped but waiting for number of OSDs to reach expected-osd-count (3)"

Three ceph-osd units were deployed and waiting with a message of:

"Missing relation: monitor"

The existing message sounds like there is an OSD missing.

See attachment for output.

Revision history for this message
Peter Matulis (petermatulis) wrote :
Revision history for this message
Peter Matulis (petermatulis) wrote :

*bump*

The ceph-mon units should really be saying:

"Missing relation: OSD"

tags: added: openstack-advocacy
Changed in charm-ceph-mon:
importance: Undecided → Medium
status: New → Triaged
tags: added: good-first-bug
Changed in charm-ceph-mon:
assignee: nobody → Samuel Walladge (swalladge)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph-mon (master)
Changed in charm-ceph-mon:
status: Triaged → In Progress
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/+/824485
Committed: https://opendev.org/openstack/charm-ceph-mon/commit/48c52fafddef84f54c68cf2a208d9195e0a46dbb
Submitter: "Zuul (22348)"
Branch: master

commit 48c52fafddef84f54c68cf2a208d9195e0a46dbb
Author: Samuel Walladge <email address hidden>
Date: Thu Jan 13 07:42:39 2022 +1030

    Display information if missing OSD relation

    When ceph-mon is blocked on waiting for enough OSDs to be available,
    it will display a message to that effect.
    But this is misleading if ceph-mon has not been related to ceph-osd.
    So if the two are not related,
    and ceph-mon is waiting for OSDS,
    then display a message about the relation missing.

    Closes-Bug: #1886558
    Change-Id: Ic5ee9d33d2bb874af7fc7c325773f88c5661fcc6

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.