.`DeviceStatusWatcher` thread no longer terminates after a disk is removed from the target
Previously, the `rbd-target-api` server could encounter an unhandled `AttributeError` or `NameError` exception shortly after a disk was removed from the target. As a result, the `DeviceStatusWatcher` stopped unexpectedly as the device status would not periodically updated, causing the status to go stale.
With this fix, `DeviceStatusWatcher` thread no longer terminates and the device status continues to be periodically updated after a disk is removed from the target.
Ceph 5.3z3:
$ cat sos_commands/ceph_mon/ceph_versions
{
"mon": {
"ceph version 16.2.10-172.el8cp (00a157ecd158911ece116ae43095de793ed9f389) pacific (stable)": 3
},
"mgr": {
"ceph version 16.2.10-172.el8cp (00a157ecd158911ece116ae43095de793ed9f389) pacific (stable)": 2
},
"osd": {
"ceph version 16.2.10-172.el8cp (00a157ecd158911ece116ae43095de793ed9f389) pacific (stable)": 107
},
"mds": {},
"tcmu-runner": {
"ceph version 16.2.10-172.el8cp (00a157ecd158911ece116ae43095de793ed9f389) pacific (stable)": 62
},
"overall": {
"ceph version 16.2.10-172.el8cp (00a157ecd158911ece116ae43095de793ed9f389) pacific (stable)": 174
Currently the customer has not reported an impact from the client side, and is unaware if the end clients are having issues as a result of this.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Red Hat Ceph Storage 5.3 security and bug fix updates), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2025:1478
Ceph 5.3z3: $ cat sos_commands/ceph_mon/ceph_versions { "mon": { "ceph version 16.2.10-172.el8cp (00a157ecd158911ece116ae43095de793ed9f389) pacific (stable)": 3 }, "mgr": { "ceph version 16.2.10-172.el8cp (00a157ecd158911ece116ae43095de793ed9f389) pacific (stable)": 2 }, "osd": { "ceph version 16.2.10-172.el8cp (00a157ecd158911ece116ae43095de793ed9f389) pacific (stable)": 107 }, "mds": {}, "tcmu-runner": { "ceph version 16.2.10-172.el8cp (00a157ecd158911ece116ae43095de793ed9f389) pacific (stable)": 62 }, "overall": { "ceph version 16.2.10-172.el8cp (00a157ecd158911ece116ae43095de793ed9f389) pacific (stable)": 174 Currently the customer has not reported an impact from the client side, and is unaware if the end clients are having issues as a result of this.