Aside from being generally useful, this uniformity enables ceph-mgr
to have some common information about all the hosts
it knows about; otherwise we would sometimes learn
about a host without e.g. knowing about the cpu/ram/kernel.
Signed-off-by: John Spray <john.spray@redhat.com>
#include "common/errno.h"
#include "include/buffer.h"
#include "include/stringify.h"
+#include "include/util.h"
#include "messages/MLog.h"
#include "msg/Messenger.h"
return -EINVAL;
}
+ collect_sys_info(&daemon_metadata, cct);
+
ldout(cct,10) << __func__ << " " << service << "." << name << dendl;
service_daemon = true;
service_name = service;
ceph_test_rados_api_lock
ceph_test_rados_api_misc
ceph_test_rados_api_pool
+ ceph_test_rados_api_service
ceph_test_rados_api_snapshots
ceph_test_rados_api_stat
ceph_test_rados_api_tier