Project

General

Profile

Actions

Bug #20691

closed

ceph pg dump complains that mgr caps are missing, but they shouldn't be

Added by Nathan Cutler almost 7 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

target149202175080:/home/ubuntu # ceph pg dump
Error EACCES: access denied' does your client key have mgr caps? See http://docs.ceph.com/docs/master/mgr/administrator/#client-authentication

The admin keyring appears to have the mgr caps:

target149202175080:/home/ubuntu # cat /etc/ceph/ceph.client.admin.keyring
[client.admin]
        key = AQDwfW9ZAAAAABAATcA/JrAy7PAz7k+biXIQ3A==
        caps mds = "allow *" 
        caps mon = "allow *" 
        caps osd = "allow *" 
        caps mgr = "allow *" 

Yet, it doesn't?

target149202175089:/home/ubuntu # ceph auth get client.admin
exported keyring for client.admin
[client.admin]
        key = AQDwfW9ZAAAAABAATcA/JrAy7PAz7k+biXIQ3A==
        caps mds = "allow *" 
        caps mgr = "allow profile mds" 
        caps mon = "allow *" 
        caps osd = "allow *" 
Actions #1

Updated by Nathan Cutler almost 7 years ago

  • Description updated (diff)
Actions #2

Updated by Nathan Cutler almost 7 years ago

  • Subject changed from ceph pg dump complains that mgr caps are missing, but they aren't to ceph pg dump complains that mgr caps are missing, but they shouldn't be
  • Status changed from New to Rejected

This is an issue with how the cluster is being deployed.

Actions #3

Updated by Greg Farnum almost 7 years ago

Never mind, misread the output.

Actions

Also available in: Atom PDF