Bug #57016
closedcephadm bootstrap begs robustness
0%
Description
How do i just start over?
First time i tried cephadm bootstrap and it failed i guessed it wasn't good with PermitRootLogin set to no in /etc/ssh/sshd_config so i set that to yes, and also thought it best to upgrade all packages and reboot.
Next try it complained that /etc/ceph/ceph.conf already exists, and then /etc/ceph/ceph.client.admin.keyring, and then /etc/ceph/ceph.pub, so i moved them to a souvenir bin.
Next it complained "Cannot bind to IP 192.168.176.13 port 3300: [Errno 98] Address already in use", so i killed off the ceph processes and tried again.
Next it complained "Waiting for mon to start... Waiting for mon...
Non-zero exit code 13 from /usr/bin/podman run --rm--ipc=host --stop-signal=SIGTERM --net=host --entrypoint /usr/bin/ceph --init -e CONTAINER_IMAGE=quay.io/ceph/ceph:v17 -e NODE_NAME=tangelo -e CEPH_USE_RANDOM_NONCE=1 -v /var/lib/ceph/d0e93cf8-12a0-11ed-83c2-8cdcd4320acb/mon.tangelo:/var/lib/ceph/mon/ceph-tangelo:z -v /tmp/ceph-tmp0cemkjph:/etc/ceph/ceph.client.admin.keyring:z -v /tmp/ceph-tmpkh0pixyn:/etc/ceph/ceph.conf:z quay.io/ceph/ceph:v17 status
/usr/bin/ceph: stderr 2022-08-02T20:23:07.594+0000 7f3ece419700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2,1]
/usr/bin/ceph: stderr [errno 13] RADOS permission denied (error connecting to the cluster)
ERROR: mon not available after 15 tries"
How do i just start over?