]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: subvolume ls command crashes if groupname as '_nogroup'
authorNikhilkumar Shelke <nshelke@redhat.com>
Sun, 12 Jun 2022 16:28:40 +0000 (21:58 +0530)
committerNikhilkumar Shelke <nshelke@redhat.com>
Thu, 23 Jun 2022 08:30:09 +0000 (14:00 +0530)
commit42d9db4bee3d350d3d827dc46614449196538d0e
treea030a5bbae5d4a32a03992cb841be00c3aa4da96
parent3515edfe8086e880bf258f09b4317a732856bd30
mgr/volumes: subvolume ls command crashes if groupname as '_nogroup'

If --group_name=_nogroup is provided in the command then
throw error permission denied as it is internal group of ceph fs.

Fixes: https://tracker.ceph.com/issues/55759
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
(cherry picked from commit acf1337334faca2ef021294bf7a8367193072484)
src/pybind/mgr/volumes/fs/operations/group.py