Ceph - By mistake corrupted client.admin keyring CAPS and getting 'Error connecting to cluster: PermissionDeniedError' on Red Hat Ceph Storage. Locked the Cluster unable to run any commands.

Solution Verified - Updated -

Issue

  • By mistake corrupted client.admin keyring CAPS and getting 'Error connecting to cluster: PermissionDeniedError' on Red Hat Ceph Storage. Locked the Cluster unable to run any commands.

  • After running the ceph auth import -i /etc/ceph/ceph.client.admin.keyring command, I am unable to run any further ceph commands. They all error with:

2017-01-23 10:13:01.773952 7f5cff5da700  0 librados: client.admin authentication error (13) Permission denied
Error connecting to cluster: PermissionDeniedError

Environment

  • Red Hat Ceph Storage 2.y
  • Red Hat Ceph Storage 1.3.z

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.