Project

General

Profile

Actions

Feature #7484

open

better wording when authentication fails

Added by Alfredo Deza about 10 years ago. Updated about 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
ceph cli
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

After having a mismatch for the client.admin.keyring in a new host that I needed to get a monitor running I was getting the following output:

vagrant@node3:~$ ls /var/lib/ceph/mon/ceph-node3/
vagrant@node3:~$ sudo ceph health
2014-02-19 21:10:08.423410 7f80b2e10700  0 librados: client.admin authentication error (1) Operation not permitted
Error connecting to cluster: PermissionError
vagrant@node3:~$ sudo ceph auth list
2014-02-19 21:11:52.805005 7fd8c7dba700  0 librados: client.admin authentication error (1) Operation not permitted
Error connecting to cluster: PermissionError

If instead the error could be better worded and give a hint at the problem it would've helped. Like:

client.admin.keyring mismatch
Error connecting to cluster: PermissionError
Actions #1

Updated by Samuel Just about 10 years ago

  • Tracker changed from Bug to Feature
  • Target version set to 0.78
Actions #2

Updated by Samuel Just about 10 years ago

  • Target version deleted (0.78)
Actions

Also available in: Atom PDF