MON: global_init: error reading config file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

In my environment I have a single node and I'm trying to run a ceph monitor
as a docker container using a kv store.

Version: Octopus (stable-5.0)

2020-12-12 00:24:28  /opt/ceph-container/bin/entrypoint.sh: STAYALIVE:
container will not die if a command fails.,
2020-12-12 00:24:28  /opt/ceph-container/bin/entrypoint.sh: 'auth' key
already exists,
2020-12-12 00:24:28  /opt/ceph-container/bin/entrypoint.sh: 'global' key
already exists,
2020-12-12 00:24:28  /opt/ceph-container/bin/entrypoint.sh: 'mon' key
already exists,
2020-12-12 00:24:28  /opt/ceph-container/bin/entrypoint.sh: 'mds' key
already exists,
2020-12-12 00:24:28  /opt/ceph-container/bin/entrypoint.sh: 'osd' key
already exists,
2020-12-12 00:24:28  /opt/ceph-container/bin/entrypoint.sh: 'client' key
already exists,
2020-12-12 00:24:28  /opt/ceph-container/bin/entrypoint.sh: Adding Mon Host
- vdicnode01.,
0.0.0.0,
vdicnode01,
true,
2020-12-12 00:24:28  /opt/ceph-container/bin/entrypoint.sh: Configuration
found for cluster ceph. Writing to disk.,
true,
2020-12-12T00:24:29+01:00 vdicnode01.local /tmp/gztmpGeLTQkuFB/confd[139]:
INFO Backend set to etcd,
2020-12-12T00:24:29+01:00 vdicnode01.local /tmp/gztmpGeLTQkuFB/confd[139]:
INFO Starting confd,
2020-12-12T00:24:29+01:00 vdicnode01.local /tmp/gztmpGeLTQkuFB/confd[139]:
INFO Backend source(s) set to http://127.0.0.1:2379,
2020-12-12 00:24:29  /opt/ceph-container/bin/entrypoint.sh: Adding
bootstrap keyrings.,
2020-12-12 00:24:30  /opt/ceph-container/bin/entrypoint.sh: Adding
mon/admin Keyrings.,
2020-12-12 00:24:30  /opt/ceph-container/bin/entrypoint.sh: Trying to get
the most recent monmap...,
Error initializing cluster client: InvalidArgumentError('RADOS invalid
argument (error calling conf_read_file)',),
2020-12-12 00:24:30  /opt/ceph-container/bin/entrypoint.sh: Peers not
found, using initial monmap.,
2020-12-12 00:24:30  /opt/ceph-container/bin/entrypoint.sh: Removing lock
for vdicnode01.,
PrevNode.Value: vdicnode01,
importing contents of /var/lib/ceph/bootstrap-osd/ceph.keyring into
/etc/ceph/ceph.mon.keyring,
importing contents of /var/lib/ceph/bootstrap-mds/ceph.keyring into
/etc/ceph/ceph.mon.keyring,
importing contents of /var/lib/ceph/bootstrap-rgw/ceph.keyring into
/etc/ceph/ceph.mon.keyring,
importing contents of /var/lib/ceph/bootstrap-rbd-mirror/ceph.keyring into
/etc/ceph/ceph.mon.keyring,
importing contents of /etc/ceph/ceph.client.admin.keyring into
/etc/ceph/ceph.mon.keyring,
global_init: error reading config file.,

And container dies (even the stayalive flag).

docker service create -d --network=host \
--mount type=bind,source=/var/lib/ceph,destination=/var/lib/ceph \
--mount type=bind,source=/var/log/ceph,destination=/var/log/ceph \
--mount type=bind,source=/etc/localtime,destination=/etc/localtime,readonly
\
-e KV_TYPE=etcd \
-e KV_IP=127.0.0.1 \
-e KV_PORT=2379 \
-e MON_IP=0.0.0.0 \
-e CEPH_PUBLIC_NETWORK=192.168.100.0/24 \
-e CEPH_CLUSTER_NETWORK=192.168.100.0/24 \
-e DEBUG=stayalive \
--name=vdicube_ceph_mon \
--mode=global \
--constraint node.labels.mon==1 \
ceph/daemon:v5.0.6-stable-5.0-octopus-centos-8 mon

Anyone has experimented the same issue?

Thanks a lot.
Ó
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux