Bug 2040161 - [RBD-Mirror] - Bootstrap import error message " unable to find a keyring on /etc/ceph/..keyring"
Summary: [RBD-Mirror] - Bootstrap import error message " unable to find a keyring on /...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD-Mirror
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.3
Assignee: Ilya Dryomov
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-13 06:58 UTC by Vasishta
Modified: 2022-05-05 07:54 UTC (History)
4 users (show)

Fixed In Version: ceph-14.2.22-50.el8cp, ceph-14.2.22-50.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-05 07:54:26 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-2959 0 None None None 2022-01-13 07:01:31 UTC
Red Hat Product Errata RHSA-2022:1716 0 None None None 2022-05-05 07:54:49 UTC

Description Vasishta 2022-01-13 06:58:44 UTC
This bug was initially created as a copy of Bug #1981186

I am copying this bug because: Issue has been fixed in 5.x
Needs to be backported to 4.x



Description of problem: During bootstrap import on the secondary cluster we get the below error message

[ceph: root@ceph-hmunjulu-1626052127701-node1-mon-mgr-installer-node-export /]# rbd mirror pool peer bootstrap import --site-name site-b --direction rx-only data /root/bootstrap_token_site-a
2021-07-12T01:40:29.072+0000 7fc1ec4ff2c0 -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-12T01:40:29.074+0000 7fc1ec4ff2c0 -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-12T01:40:29.074+0000 7fc1ec4ff2c0 -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


How reproducible: 2/2


Steps to Reproduce:
1.Site a - Create a bootstrap 
[ceph: root@rbd-client-site-a /]# rbd mirror pool peer bootstrap create --site-name site-a data > /root/bootstrap_token_site-a
2. Copy the bootstrap token file to the site-b storage cluster.
3. Import the bootstrap token on the site-b storage cluster:
[ceph: root@rbd-client-site-b /]# rbd mirror pool peer bootstrap import --site-name site-b --direction rx-only data /root/bootstrap_token_site-a


Actual results: [ceph: root@ceph-hmunjulu-1626052127701-node1-mon-mgr-installer-node-export /]# rbd mirror pool peer bootstrap import --site-name site-b --direction rx-only data /root/bootstrap_token_site-a
2021-07-12T01:40:29.072+0000 7fc1ec4ff2c0 -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-12T01:40:29.074+0000 7fc1ec4ff2c0 -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-12T01:40:29.074+0000 7fc1ec4ff2c0 -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



Expected results: Import should not give any error

Comment 8 errata-xmlrpc 2022-05-05 07:54:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 4.3 Security and Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:1716


Note You need to log in before you can comment on or make changes to this bug.