Bug 2271594

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: ceph-docs <ceph-docs>
Severity: low    
Priority: unspecified CC: dwalveka, rpollack, tserlin
Version: 6.0   
Target Milestone: ---   
Target Release: 7.1z2   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: ceph-18.2.1-235.el9cp 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: 2024-11-07 14:38:35 UTC Type: Bug
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:    
Bug Blocks: 2249318, 2271596    

Description Patrick Donnelly 2024-03-26 13:36:05 UTC
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 13 errata-xmlrpc 2024-11-07 14:38:35 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 (Red Hat Ceph Storage 7.1 security, bug fix, and enhancement 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-2024:9010