Bug 2187659 - ceph fs snap-schedule listing is failing
Summary: ceph fs snap-schedule listing is failing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 6.1
Assignee: Milind Changire
QA Contact: Hemanth Kumar
Akash Raj
URL:
Whiteboard:
: 2187661 2188175 (view as bug list)
Depends On:
Blocks: 2192813
TreeView+ depends on / blocked
 
Reported: 2023-04-18 11:18 UTC by Hemanth Kumar
Modified: 2023-06-15 09:18 UTC (History)
8 users (show)

Fixed In Version: ceph-17.2.6-25.el9cp
Doc Type: Bug Fix
Doc Text:
.Support for snap-schedule module With this fix, Ceph continues to provide the subvolume interface to the snap-schedule module of Ceph Manager.
Clone Of:
Environment:
Last Closed: 2023-06-15 09:17:21 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-6479 0 None None None 2023-04-18 11:21:20 UTC
Red Hat Product Errata RHSA-2023:3623 0 None None None 2023-06-15 09:18:16 UTC

Description Hemanth Kumar 2023-04-18 11:18:35 UTC
Created attachment 1957954 [details]
mgr_log

Description of problem:
--------------------------

When tried listing out the created snap-scheduled using "ceph fs snap-schedule list / --recursive", traceback is seen as follows.

[root@magna021 ~]# ceph fs snap-schedule list / --recursive
Error EINVAL: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 1758, in _handle_command
    return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
  File "/usr/share/ceph/mgr/mgr_module.py", line 462, in call
    return self.func(mgr, **kwargs)
  File "/usr/share/ceph/mgr/snap_schedule/module.py", line 104, in snap_schedule_list
    abs_path = self.resolve_subvolume_path(use_fs, subvol, path)
NameError: name 'subvol' is not defined


Version-Release number of selected component (if applicable):
ceph version 17.2.6-22.el9cp

How reproducible:
Always


Expected : ceph fs snap-schedule list / --recursive - Should display all the snap-schedules created under /

Actual : Traceback is seen instead of displaying the snap-schedules created.

Comment 1 RHEL Program Management 2023-04-18 11:18:44 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 11 Venky Shankar 2023-04-20 02:46:46 UTC
*** Bug 2188175 has been marked as a duplicate of this bug. ***

Comment 16 Venky Shankar 2023-04-26 02:48:04 UTC
*** Bug 2187661 has been marked as a duplicate of this bug. ***

Comment 19 errata-xmlrpc 2023-06-15 09:17:21 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 (Moderate: Red Hat Ceph Storage 6.1 security and 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-2023:3623


Note You need to log in before you can comment on or make changes to this bug.