Use right key with correct data

This commit is contained in:
Joshua Boniface 2023-11-04 00:01:48 -04:00
parent 75135f6d5f
commit 0e45613634
1 changed files with 2 additions and 2 deletions

View File

@ -694,7 +694,7 @@ class CephOSDInstance(object):
for osd in all_osds_on_block:
osd_id = osd["id"]
osd_fsid = osd["ofsid"]
osd_fsid = osd["fsid"]
logger.out(
f"Preparing LVM logical volume on disk {new_device} for OSD {osd_id}",
@ -721,7 +721,7 @@ class CephOSDInstance(object):
for osd in all_osds_on_block:
osd_id = osd["id"]
osd_fsid = osd["ofsid"]
osd_fsid = osd["fsid"]
if osd["db_device"]:
db_device = f"osd-db/osd-{osd_id}"