]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
init-ceph: fix (and simplify) pushing ceph.conf to remote unique name 237/head
authorSage Weil <sage@inktank.com>
Tue, 23 Apr 2013 17:00:38 +0000 (10:00 -0700)
committerSage Weil <sage@inktank.com>
Tue, 23 Apr 2013 17:00:38 +0000 (10:00 -0700)
commitccbc4dbc6edf09626459ca52a53a72682f541e86
treeea508310df8d373adb169c22b019b610a2ad4326
parent7ad63d23d74e5bc45c44a0192ab1f49ceb68ffa7
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>
src/init-ceph.in