This makes 'orch ls' match up daemosn to services (and probably cleans up
other bits and pieces) when the old daemon id -> service name calc code
can't do its thing.
Signed-off-by: Sage Weil <sage@newdream.net>
return DaemonDescription(
daemon_type=self.daemon_type,
daemon_id=self.daemon_id,
+ service_name=self.service_name,
hostname=self.host,
status=status,
status_desc=status_desc,
assert [remove_id_events(dd) for dd in wait(cephadm_module, c)] == [
{
+ 'service_name': 'mds.name',
'daemon_type': 'mds',
'hostname': 'test',
'status': 1,