It has been a while that I dont create a cluster. and with 5 new servers that I installed from scratch I was giving incus a try instead of lxd.
However I am getting the following error:
root@ceph-1:~# incus admin init
Would you like to use clustering? (yes/no) [default=no]: yes
What IP address or DNS name should be used to reach this server? [default=192.168.210.41]: 192.168.210.41:9443
Are you joining an existing cluster? (yes/no) [default=no]:
What member name should be used to identify this server in the cluster? [default=ceph-1]:
Do you want to configure a new local storage pool? (yes/no) [default=yes]: no
Do you want to configure a new remote storage pool? (yes/no) [default=no]:
Would you like to use an existing bridge or host interface? (yes/no) [default=no]:
Would you like stale cached images to be updated automatically? (yes/no) [default=yes]:
Would you like a YAML “init” preseed to be printed? (yes/no) [default=no]:
root@ceph-1:~# incus cluster add ceph-2
Member ceph-2 join token:
eyJzZXJ2ZXJfbmFtZSI6ImNlcGgtMiIsImZpbmdlcnByaW50IjoiNTQ1MDE0MmQzNDk1NzdjMjFmODQxOTVkYTcyY2VlODFiNDJkYWI0YTllZDliNjMzZDU2NzMyZjZlYmJkZjAwMSIsImFkZHJlc3NlcyI6WyIxOTIuMTY4LjIxMC40MTo5NDQzIl0sInNlY3JldCI6IjU0YWIxZDYwNDlmNzA3N2JiYWRiM2FkOWY3ZDBmNzJkZTZiMDFmYzA5MGE0YjgwZDlhMWJmYjdjYzgyOWVjZmYiLCJleHBpcmVzX2F0IjoiMjAyNC0xMC0wNFQyMDowOTo1My44NDI2ODU5MzdaIn0=
root@ceph-1:~#
root@ceph-2:~# incus admin init
Would you like to use clustering? (yes/no) [default=no]: yes
What IP address or DNS name should be used to reach this server? [default=192.168.210.39]: 192.168.210.39:9443
Are you joining an existing cluster? (yes/no) [default=no]: yes
Please provide join token: eyJzZXJ2ZXJfbmFtZSI6ImNlcGgtMiIsImZpbmdlcnByaW50IjoiNTQ1MDE0MmQzNDk1NzdjMjFmODQxOTVkYTcyY2VlODFiNDJkYWI0YTllZDliNjMzZDU2NzMyZjZlYmJkZjAwMSIsImFkZHJlc3NlcyI6WyIxOTIuMTY4LjIxMC40MTo5NDQzIl0sInNlY3JldCI6IjU0YWIxZDYwNDlmNzA3N2JiYWRiM2FkOWY3ZDBmNzJkZTZiMDFmYzA5MGE0YjgwZDlhMWJmYjdjYzgyOWVjZmYiLCJleHBpcmVzX2F0IjoiMjAyNC0xMC0wNFQyMDowOTo1My44NDI2ODU5MzdaIn0=
Error connecting to existing cluster member “192.168.210.41:9443”: Get “https://192.168.210.41:9443”: Forbidden
Error: Unable to connect to any of the cluster members specified in join token
root@ceph-2:~#
Probably a newbie thing.
I am using both hosts with ubuntu 22.04 just freshly installed and upgraded and I created 3 openstack ubuntu 24.04 VMs that had the same issue.
Thanks in advance, Luis