linux:ceph:troubleshooting:error_keyring_not_found
Table of Contents
[TROUBLESHOOT] Keyring not found on radosgw
Documentation | |
---|---|
Name: | [TROUBLESHOOT] Keyring not found on radosgw |
Description: | how to solve this “issue” |
Modification date : | 12/06/2019 |
Owner: | dodger |
Notify changes to: | Owner |
Tags: | ceph, object storage |
Scalate to: | Thefuckingbofh |
The Error
avmlp-osgw-001 /home/bofher :( # radosgw-admin zone get 2019-06-12 10:52:41.603 7f11d9c17580 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory 2019-06-12 10:52:41.603 7f11d9c17580 -1 AuthRegistry(0x55713ae351e8) no keyring found at /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,, disabling cephx 2019-06-12 10:52:41.604 7f11d9c17580 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory 2019-06-12 10:52:41.604 7f11d9c17580 -1 AuthRegistry(0x7fff3f12d918) no keyring found at /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,, disabling cephx failed to fetch mon config (--no-mon-config to skip)
The cause
radosgw
is not locating the keyring.
The solution
Push the keyring to the gateways:
scp /etc/ceph/ceph.client.admin.keyring ${THESERVER}:/etc/ceph/ceph.client.admin.keyring
The keyring has root permissions:
ceph@avmlp-osm-001 ~/ceph-deploy $ ll /etc/ceph/ceph.client.admin.keyring -rw------- 1 root root 151 Jun 11 12:10 /etc/ceph/ceph.client.admin.keyring
So you must change permissions temporary so ceph
user can transfer it.
linux/ceph/troubleshooting/error_keyring_not_found.txt · Last modified: 2022/02/11 11:36 by 127.0.0.1