Use right key for FSID elsewhere

This commit is contained in:
Joshua Boniface 2023-11-03 23:50:31 -04:00
parent befce62925
commit 7f5dd385b5
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ def getClusterOSDList(zkhandler):
def getOSDInformation(zkhandler, osd_id): def getOSDInformation(zkhandler, osd_id):
# Get the devices # Get the devices
osd_fsid = zkhandler.read(("osd.fsid", osd_id)) osd_fsid = zkhandler.read(("osd.ofsid", osd_id))
osd_node = zkhandler.read(("osd.node", osd_id)) osd_node = zkhandler.read(("osd.node", osd_id))
osd_device = zkhandler.read(("osd.device", osd_id)) osd_device = zkhandler.read(("osd.device", osd_id))
osd_is_split = bool(strtobool(zkhandler.read(("osd.is_split", osd_id)))) osd_is_split = bool(strtobool(zkhandler.read(("osd.is_split", osd_id))))

View File

@ -475,7 +475,7 @@ class CephOSDInstance(object):
(("osd.node", osd_id), node), (("osd.node", osd_id), node),
(("osd.device", osd_id), device), (("osd.device", osd_id), device),
(("osd.db_device", osd_id), db_device), (("osd.db_device", osd_id), db_device),
(("osd.fsid", osd_id), osd_fsid), (("osd.fsid", osd_id), ""),
(("osd.ofsid", osd_id), osd_fsid), (("osd.ofsid", osd_id), osd_fsid),
(("osd.cfsid", osd_id), osd_clusterfsid), (("osd.cfsid", osd_id), osd_clusterfsid),
(("osd.lvm", osd_id), ""), (("osd.lvm", osd_id), ""),