]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
init-ceph: fix (and simplify) pushing ceph.conf to remote unique name
authorSage Weil <sage@inktank.com>
Tue, 23 Apr 2013 17:00:38 +0000 (10:00 -0700)
committerSage Weil <sage@inktank.com>
Wed, 24 Apr 2013 00:24:30 +0000 (17:24 -0700)
commita8e7e9df61a7229d9e2b4b4dedc68b5c1bf15c38
treeb33f943118aa6c88bf695b59e682be67d20d6c80
parent9374baccb8a71e1fe5ea2e614feac93e865dd027
init-ceph: fix (and simplify) pushing ceph.conf to remote unique name

The old code would only do the push once per remote node (due to the
list in $pushed_to) but would reset $unique on each attempt.  This would
break if a remote host was processed twice.

Fix by just skipping the $pushed_to optimization entirely.

Fixes: #4794
Reported-by: Andreas Friedrich <andreas.friedrich@ts.fujitsu.com>
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit ccbc4dbc6edf09626459ca52a53a72682f541e86)
src/init-ceph.in