]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/cephadm: allow config for an nfs `container_image`
authorMichael Fritch <mfritch@suse.com>
Thu, 26 Mar 2020 17:28:33 +0000 (11:28 -0600)
committerMichael Fritch <mfritch@suse.com>
Thu, 26 Mar 2020 18:49:50 +0000 (12:49 -0600)
ceph config set <entity> container_image <container_image>

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/cephadm/module.py

index 7e89a365500f4d2748a3ef6e21d227c0b45a26df..12fc00342dedf32e89f94759aff9b07d21405cf1 100644 (file)
@@ -1519,7 +1519,8 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule):
             assert image or entity
             if not image:
                 daemon_type = entity.split('.', 1)[0] # type: ignore
-                if daemon_type in CEPH_TYPES:
+                if daemon_type in CEPH_TYPES or \
+                        daemon_type == 'nfs':
                     # get container image
                     ret, image, err = self.mon_command({
                         'prefix': 'config get',