Update link to toolset-min and quick fix for orphaned ceph hardware nodes
Related-PROD: PROD-37028
Change-Id: Ibc7090a705476e76e027fe30fa5bf5c27e4aee01
diff --git a/cfg_checker/modules/ceph/info.py b/cfg_checker/modules/ceph/info.py
index ce115ff..2c62018 100644
--- a/cfg_checker/modules/ceph/info.py
+++ b/cfg_checker/modules/ceph/info.py
@@ -576,9 +576,10 @@
_index = 1
for device in _devices:
_t = device.split()
- _osd = _t[2]
- _node = _t[1]
_dev = _t[0]
+ _node = _t[1] if len(_t) > 1 else "unknown"
+ _osd = _t[2] if len(_t) > 2 else "unknown"
+
if _dev == "DEVICE":
continue
_metric = _cj("ceph device get-health-metrics {}".format(_dev))