Hi Paul,
That is the initial question, is it possible to recover my ceph cluster (docker based) if I loose all information stored in the etcd...
I don't know if anyone has a clear answer to these questions..
1.- I bootstrap a complete cluster mons, osds, mgr, mds, nfs, etc using etcd as a key store
2.- There is an electric blackout and all nodes of my cluster goes down and all data in my etcd is lost (but muy osd disks have useful data)
Thanks a lot
Óscar
El mar., 16 jul. 2019 17:58, Oscar Segarra <oscar.segarra@xxxxxxxxx> escribió:
Thanks a lot Janne,Well, maybe I'm missunderstanding how ceph stores keyrings in etcd...
bootstrap="bootstrap${array[1]}Keyring" etcdctl "${ETCDCTL_OPTS[@]}" "${KV_TLS[@]}" set "${CLUSTER_PATH}"/"${bootstrap}" < "$keyring" But I'd like to know what happens if etcd loses the keyrings sotred in it when etcd is used to deploy ceph daemons as containers:With KV backend:
docker run -d --net=host \ --privileged=true \ --pid=host \ -v /dev/:/dev/ \ -e OSD_DEVICE=/dev/vdd \ -e KV_TYPE=etcd \ -e KV_IP=192.168.0.20 \ ceph/daemon osd
Thanks a lot for your help,ÓscarEl mar., 16 jul. 2019 17:34, Janne Johansson <icepic.dz@xxxxxxxxx> escribió:Den mån 15 juli 2019 kl 23:05 skrev Oscar Segarra <oscar.segarra@xxxxxxxxx>:--Hi Frank,Thanks a lot for your quick response.Yes, the use case that concerns me is the following:1.- I bootstrap a complete cluster mons, osds, mgr, mds, nfs, etc using etcd as a key storeas a key store ... for what? Are you stuffing anything ceph-related there? If so, please tell us what.As previously said, ceph has no etcd concept so unless you somehow pull stuff out of ceph and feed it into etcd, ceph will be completely careless if you lose etcd data.May the most significant bit of your life be positive.
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com