]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: register daemon in service map with more details 39380/head
authorSébastien Han <seb@redhat.com>
Tue, 9 Feb 2021 16:24:48 +0000 (17:24 +0100)
committerSébastien Han <seb@redhat.com>
Mon, 15 Feb 2021 16:28:58 +0000 (17:28 +0100)
commit46ec2f0ddd81b4b5b4a61633eada998dcd606c9b
tree7034775c6a96f798ae2a586e8e25b3863ce334ae
parent8d7cf601a2c45d5b29c76ade42bd726e46ace161
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 <seb@redhat.com>
src/rgw/rgw_rados.cc