Shared Storage (Ceph)

Hey I had this same problem initially. I was able to get a newer version on Ceph by changing the second line of this tutorials initial script to one listed for v19 on the Ceph documentation.

MYIP=ip route get 1.1.1.1 | grep -oP 'src \K\S+'

#curl --silent --remote-name --location #https://github.com/ceph/ceph/raw/octopus/src/cephadm/cephadm
#I changed the above line to this

curl --silent --remote-name --location https://download.ceph.com/rpm-19.1.0/el9/noarch/cephadm

chmod +x cephadm
mkdir -p /etc/ceph
./cephadm bootstrap --mon-ip $MYIP

Sometime around v17 they changed their download location from GitHub to their own site.

Alternatively, for Ubuntu you should be able to install cephadm with apt

apt install -y cephadm

Hope this helps!

1 Like

Thank you for the hint. Unfortunately, I always get this error message:

/usr/bin/docker: stderr failed to copy: read tcp 10.20.0.12:33562->80.228.47.67:443: read: connection reset by peer
Error: Failed command: /usr/bin/docker pull quay.io/ceph/ceph:v19

On the other hand, the host in question does react to a ping.

Update: I found out the cause of the break in connection: missing proxy settings for Docker!

Does the “master node” described in this tutorial have to be the same as the manager node of the Docker swarm?