Comment 11 for bug 2058636

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-mon (stable/quincy.2)

Reviewed: https://review.opendev.org/c/openstack/charm-ceph-mon/+/914835
Committed: https://opendev.org/openstack/charm-ceph-mon/commit/a65d9e22fb8e710d4d61a7b104ca3b1fa3072af7
Submitter: "Zuul (22348)"
Branch: stable/quincy.2

commit a65d9e22fb8e710d4d61a7b104ca3b1fa3072af7
Author: Peter Sabaini <email address hidden>
Date: Tue Jan 16 11:21:07 2024 +0100

    Don't error out on missing OSDs

    Ceph reef has a behaviour change where it doesn't always return
    version keys for all components. In
    I12a1bcd32be2ed8a8e5ee0e304f716f5a190bd57 an attempt was made to fix
    this by retrying, however this code path can also be hit when a
    component such as OSDs are absent. While a cluster without OSDs
    wouldn't be functional it still should not cause the charm to error.

    As a fix, just make the OSD component optional when querying for a
    version instead of retrying.

    Closes-Bug: #2058636

    Resolved Conflicts:
            src/utils.py

    Change-Id: I5524896c7ad944f6f22fb1498ab0069397b52418
    (cherry picked from commit 1c9f3b210d8bf8904143647443133cf35f48d8b7)