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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content