]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Unset compression arguments for pools
authorStephan Müller <smueller@suse.com>
Tue, 9 Oct 2018 06:35:41 +0000 (08:35 +0200)
committerStephan Müller <smueller@suse.com>
Tue, 9 Oct 2018 13:56:47 +0000 (15:56 +0200)
commitc98c8055c21d1f2b8576b748716187cfab8e5845
tree41d87e2957286aad8a780c2c00572cf53ae2d60d
parent039a01d824f8d474f78ad771db335e564edcfd5f
mgr/dashboard: Unset compression arguments for pools

The dashboard backend can now unset all set compression arguments if the
compression mode is switched to 'unset'. In the case of 'unset' Ceph
itself will only delete the 'compression_mode' argument, not all other
set arguments. The other arguments that should be removed, too, are
added to the update arguments in order to delete all set arguments.

Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
qa/tasks/mgr/dashboard/test_pool.py
src/pybind/mgr/dashboard/controllers/pool.py