]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: Fix subvolume create idempotency 35256/head
authorKotresh HR <khiremat@redhat.com>
Fri, 15 May 2020 14:59:01 +0000 (20:29 +0530)
committerVicente Cheng <freeze.bilsted@gmail.com>
Mon, 8 Jun 2020 14:17:19 +0000 (14:17 +0000)
commita7a7682b9c96b1cef747804951a4b6c56d05cf4a
tree74427c2de87bd947a85d599aef086667027ddaed
parent1e0ec3533539118eafdcd26ff86b0254fead92d6
mgr/volumes: Fix subvolume create idempotency

After subvolume is created, it can be resized
using subvolume create command. But it was
broken and the same is fixed.

Fixes: https://tracker.ceph.com/issues/45398
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit db8706aa68887a45f25340a62eaddf62c0ea4f46)
qa/tasks/cephfs/test_volumes.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py
src/pybind/mgr/volumes/fs/volume.py