Bug 2126269

Summary: snap_schedule: traceback seen on rados object deletion attempt
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Milind Changire <mchangir>
Component: CephFSAssignee: Milind Changire <mchangir>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: high Docs Contact: Masauso Lungu <mlungu>
Priority: unspecified    
Version: 6.0CC: ceph-eng-bugs, cephqe-warriors, gfarnum, hyelloji, mlungu, pdonnell, vereddy, vshankar
Target Milestone: ---Flags: hyelloji: needinfo-
Target Release: 6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.5-20.el9cp Doc Type: Bug Fix
Doc Text:
.The API for deleting RADOS objects is updated Previously, deleting a RADOS object would result in the program crash and would create tracebacks in the logs. With this fix, the API is updated to correctly remove the RADOS object after an upgrade and no stack traces are dumped in logs.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-20 18:58:05 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: 2126050    

Description Milind Changire 2022-09-13 04:40:20 UTC
Description of problem:
snap_schedule dumps traceback when attempting to remove rados object containing the saved SQLite database.
This happens on upgrade from pacific based releases to quincy based releases.
Pacific based releases use ":memory:" based SQLite database to work upon and dump the db to a rados object on every change.
On an upgrade to Quincy based release, the rados object containing the db dump is read and a rados backed SQLite db is created via the libcephsqlite sqlite vfs plugin and the earlier db dump rados object is deleted.
It is this delete rados object operation that fails due to invalid method call.

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


How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 RHEL Program Management 2022-09-13 04:40:27 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 52 errata-xmlrpc 2023-03-20 18:58:05 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 6.0 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/RHBA-2023:1360