Description of problem: snap-schedule creation for subvolume is supported, but in recent ceph build on 7.0 RHCS cluster we see an invalid argument error when option --subvol is used. ceph fs snap-schedule add /.. 1h --fs cephfs --subvol subvolume_default_1 Invalid command: Unexpected argument '--subvol' fs snap-schedule add <path> <snap_schedule> [<start>] [<fs>] : Set a snapshot schedule for <path> Error EINVAL: invalid command Version-Release number of selected component (if applicable): How reproducible: Consistent Steps to Reproduce: 1.Create subvolume in default subvolumegroup 2. Enable snap-schedule. Add snap-schedule for subvolume as below, ceph fs snap-schedule add . 1h --fs cephfs --subvol subvolume_default_1 Actual results: snap-schedule add fails with error, "Invalid command: Unexpected argument '--subvol' fs snap-schedule add <path> <snap_schedule> [<start>] [<fs>] : Set a snapshot schedule for <path> Error EINVAL: invalid command" Expected results: subvol option should work. Additional info: ceph version 18.2.0-72.el9cp (3f281315a9c7d4bb2281729a5f3c3366ad99193d) reef (stable)
Additional details from offline discussion with Dev team, this is a regression DOWNSTREAM ONLY patches that were committed for snap-schedule for 17.x.x haven't been applied to downstream 18.2.x Milind Changire, 5:26 PM appropriate MR has been posted - https://gitlab.cee.redhat.com/ceph/ceph/-/merge_requests/404
Hi Milind, Can you please update the status of this bug? Thanks, Suma
*** Bug 2253352 has been marked as a duplicate of this bug. ***
Hi Milind, Could you please confirm if this BZ needs to be added to the 7.0z2 release notes? If so, please provide the doc type and the doc text. Regards, Amarnath
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.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-2024:2743