]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: the 'mode' should honor idempotent subvolume creation
authorNikhilkumar Shelke <nshelke@redhat.com>
Tue, 8 Mar 2022 09:00:00 +0000 (14:30 +0530)
committerNikhilkumar Shelke <nshelke@redhat.com>
Thu, 17 Mar 2022 06:49:22 +0000 (12:19 +0530)
commit069269bcb631430001526ac035694b4c4d9fa063
tree7e663220ceaf6c1edafbf011a8cad4322f3e4ed4
parent179a7bca8a84771b0dde09e26f7a2146a985df90
mgr/volumes: the 'mode' should honor idempotent subvolume creation

currently the 'mode' argument is not honored idempotent
subvolume creation for existing subvolume.

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