Can not enter into my container, but container is running. Also container do not have ip addresses
P.S. I entered in container but all work very slowly and almost all services do not work
root@lxd0x:/home/quersys# lxc exec test001 -- /bin/bash
root@test001:~#
lxc list
lxc cluster list
`quersys@lxd02:~$ systemctl status snap.lxd.daemon
● snap.lxd.daemon.service - Service for snap application lxd.daemon
Loaded: loaded (/etc/systemd/system/snap.lxd.daemon.service; static; vendor preset: enabled)
Active: active (running) since Tue 2020-12-01 10:34:09 UTC; 47min ago
TriggeredBy: ● snap.lxd.daemon.unix.socket
Main PID: 1294 (daemon.start)
Tasks: 0 (limit: 4620)
Memory: 25.9M
CGroup: /system.slice/snap.lxd.daemon.service
‣ 1294 /bin/sh /snap/lxd/18402/commands/daemon.start
Dec 01 10:34:21 lxd02 lxd.daemon[1581]: t=2020-12-01T10:34:21+0000 lvl=warn msg=“Dqlite: attempt 6: server 192.168.100.54:8443: dial: Failed to connect to HTTP endpoint: dial tcp 192.168.100.54:8443: connect: connection refused”
Dec 01 10:34:22 lxd02 lxd.daemon[1581]: t=2020-12-01T10:34:22+0000 lvl=warn msg=“Dqlite: attempt 7: server 192.168.100.53:8443: no known leader”
Dec 01 10:34:22 lxd02 lxd.daemon[1581]: t=2020-12-01T10:34:22+0000 lvl=warn msg=“Dqlite: attempt 7: server 192.168.100.54:8443: dial: Failed to connect to HTTP endpoint: dial tcp 192.168.100.54:8443: connect: connection refused”
Dec 01 10:34:25 lxd02 lxd.daemon[1581]: t=2020-12-01T10:34:25+0000 lvl=warn msg=“Dqlite: attempt 0: server 192.168.100.53:8443: no known leader”
Dec 01 10:48:05 lxd02 lxd.daemon[1581]: t=2020-12-01T10:48:05+0000 lvl=warn msg="Excluding offline node from refresh: {ID:2 Address:192.168.100.53:8443 Raft:true LastHeartbeat:2020-12-01 10:33:25.822460464 +000>
Dec 01 10:48:05 lxd02 lxd.daemon[1581]: 2020/12/01 10:48:05 http: superfluous response.WriteHeader call from github.com/lxc/lxd/lxd/response.(*errorResponse).Render (response.go:224)
Dec 01 10:48:05 lxd02 lxd.daemon[1581]: 2020/12/01 10:48:05 http: superfluous response.WriteHeader call from github.com/lxc/lxd/lxd/response.(*errorResponse).Render (response.go:224)
Dec 01 10:48:05 lxd02 lxd.daemon[1581]: 2020/12/01 10:48:05 http: superfluous response.WriteHeader call from github.com/lxc/lxd/lxd/response.(*errorResponse).Render (response.go:224)
Dec 01 10:48:05 lxd02 lxd.daemon[1581]: 2020/12/01 10:48:05 http: superfluous response.WriteHeader call from github.com/lxc/lxd/lxd/response.(*errorResponse).Render (response.go:224)
Dec 01 10:48:06 lxd02 lxd.daemon[1294]: => LXD is ready`
root@lxd0x:~# nano /etc/netplan/00-installer-config.yaml
network:
bridges:
br0:
addresses:
- 192.168.100.54/24
gateway4: 192.168.100.11
interfaces:
- ens3
nameservers:
addresses:
- 208.67.222.222
- 208.67.220.220
mtu: 1400
parameters:
stp: false
forward-delay: 0
ethernets:
ens3: {}
version: 2
This txt file with lxd.log
cat /var/snap/lxd/common/lxd/logs/lxd.log
-
lxd sql global "SELECT * FROM nodes;"
-
lxd sql local "SELECT * FROM raft_nodes;"
quersys@lxd0x:~$ lxd sql global "SELECT * FROM config;"
±—±--------------------±-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id | key | value |
±—±--------------------±-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 1 | core.trust_password | 0fabe8346ffe62cd5f105e5e34504ba4ac94e337b6b340d1bccad41bbc4d947084abe87807c70e07b4bdf26094a33860db8b03398472321c4be740b2072e0515d9fd4900a8461027a5ce3ca9cdddd90a68ed7e5b7c8ca1fc644c24d1c0030d4c |
±—±--------------------±-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
quersys@lxd0x:~$ lxd sql local “SELECT * FROM config;”
±—±----------------------±--------------------+
| id | key | value |
±—±----------------------±--------------------+
| 1 | core.https_address | 192.168.100.54:8443 |
| 2 | cluster.https_address | 192.168.100.54:8443 |