]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs-mirror: silence warnings when connecting via mon host 41947/head
authorVenky Shankar <vshankar@redhat.com>
Mon, 14 Jun 2021 07:09:37 +0000 (03:09 -0400)
committerVenky Shankar <vshankar@redhat.com>
Mon, 21 Jun 2021 04:43:55 +0000 (00:43 -0400)
commitfa50684a885f4a375b690544e3c93691b0ae768a
treec46bfe7851e4bd159e5584a387cd1116ccdf7490
parent9b032821349062f1ee363ad03280219c766ed975
cephfs-mirror: silence warnings when connecting via mon host

When connecting to remote cluster via mon address, the cluster
confuration file is not required. However, the mirror daemon
fills up the ceph context with the cluster name resulting in
the following warning in (systemctl) logs:

    auth: unable to find a keyring on ...

These warning messages need to be silence as they can mislead
the user.

Fixes: http://tracker.ceph.com/issues/51204
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 98a8980e863814fd1d303e062e863b54ca3184f9)
src/tools/cephfs_mirror/Utils.cc