]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: filter internal directories in 'subvolumegroup ls' command
authorNikhilkumar Shelke <nshelke@redhat.com>
Wed, 22 Jun 2022 09:55:23 +0000 (15:25 +0530)
committerNikhilkumar Shelke <nshelke@redhat.com>
Fri, 5 Aug 2022 08:35:49 +0000 (14:05 +0530)
commitce3fa7f1bcd9ca8a9e9e80ca33a15d0746ce7110
tree6639821a4870a293313d4c0f9250231e5b0ea498
parent8cb32e9c502ea98ab2754318e155b9ce0d99cbe1
mgr/volumes: filter internal directories in 'subvolumegroup ls' command

Internal directories: '_nogroup', '_index', '_legacy', '_deleting'
1. Internal directories should be filtered in 'subvolmegroup ls' command.
2. Internal directories should not be accepted as a group name.

Fixes: https://tracker.ceph.com/issues/55762
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
src/pybind/mgr/volumes/fs/operations/group.py
src/pybind/mgr/volumes/fs/volume.py