Closed lepokle closed 5 years ago
I ran across the similar problem when creating a cluster with several old laptops. There must be something wrong when the first node was initialized. I re-created this node several times with "lxd init" before fixing the problem. I tweaked the options carefully according to my former operations and the prompts, such as the following one should be yes, then I fed it with the local cabled host network interface name:
Would you like to configure LXD to use an existing bridge or host interface? (yes/no) [default=no]: yes
Name of the existing bridge or host interface: enp0s25
Required information
Issue description
I had run a single LXD node over the past three years. However I wanted to extend this setup and build a cluster now. By accident, I've set the
cluster.https_address
to192.168.167.1:8443s
(note thes
at the end) by executinglxc config set cluster.https_address=192.168.167.1:8443s
. LXD reports the following error:Unfortunately I was not able to fix the misspelled address because changing this property is not yet supported. Running the command again shows:
Note that the node was not part of a cluster yet:
I think validation of the address and/or allowing to change the address while node is not part of a cluster would be helpful.
I've changed the value using raw SQL with
lxd sql
. I hope this does not cause any issues now when starting to build the cluster.Steps to reproduce
cluster.https_address
to an invalid address like192.168.167.1:8443s