Bug 1506902 - [DOC][Block Device]: Rbd client key creation should be updated with new cepx caps statements.
Summary: [DOC][Block Device]: Rbd client key creation should be updated with new cepx ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 3.0
Assignee: Bara Ancincova
QA Contact: Parikshith
URL:
Whiteboard:
Depends On:
Blocks: 1496210
TreeView+ depends on / blocked
 
Reported: 2017-10-27 06:44 UTC by Parikshith
Modified: 2017-12-26 03:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-26 03:42:04 UTC
Embargoed:


Attachments (Terms of Use)

Description Parikshith 2017-10-27 06:44:03 UTC
Description of problem:

As per upstream doc: [1] http://docs.ceph.com/docs/master/rbd/rados-rbd-cmds/#create-a-block-device-user

To create a Ceph user, with ceph specify the auth get-or-create command, user name, monitor caps, and OSD caps:

ceph auth get-or-create client.{ID} mon 'profile rbd' osd 'profile {profile name} [pool={pool-name}][, profile ...]'

For example, to create a user ID named qemu with read-write access to the pool vms and read-only access to the pool images, execute the following:

ceph auth get-or-create client.qemu mon 'profile rbd' osd 'profile rbd pool=vms, profile rbd-read-only pool=images'

The output from the ceph auth get-or-create command will be the keyring for the specified user, which can be written to /etc/ceph/ceph.client.{ID}.keyring.


Additional info:
This simplified rbd key creation should also be updated in 

Installation Guides: Appendix D. Manually Installing Ceph Block Device


Note You need to log in before you can comment on or make changes to this bug.