From: John Spray Date: Mon, 17 Sep 2018 07:19:33 +0000 (+0100) Subject: mon: fix fs add_data_pool setting wrong pool metadata X-Git-Tag: v13.2.3~112^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0c1dcdaa079febad99d9954043bc0617f719fc94;p=ceph.git mon: fix fs add_data_pool setting wrong pool metadata Fixes: http://tracker.ceph.com/issues/36028 Signed-off-by: John Spray (cherry picked from commit f162fa536536fb3171519b1fb0e3f2b09d822464) --- diff --git a/src/mon/FSCommands.cc b/src/mon/FSCommands.cc index f344cd4685e..fcfb85cfc35 100644 --- a/src/mon/FSCommands.cc +++ b/src/mon/FSCommands.cc @@ -614,7 +614,7 @@ class AddDataPoolHandler : public FileSystemCommandHandler } mon->osdmon()->do_application_enable(poolid, pg_pool_t::APPLICATION_NAME_CEPHFS, - "data", poolname); + "data", fs_name); mon->osdmon()->propose_pending(); fsmap.modify_filesystem(