Documentation #16356
closeddoc: manual deployment of ceph monitor needs fix
0%
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
Updated by Greg Farnum almost 7 years ago
- Tracker changed from Bug to Documentation
- Project changed from Ceph to RADOS
- Category changed from documentation to Administration/Usability
Updated by Zac Dover over 4 years ago
- Assignee set to Zac Dover
I'll take this one and look into it.
Updated by Zac Dover almost 4 years ago
- Status changed from New to Resolved
- Pull request ID set to 31452
https://github.com/ceph/ceph/pull/31452 resolves this issue.