From: Radoslaw Zarzynski Date: Wed, 29 Sep 2021 20:12:18 +0000 (+0000) Subject: crimson/osd: write the 'ready' meta on OSD::mkfs(). X-Git-Tag: v17.1.0~776^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5b70488bf3c7f844107cceb10ecd040994a5e83c;p=ceph-ci.git crimson/osd: write the 'ready' meta on OSD::mkfs(). This is for the compliance with the classical OSD. No problem with lack of this file has been identified yet. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/crimson/osd/osd.cc b/src/crimson/osd/osd.cc index 43b67e37e4a..4bc1dda842e 100644 --- a/src/crimson/osd/osd.cc +++ b/src/crimson/osd/osd.cc @@ -172,7 +172,8 @@ seastar::future<> OSD::mkfs(uuid_d osd_uuid, uuid_d cluster_fsid) return when_all_succeed( store.write_meta("ceph_fsid", cluster_fsid.to_string()), store.write_meta("whoami", std::to_string(whoami)), - _write_key_meta()); + _write_key_meta(), + store.write_meta("ready", "ready")); }).then_unpack([cluster_fsid, this] { fmt::print("created object store {} for osd.{} fsid {}\n", local_conf().get_val("osd_data"),