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)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- ceph-mon/ +/914835 /opendev. org/openstack/ charm-ceph- mon/commit/ a65d9e22fb8e710 d4d61a7b104ca3b 1fa3072af7
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/quincy.2
commit a65d9e22fb8e710 d4d61a7b104ca3b 1fa3072af7
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 e2ed8a8e5ee0e30 4f716f5a190bd57 an attempt was made to fix
version keys for all components. In
I12a1bcd32b
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: I5524896c7ad944 f6f22fb1498ab00 69397b52418 04143647443133c f35f48d8b7)
(cherry picked from commit 1c9f3b210d8bf89