Bug 2187661
Summary: | ceph fs snap-schedule listing is failing | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Hemanth Kumar <hyelloji> |
Component: | CephFS | Assignee: | Milind Changire <mchangir> |
Status: | CLOSED DUPLICATE | QA Contact: | Hemanth Kumar <hyelloji> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1 | CC: | ceph-eng-bugs, cephqe-warriors, gfarnum, mchangir, vshankar |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | 6.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-04-26 02:48:04 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: |
Created attachment 1957955 [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.