Project

General

Profile

Documentation #16356

doc: manual deployment of ceph monitor needs fix

Added by Tamilarasi muthamizhan about 3 years ago. Updated about 2 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Administration/Usability
Target version:
-
Start date:
06/17/2016
Due date:
% 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 about 2 years ago

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

Also available in: Atom PDF