I am trying to achieve the result described in this part of documentation
I created first lxd instance bootstrapped it with
lxd init --peseed by which I set the core.https_address: to my.cluster:8443 where my.cluster is my desired ip address, then enabled clustering on the first instance, but when I tried to initialize the second instance and jonin it to my newly created cluster during initialization I was not asked about the core.https.address, when I tried to change it using
lxc config set I get an error saying that it’s not possible to bind that address.
Then according to that part:
“and then use the
PUT /1.0/cluster API endpoint as usual, specifying the address of the joining node with the
server_address field. If you use preseed, the YAML payload would be exactly like the one above.”
I tried to initialise and join the second one using --preseed by setting the exactly same core.https_address and the cluster part containing
server_address field in preseed config.
It initialised without error but both core.https_address and cluster.https_address are different than on first node.
What did I do wrong?