User Tools

Site Tools


ceph:troubleshooting:error_keyring_not_found

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ceph:troubleshooting:error_keyring_not_found [2019/07/18 07:17] (current)
Line 1: Line 1:
 +====== [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@ciberterminal.net|
 +^Notify changes to:|Owner |
 +^Tags:​|ceph,​ object storage |
 +
 +
 +====== The Error ======
 +
 +
 +<code bash>
 +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)
 +</​code>​
 +
 +
 +====== The cause ======
 +
 +''​radosgw''​ is not locating the keyring.
 +
 +====== The solution ======
 +
 +Push the keyring to the gateways:
 +<code bash>
 +scp /​etc/​ceph/​ceph.client.admin.keyring ${THESERVER}:/​etc/​ceph/​ceph.client.admin.keyring
 +</​code>​
 +\\
 +The keyring has root permissions:​
 +<code bash>
 +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
 +</​code>​
 +So you must change permissions temporary so ''​ceph''​ user can transfer it.
 +
 +
  
ceph/troubleshooting/error_keyring_not_found.txt ยท Last modified: 2019/07/18 07:17 (external edit)