ceph-container: docker restart, mon's unable to join

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

 



@Stefan

Did you find any solution to your problem? I just got the same error ... I have a running pacific cluster with 4x monitor servers and wanted to join a fifth monitor via docker container. My container start command is:

docker run --name ceph-mon-arbiter01 --net=host -v /etc/ceph:/etc/ceph -v /var/lib/ceph/:/var/lib/ceph/ -e MON_IP=192.168.2.5 -e CEPH_PUBLIC_NETWORK=192.168.2.0/24 quay.io/ceph/daemon:latest-pacific mon

This works for the first time - then if i stop the container and start it again i just geht the following output:

2022-06-17 14:47:41  /opt/ceph-container/bin/entrypoint.sh: Existing mon, trying to rejoin cluster...

After that, the container exits.

If i manually delete /var/lib/ceph/mon/ceph-arbiter01/  then the container is starting again.

Regards,
Kilian

_______________________________________________
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