From 8780044be6d16f7b396c4724f2ef79efadf40f42 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 2 Nov 2023 00:52:18 -0400 Subject: [PATCH] Ensure db_device is an empty string --- node-daemon/pvcnoded/objects/CephInstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-daemon/pvcnoded/objects/CephInstance.py b/node-daemon/pvcnoded/objects/CephInstance.py index 95095bf5..f62298ee 100644 --- a/node-daemon/pvcnoded/objects/CephInstance.py +++ b/node-daemon/pvcnoded/objects/CephInstance.py @@ -394,7 +394,7 @@ class CephOSDInstance(object): osd_clusterfsid = osd_details["tags"]["ceph.cluster_fsid"] osd_fsid = osd_details["tags"]["ceph.osd_fsid"] osd_id = osd_details["tags"]["ceph.osd_id"] - db_device = osd_details["tags"].get("ceph.db_device", None) + db_device = osd_details["tags"].get("ceph.db_device", "") osd_vg = osd_details["vg_name"] osd_lv = osd_details["lv_name"]