]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: create osd id if it does not exist 8357/head
authorSage Weil <sage@redhat.com>
Thu, 28 Apr 2016 14:09:29 +0000 (10:09 -0400)
committerSage Weil <sage@redhat.com>
Mon, 9 May 2016 12:55:00 +0000 (08:55 -0400)
commitd2cab3a898a0635c14f0ae56aa3bb3d2e1d0f486
treec5abe847d5223e03636727d434c102fa772e7511
parentcf4ec5a8aa7555eb0dd4541e0d2a86ceec9ffa51
osd: create osd id if it does not exist

Most tools create the osd id before trying to start ceph-osd.  Notably,
teuthology does not.  We could fix that, but we would be changing behavior,
as the osd boot will happily create the osd id on the fly for us.  Other
provisioning tools might rely on that behavior.  Instead, just allocate
the id sooner in the process (if necessary).

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc