Trying to setup a lxd cluster on Ubuntu 20.04 and getting an error on the node:
root@ubuntu-s-1vcpu-1gb-sgp1-01:~# lxd init
Would you like to use LXD clustering? (yes/no) [default=no]: yes
What name should be used to identify this node in the cluster? [default=ubuntu-s-1vcpu-1gb-sgp1-01]: ubuntu-s-1vcpu-1gb-sgp1-02
What IP address or DNS name should be used to reach this node? [default=167.99.79.123]: 10.88.8.6
Invalid input: Can't bind address "10.88.8.6:8443": listen tcp 10.88.8.6:8443: bind: address already in use
When I run lxd init first time it already failed so thought by restarting lxd init, it will work. But it seems lxd init start the daemon automatically and bind this address. Is there a way to fix this?
Tried stopping the daemon using:
snap stop lxd
Also tried
systemctl stop snap.lxd.daemon
None worked and it always give a bind address error.