Hi,
I'm installing a new ceph cluster manually. I get errors when I create osd:
# ceph-osd -i 0 --mkfs --mkkey
2019-01-24 17:07:44.045 7f45f497b1c0 -1 auth: unable to find a keyring on /var/lib/ceph/osd/ceph-0/keyring: (2) No such file or directory
2019-01-24 17:07:44.045 7f45f497b1c0 -1 monclient: ERROR: missing keyring, cannot use cephx for authentication
Some informations are provided, did I miss anything?
# cat /etc/ceph/ceph.conf:
[global]
...
[osd.0]
host = ceph-osd1
osd data = "">
bluestore block path = /dev/disk/by-partlabel/bluestore_block_0
bluestore block db path = /dev/disk/by-partlabel/bluestore_block_db_0
bluestore block wal path = /dev/disk/by-partlabel/bluestore_block_wal_0
# ls /var/lib/ceph/osd/ceph-0
type
# cat /var/lib/ceph/osd/ceph-0/type
bluestore
# ceph -s
cluster:
id: 7712ab7e-3c38-44b3-96d3-4e1de9da0ff6
health: HEALTH_OK
services:
mon: 3 daemons, quorum ceph-mon1,ceph-mon2,ceph-mon3
mgr: ceph-mon1(active), standbys: ceph-mon2, ceph-mon3
osd: 1 osds: 0 up, 0 in
data:
pools: 0 pools, 0 pgs
objects: 0 objects, 0 B
usage: 0 B used, 0 B / 0 B avail
pgs:
# ceph --version
ceph version 13.2.4 (b10be4d44915a4d78a8e06aa31919e74927b142e) mimic (stable)
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
- Follow-Ups:
- Re: create osd failed due to cephx authentication
- From: Marc Roos
- Re: create osd failed due to cephx authentication
- Prev by Date: Re: Commercial support
- Next by Date: Re: cephfs kernel client instability
- Previous by thread: logging of cluster status (Jewel vs Luminous and later)
- Next by thread: Re: create osd failed due to cephx authentication
- Index(es):