]> git-server-git.apps.pok.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)
committerKotresh HR <khiremat@redhat.com>
Tue, 6 Sep 2022 07:23:57 +0000 (12:53 +0530)
commit22429a747a151ae79167fc6d264d99d7602082e6
tree1e9e4f215cd363bc825876aeaa900288b587e406
parent2da7e094dc7dcdacd449478a64d207243307ab79
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>
(cherry picked from commit ce3fa7f1bcd9ca8a9e9e80ca33a15d0746ce7110)
src/pybind/mgr/volumes/fs/operations/group.py
src/pybind/mgr/volumes/fs/volume.py