Project

General

Profile

Documentation #16356

doc: manual deployment of ceph monitor needs fix

Added by Tamilarasi muthamizhan over 7 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Administration/Usability
Target version:
-
% Done:

0%

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

Description

http://docs.ceph.com/docs/master/install/manual-deployment/

while setting up ceph-mon
step 8 in the doc says to create a mon keyring,
ceph-authtool --create-keyring /tmp/ceph.mon.keyring --gen-key -n mon. --cap mon 'allow *'

after the keyring is created in /tmp/ceph.mon.keyring has to be accessible by ceph user for mkfs to succeed.

so please add a step here like,

sudo chown ceph:ceph /tmp/ceph.mon.keyring

and on step 11: we need to run the command as root user or it is going to error out during mkfs

ex: sudo monmaptool --create --add {hostname} {ip-address} --fsid {uuid} /tmp/monmap

otherwise, the ceph-mon is never going to be created and will be stuck at ceph-create-keys.

the permissions of the files should be as follows:

ceph   ceph    214 Jun 16 22:44 /tmp/ceph.mon.keyring
root root 194 Jun 16 22:45 /tmp/monmap
ceph ceph 4096 Jun 17 01:28 /var/lib/ceph/mon/ceph-magna103

History

#1 Updated by Greg Farnum over 6 years ago

  • Tracker changed from Bug to Documentation
  • Project changed from Ceph to RADOS
  • Category changed from documentation to Administration/Usability

#2 Updated by Zac Dover about 4 years ago

  • Assignee set to Zac Dover

I'll take this one and look into it.

#3 Updated by Zac Dover over 3 years ago

  • Status changed from New to Resolved
  • Pull request ID set to 31452

Also available in: Atom PDF