From 659a6936e277a7205742e02a489d8a56ae1bd9ed Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Thu, 26 Mar 2020 11:28:33 -0600 Subject: [PATCH] mgr/cephadm: allow config for an nfs `container_image` ceph config set container_image 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 7e89a365500f..12fc00342ded 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -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', -- 2.47.3