From f6c6887fe702190c65245502f04aba5941a4fa15 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Thu, 30 Jul 2020 13:12:20 -0400 Subject: [PATCH] rbd: let librados finish initializing the global context librados will retrieve a bootstrap config update from the MONs after connecting and then finish initializing the context. In general, non-primitive config options cannot be updated after initialization is complete. This prevents the rbd CLI from supporting non-primitive config overrides from the MON. Signed-off-by: Jason Dillaman --- src/tools/rbd/Utils.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tools/rbd/Utils.cc b/src/tools/rbd/Utils.cc index 52c569f44feb6..e9497fbe417b0 100644 --- a/src/tools/rbd/Utils.cc +++ b/src/tools/rbd/Utils.cc @@ -677,7 +677,6 @@ int get_snap_create_flags(const po::variables_map &vm, uint32_t *flags) { void init_context() { g_conf().set_val_or_die("rbd_cache_writethrough_until_flush", "false"); g_conf().apply_changes(nullptr); - common_init_finish(g_ceph_context); } int init_rados(librados::Rados *rados) { -- 2.39.5