From 60d98dfe25d4efa6db15dfe5d1519b4da900d390 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 13 Mar 2020 12:03:30 -0400 Subject: [PATCH] mgr/rook: fix 'orch ps' for osds Signed-off-by: Sage Weil --- src/pybind/mgr/rook/module.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pybind/mgr/rook/module.py b/src/pybind/mgr/rook/module.py index 6e3796298e3..a8b18de0fcb 100644 --- a/src/pybind/mgr/rook/module.py +++ b/src/pybind/mgr/rook/module.py @@ -355,6 +355,8 @@ class RookOrchestrator(MgrModule, orchestrator.Orchestrator): if 'ceph_daemon_id' in p['labels']: sd.daemon_id = p['labels']['ceph_daemon_id'] + elif 'ceph-osd-id' in p['labels']: + sd.daemon_id = p['labels']['ceph-osd-id'] else: # Unknown type -- skip it continue -- 2.39.5