Rate This Document
Findability
Accuracy
Completeness
Readability

"auth: unable to find a keyring" Displayed After the ceph -s Command Is Run

Symptom

The message "Auth: unable to find a keyring" is displayed.

Key Process and Cause Analysis

None

Conclusion and Solution

When a non-root user runs the Ceph cluster, an error may be reported when the current user reads files due to lack of the read permission. You are advised to install the ACL software package and grant the current user the permission for reading files. For example, if the ceph-adm user is used, run the following commands:

1
2
3
4
# Install the ACL software package.
ceph-adm@mon:~/cluster$ sudo apt install  acl -y
# Grant the read permission on the key file to ceph-adm.
ceph-adm@ceph1:~/cluster$ sudo setfacl -m u:ceph-adm:r /etc/ceph/ceph.client.admin.keyring