]> git.apps.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>
Wed, 9 Mar 2022 05:55:27 +0000 (11:25 +0530)
commitd164e49bdecadcc45579bccad39cb39ee4106ff7
tree1e33e4e8797c405be6f9874390d18de7447ccca3
parent54fe2d8b333f4e21f74b1f560b7e0465888a2e26
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>
src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py
src/pybind/mgr/volumes/fs/volume.py