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

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

 



On 6/20/22 16:11, Kilian Ries wrote:
This was related to an older post back from 2020:


https://lists.ceph.io/hyperkitty/list/ceph-users@xxxxxxx/thread/GBUBEGTZTAMNEQNKUGS47M6W6B4AEVVS/

Yeah, I can remember that. Not sure if I ever got that fixed though. I tried to remember the details past weekend but to no avail. I replaced that setup with a "ceph-ansible" setup. And later on to a cephadm based setup (which it currently is).


------------------------------------------------------------------------
*Von:* Kilian Ries <mail@xxxxxxxxxxxxxx>
*Gesendet:* Freitag, 17. Juni 2022 17:23:03
*An:* ceph-users@xxxxxxx; stefan@xxxxxx
*Betreff:* ceph-container: docker restart, mon's unable to join
@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


Hmm, I might remember it now ... can you add a "--privileged" to that docker command?

This is what I currently have for one of the mons:

docker run --rm --ipc=host --net=host --entrypoint /usr/bin/ceph-mon --privileged --group-add=disk --name ceph-UUID-here-mon.host1 -e CONTAINER_IMAGE=quay.io/ceph/ceph:v15.2.16

Gr. Stefan
_______________________________________________
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