Hi.
With this repo I learn how to use Terraform on Hetzner-Cloud
and deploy a ceph 3-Node cluster with bash script's
terraform and bash scripts
are deployed with python3 to the VM's
Processes are: ceph-mon, ceph-osd, ceph-mgr, ceph-crush
problems: processes mon,osd,mgr does not start or exit fast witout any error messages
solution: chmod,chown of keyring in /var/lib/ceph/[mon,osd,mgr]/keyring
# cd into terraform subdir hz or hz-min
cd hz
# set hcloud_token , terraform.tfvars (option)
terraform init # one time
# create ssh-keys and deploy terraform
python3 deploy.py
cd ..
python3 deploy-ceph.py
# check ceph-cluster
python3 terra-ssh.py 'ceph -s' # timeout ?
python3 terra-ssh 'ceph/run-ps.sh'
python3 terra-ssh.py 'md5sum /tmp/*'
python3 terra-ssh.py 'source ./host.conf; echo $node'
python3 terra-ssh 'ceph/run-ps.sh'
python3 terra-ssh.py 'ceph -s' # timeout ?