From b973c9c4607f7720807523d12e36bfe646801ade Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 29 Jul 2025 22:38:21 -0400 Subject: [PATCH] auth/AuthRegistry: refresh config on startup I don't think this makes a functional difference but these configs should be loaded at startup otherwise it relies on obs startup to load them. Signed-off-by: Patrick Donnelly --- src/auth/AuthRegistry.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/auth/AuthRegistry.cc b/src/auth/AuthRegistry.cc index 729cf1f5858..c208f3c7733 100644 --- a/src/auth/AuthRegistry.cc +++ b/src/auth/AuthRegistry.cc @@ -23,6 +23,7 @@ AuthRegistry::AuthRegistry(CephContext *cct) : cct(cct) { cct->_conf.add_observer(this); + _refresh_config(); } AuthRegistry::~AuthRegistry() @@ -53,6 +54,7 @@ void AuthRegistry::handle_conf_change( const ConfigProxy& conf, const std::set& changed) { + ldout(cct, 20) << __func__ << ": changed: " << changed << dendl; std::scoped_lock l(lock); _refresh_config(); } -- 2.39.5