From: Sébastien Han Date: Tue, 9 Feb 2021 16:24:48 +0000 (+0100) Subject: rgw: register daemon in service map with more details X-Git-Tag: v17.1.0~2746^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=46ec2f0ddd81b4b5b4a61633eada998dcd606c9b;p=ceph.git rgw: register daemon in service map with more details From now on, the rgw daemon will register in the service map with RADOS client ID. This will give us better visibility when query the Ceph status and also will also us to run multiple rgws with the same cephX user AND to be displayed individually. Previously, using a single cephX user to run multiple gateways was possible but the Ceph status would display a single rgw. Also, in the same situation it will allow us to gather metrics and export them through the ceph-mgr Prometheus exporter. Fixes: https://tracker.ceph.com/issues/49227 Signed-off-by: Sébastien Han --- diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index 9c66c3dc6725..98e24e930a01 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -1136,7 +1136,9 @@ int RGWRados::register_to_service_map(const string& daemon_type, const map