RGW will register a daemon_type `rgw-nfs` which needs to map to
the corresponding cephadm nfs daemon to avoid stray daemon warnings
Fixes: https://tracker.ceph.com/issues/49573
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit
0f237223accbea49cf9792400a657cbf696a5d67)
else:
self.log.debug(
"Failed to find daemon id for rbd-mirror service %s" % (s.get('id')))
+ elif s.get('type') == 'rgw-nfs':
+ # https://tracker.ceph.com/issues/49573
+ name = s.get('id').split('-rgw')[0]
if host not in self.mgr.inventory:
missing_names.append(name)
msg = f'host {host} `cephadm {command}` failed: Cannot decode JSON'
self.log.exception(f'{msg}: {"".join(out)}')
raise OrchestratorError(msg)
-