From ec42b19d0e2041f80d43ea359c81486addbc88a6 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 3 Nov 2023 16:37:55 -0400 Subject: [PATCH] Send FSID to clients too --- daemon-common/ceph.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon-common/ceph.py b/daemon-common/ceph.py index 2460b191..ca84d458 100644 --- a/daemon-common/ceph.py +++ b/daemon-common/ceph.py @@ -210,6 +210,7 @@ def getClusterOSDList(zkhandler): def getOSDInformation(zkhandler, osd_id): # Get the devices + osd_fsid = zkhandler.read(("osd.fsid", osd_id)) osd_node = zkhandler.read(("osd.node", osd_id)) osd_device = zkhandler.read(("osd.device", osd_id)) osd_is_split = bool(strtobool(zkhandler.read(("osd.is_split", osd_id)))) @@ -220,6 +221,7 @@ def getOSDInformation(zkhandler, osd_id): osd_information = { "id": osd_id, + "fsid": osd_fsid, "node": osd_node, "device": osd_device, "is_split": osd_is_split,