qa/cephfs: test that user created pool is not deleted by...
"volume create" command.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit
ad1716ff15743dc45d88ddb529b4705b6bd780a6)
mgr/vol: don't delete user-created pool in "volume create" command
If one of the pool names passed to "ceph fs volume create" command
(through --data-pool and --meta-pool name) is absent, don't delete the
pool that is present and passed to this command during the cleanup code
of this command.
IOW, "volume create" command should continue deleting pool created by it
but not delete pool created by the user.
Fixes: https://tracker.ceph.com/issues/70945
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit
4299f660ba9c83ef9305b2834c195da9008810a9)
doc/cephfs: mention new options for "fs volume create" cmd
Command "ceph fs volume create" accepts 2 new options to allow users to
pass data and metadata pool name. Update docs to include mention of both
the options.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit
3044bf7e4b667fb5de5062c41e22e866fc6bb9a6)
qa/cephfs: test passing pool names to "fs volume create" cmd
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit
3ae193035c8cca41a699d796e012ea5b23517767)
Conflicts:
qa/tasks/cephfs/test_volumes.py
- Imports on reef branch are slightly different from main branch leading
to a conflict.
qa/cephfs: separate the tests for "ceph fs volume create" cmd
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit
058769c131754539efcb7f46164f7f164ecb1b13)
mgr/vol: allow passing pool names to "fs volume create" cmd
Fixes: https://tracker.ceph.com/issues/69878
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit
e794a19fd0da92c4331702ed4c35e9d659e53f81)