]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
upstart: Make ceph-osd always set the crush location.
authorTommi Virtanen <tv@inktank.com>
Thu, 12 Jul 2012 17:47:29 +0000 (10:47 -0700)
committerTommi Virtanen <tv@inktank.com>
Thu, 12 Jul 2012 17:47:29 +0000 (10:47 -0700)
commitf8478d4c56410e7e2397c95b32ce6c33b1addb86
tree842cb5b5843d2e74a3c26da2b5d236dfc1352df8
parent5ceb7c734af5a05c2e6a60e1f33a8b491cf25cca
upstart: Make ceph-osd always set the crush location.

This used to be conditional on config having osd_crush_location set,
but with that, minimal configuration left the OSD completely out of
the crush map, and prevented the OSD from starting properly.

Note: Ceph does not currently let this mechanism automatically move
hosts to another location in the CRUSH hierarchy. This means if you
let this run with defaults, setting osd_crush_location later will not
take effect. Set up your config file (or Chef environment) fully
before starting the OSDs the first time.

Signed-off-by: Tommi Virtanen <tv@inktank.com>
src/upstart/ceph-osd.conf