Error while initializing cluster


(Park Kyung Won) #1
Error: Failed to configure cluster: failed to request to add node: not authorized
Error: Failed to connect to local LXD: Get http://unix.socket/1.0: dial unix /var/lib/lxd/unix.socket: connect: connection refused
Error: Failed to connect to local LXD: Get http://unix.socket/1.0: dial unix /var/lib/lxd/unix.socket: connect: connection refused

While doing lxd init with clustering feature, I get those messages from some nodes
It’s strange because they have identical hardwares
Why do I get those errors?


(Stéphane Graber) #2

Are you running this as a regular user who’s maybe not part of the lxd group yet?


(Park Kyung Won) #3

Yes

I was doing init with preseed files

made for each nodes. But strange thing is, it works for other nodes, not
for some nodes. Also from the journal of master node, I could see TLS bad
cert from IP of init failed node

2018년 5월 15일 (화) 오전 5:53, Stéphane Graber discuss@linuxcontainers.org님이
작성: