From 8b65d8ec26b30e8e0539c61d482c2426928e062f 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 (cherry picked from commit 659a6936e277a7205742e02a489d8a56ae1bd9ed) --- 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 488f2893dc7e6..7d8507fe104d5 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -1577,7 +1577,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.39.5