Actions
Documentation #16356
closeddoc: manual deployment of ceph monitor needs fix
% 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
Actions