Project

General

Profile

Actions

Bug #51628

closed

bogus "unable to find a keyring" warning on "rbd mirroring bootstrap import"

Added by Ritesh Shah almost 3 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
octopus,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
07/12/2021
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hi,

While bootstrapping import command, it fails with the following error message :

[root@ceph-node01 ceph]# rbd --cluster site-b mirror pool peer bootstrap import --site-name site-b rbd token
2021-07-06T09:35:25.293-0400 7f96cc89c2c0 -1 auth: unable to find a keyring on /etc/ceph/..keyring,/etc/ceph/.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
2021-07-06T09:35:25.294-0400 7f96cc89c2c0 -1 auth: unable to find a keyring on /etc/ceph/..keyring,/etc/ceph/.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
2021-07-06T09:35:25.294-0400 7f96cc89c2c0 -1 auth: unable to find a keyring on /etc/ceph/..keyring,/etc/ceph/.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory

I have admin keys and ceph.conf from both the cluster’s on a common admin and am able to execute all commands on both the cluster’s but not this command.
I followed this : https://docs.ceph.com/en/latest/rbd/rbd-mirroring

Can someone help me understand how to fix the above issue or is this a bug?

Regards
Ritesh


Related issues 2 (0 open2 closed)

Copied to rbd - Backport #52735: pacific: bogus "unable to find a keyring" warning on "rbd mirroring bootstrap import"ResolvedIlya DryomovActions
Copied to rbd - Backport #52736: octopus: bogus "unable to find a keyring" warning on "rbd mirroring bootstrap import"ResolvedIlya DryomovActions
Actions

Also available in: Atom PDF