Can't add to Cluster does not work. Any ideas?

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=84.17.40.19]:
Are you joining an existing cluster? (yes/no) [default=no]: yes
Please provide join token: MDZmODdlNWM2YTg1ZmIyNjVkNWI4ODQ3Mjc1MGQwOTA0Yjg5YWEwMjFlMGMzNjJkYWQwYjhjOGIzMTIyMyIsImV4cGlyZXNfYXQiOiIyMDIzLTEyLTIyVDE3OjQzOjU3Ljk4MzM5NDEyMS0wNTowMCJ9
All existing data is lost when joining a cluster, continue? (yes/no) [default=no] yes
Choose “source” property for storage pool “default”:
Choose “source” property for storage pool “local”:
Would you like a YAML “init” preseed to be printed? (yes/no) [default=no]:
Error: Failed to join cluster: Failed to initialize member: Failed to initialize storage pools and networks: Failed to update storage pool “default”: Config key “source” is cluster member specific

thanks

Are all servers running the same version of Incus?
And is the server you’re trying to join into the cluster, clean of any data?

The error suggests that the joining server may not be clean and may already have had a default storage pool, causing a conflict.

I have some test containers loaded already. I thought it would incorporate them or delete them automatically. I will remove them and try again. Thanks

I stopped and deleted containers, but when I ran init got;Error: Failed to join cluster: Failed to initialize member: Failed to initialize storage pools and networks: Failed to update storage pool “default”: Config key “source” is cluster member specific.
How do I reset Storage pool ?

  • incus profile device remove default root
  • incus profile device remove default eth0
  • incus network delete incusbr0
  • incus storage delete default

That should take care of both storage and network.

Tried that on New server, got the following
root@Q3:/home/ic2000# incus profile device remote default root
Error: unknown command “remote” for “incus profile device”
root@Q3:/home/ic2000# incus profile device remote default eth0
Error: unknown command “remote” for “incus profile device”
root@Q3:/home/ic2000# incus network delete incusbr0
Error: The network is currently in use
root@Q3:/home/ic2000# incus storage delete default
Error: The storage pool is currently in use
root@Q3:/home/ic2000#

oops, was meant to be remove

Ha ha, worked a heck of a lot better, thanks.