Bug 2271596

Summary: [devicehealth] legacy objects with snapshots cannot be loaded
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Patrick Donnelly <pdonnell>
Component: Ceph-Mgr PluginsAssignee: Patrick Donnelly <pdonnell>
Ceph-Mgr Plugins sub component: volumes QA Contact: Sayalee <saraut>
Status: CLOSED ERRATA Docs Contact: Disha Walvekar <dwalveka>
Severity: low    
Priority: unspecified CC: dwalveka, rpollack
Version: 6.0   
Target Milestone: ---   
Target Release: 6.1z9   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: ceph-17.2.6-247 Doc Type: Bug Fix
Doc Text:
.The `devicehealth` module now functions normally Previously, the `devicehealth` module functions did not function normally as the ceph-mgr would fail to load deleted objects with snapshots resulting in the `devicehealth` module to fail with an exception. With this fix, the `devicehealth` module skips legacy device objects with snapshots that are deleted and the `devicehealth` module now functions normally.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-04-28 05:29:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2271594    
Bug Blocks: 2249318    

Description Patrick Donnelly 2024-03-26 13:38:11 UTC
This bug was initially created as a copy of Bug #2271594

I am copying this bug because: 

6.X backport

Description of problem:

Before the use of libcephsqlite, legacy objects holding device health may have snapshots and deleted and therefore cannot be accessed normally for conversion to libcephsqlite.

See: bz#2249318

Version-Release number of selected component (if applicable):

6.X

See [1] for reproduction steps.

[1] https://github.com/ceph/ceph/pull/54987/commits/aa30adbaa7616c8e24b3ccaad9dbcda7c0c663fc

Comment 11 errata-xmlrpc 2025-04-28 05:29:34 UTC
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 (Important: Red Hat Ceph Storage 6.1 bug fix update), 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/RHSA-2025:4238