]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: ignore errors related to parsing the config file 30116/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 21 Aug 2019 21:20:51 +0000 (17:20 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 3 Sep 2019 21:02:41 +0000 (23:02 +0200)
commit6fa46c0ec3cf63549c8f9f08877df630984fee99
tree188c4a905eee626e964acd7b00a3d3d4918099f4
parent44529730d569616458015ae4277057e411e7fbb8
rbd-mirror: ignore errors related to parsing the config file

If one or more of the default search paths throw an error like
-EPERM, no longer abort the attempt to connect to the cluster.
Previously, after dropping privileges librados would attempt to
access "/root/.ceph/<cluster name>.conf" and would fail due to
the error, even if all the necessary data to connect was available
via the mon config-key store.

Fixes: https://tracker.ceph.com/issues/41356
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 1e8c41e5f72b4f42bc87f2a8b6f45a853cc19faf)
src/tools/rbd_mirror/PoolReplayer.cc