From 4e73255ffa4161e4ceaf54cf9f8c569b2a8ecfc3 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Wed, 22 Apr 2020 13:28:43 -0600 Subject: [PATCH] mgr/cephadm: allow config for an iscsi `container_image` ceph config set client.iscsi container_image Fixes: https://tracker.ceph.com/issues/45162 Signed-off-by: Michael Fritch --- src/pybind/mgr/cephadm/module.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index 2a1ff2db642..5d611c863f5 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -1575,7 +1575,8 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule): if not image: daemon_type = entity.split('.', 1)[0] # type: ignore if daemon_type in CEPH_TYPES or \ - daemon_type == 'nfs': + daemon_type == 'nfs' or \ + daemon_type == 'iscsi': # get container image ret, image, err = self.mon_command({ 'prefix': 'config get', -- 2.39.5