]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/cephadm: allow config for an iscsi `container_image`
authorMichael Fritch <mfritch@suse.com>
Wed, 22 Apr 2020 19:28:43 +0000 (13:28 -0600)
committerMichael Fritch <mfritch@suse.com>
Wed, 22 Apr 2020 19:35:17 +0000 (13:35 -0600)
ceph config set client.iscsi container_image <container_image>

Fixes: https://tracker.ceph.com/issues/45162
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/cephadm/module.py

index 2a1ff2db6421500a88c169ccc8b63c13f8759a19..5d611c863f5753c442c937b3efd84aab8395100c 100644 (file)
@@ -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',