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>
except (KeyError, TypeError):
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 = daemon_id.split('-rgw')[0]
if host not in self.mgr.inventory:
missing_names.append(name)