Project

General

Profile

Actions

Documentation #11897

closed

Documentation on ceph auth caps is not specific enough.

Added by Sam Matzek almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

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

Description

Please excuse me if this needs to be under Tracker: Documentation rather than Tracker: Bug. I don't know the semantics for reporting Documentation issues in the Ceph project.

The page: http://ceph.com/docs/master/rados/operations/user-management/#authorization-capabilities
Is not clear enough on how ceph auth caps adds user authorizations. It currently says "The ceph auth caps command allows you to specify a user and change the user’s capabilties. To add capabilities, use the form:"

What it doesn't say is that ceph auth caps does a set/replace versus being additive to the users current capabilities. When trying to test out rbd snapshot of OpenStack VM ephemeral disk code while using separate images and vms pools I ran this command for my glance user, which removed the glance user's authorizations to the images pool:

ceph auth caps client.glance mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=vms'

The documentation should be updated to make it clear that using ceph auth caps to add capabilities is complete replace versus and add.

Now, obviously, if the intent of ceph auth caps is to be additive then this is a bug against that function rather than a documentation update.

I am using ceph 0.80.7

Actions #1

Updated by Sage Weil almost 9 years ago

  • Tracker changed from Bug to Documentation
  • Assignee set to John Wilkins
  • Priority changed from Normal to High
Actions #2

Updated by John Wilkins over 8 years ago

  • Status changed from New to Resolved

Fixed by Aron Gunn.

Actions

Also available in: Atom PDF