Can't join existing LXD cluster because I can't make changes to default project

Hello,

Having a little trouble rejoining a cluster with a node I. I create a token try to use that token to add the cluster member to an existing cluster after an lxd init…

boom I get this error

Error: Failed to join cluster: Failed to initialize member: Failed to initialize storage pools and networks: Failed to update local member project "default": You can't change the features of the default project

Here is the default project of the current cluster

config:
  features.images: "true"
  features.networks: "true"
  features.profiles: "true"
  features.storage.volumes: "true"
description: Default LXD project
name: default
used_by:
- /5.4/instances/nds
- /5.4/instances/pi-hole
- /5.4/instances/pi-hole2
- /1.0/profiles/bridge_network
- /1.0/profiles/default
- /1.0/profiles/demo
- /1.0/profiles/uptime-kuma
- /1.0/images/269b7a98b03082e01f71b72770b9c80fdfd3934864ebdf1eab89a486fc9c9b4b
- /1.0/images/37642262b80ba8ad4880a6fecb86df5ed9e46760680865e82c241f3edd68b09c
- /1.0/images/3cb11244746ec75aa427c73a7a885ab6e62dbbef1640812ecad499a02b7037a7
- /1.0/images/8b3cae2e46f37fa14a92a5963b0a330bf122aace7881c0edc07570aee1f47238
- /1.0/images/8fe1c8f9f5b534b2f68e3b9b13b22e70c88a43146969bfb8c5df991dc2e408dc
- /1.0/images/95f82d22bea6a0d20dc3c06a59929b768abd0c7243d5298c3973f1808688d117
- /1.0/images/a24f4fb7242288650d9940d24905f5c1e7862589ba6975a07cca040cb4496d4d
- /1.0/images/ee1c79c7b3dc0c2af2a1083c8fdf8c133da13a5bcc755eb89976320a7cc0244e
- /1.0/networks/UPLINK
- /1.0/networks/my-ovn

here is the project on the new machine

config:
  features.images: "true"
  features.profiles: "true"
  features.storage.volumes: "true"
description: Default LXD project
name: default
used_by:
- /1.0/profiles/default
- /1.0/networks/UPLINK
- /1.0/networks/lxdbr0

I can only assume lxd is trying to add features.networks: "true" to the new machine and in the default project and it throws an error.

Is there a way around this?

Thank you

OK so you’re missing this line in your config.

What verion of LXD is the cluster and the joining member?

Its most likely caused by this

And this work around should allow you to fix the joining member:

Thank you very much!!! That was it… I was able to join the cluster with no problems.

Thank you,
Adrean

1 Like