]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: Fix subvolumegroup ls
authorKotresh HR <khiremat@redhat.com>
Tue, 1 Feb 2022 11:06:34 +0000 (16:36 +0530)
committerKotresh HR <khiremat@redhat.com>
Wed, 16 Mar 2022 06:47:22 +0000 (12:17 +0530)
commit0f790add5721a43de07acc2087a183810fff7e87
treee837b1f6364cf7fa1a2be941ad106f94035718a2
parent540571cda757bc9da2b3ae07717f2638d88283b6
mgr/volumes: Fix subvolumegroup ls

The subvolumegroup ls listed '_deleting' directory which is
internal to 'mgr/volumes' and should not be listed as a
subvolumegroup. This patch fixes the same by filtering it.

Fixes: https://tracker.ceph.com/issues/54099
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit a125b0e8a22ba6c8d14f25fe85ce8d0771299c6c)
src/pybind/mgr/volumes/fs/fs_util.py
src/pybind/mgr/volumes/fs/volume.py