]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commit
Get OSD bootstrap key on the current node if possible 197/head
authorSergio de Carvalho <scarvalhojr@users.noreply.github.com>
Thu, 16 Apr 2015 16:35:46 +0000 (17:35 +0100)
committerSergio de Carvalho <scarvalhojr@users.noreply.github.com>
Tue, 28 Apr 2015 08:54:01 +0000 (09:54 +0100)
commit6472756eb52fcbfe2c1d7ea8a7bc45c9abc786ae
treec62fcc5a6f10c00bc670e5022aad61e5d2ba4344
parent8e16e3486e87aaed076a58453094ccf825ef1586
Get OSD bootstrap key on the current node if possible

When deploying monitor and OSD daemons on the same node, it is
possible to retrieve the OSD bootstrap key from the node itself
(if the monitor recipe has already been applied), instead of
relying on a search in Chef for existing monitors.

This change also serves as a workaround when monitor and OSD
daemons are being installed on the first node of the cluster and,
for some reason, chef-client doesn't converge at the first attempt.
Without this change, running chef-client a second time, the node
might not be found with the Chef search.
libraries/default.rb