Discussion:
lxc list -> "Error: Failed to fetch
(too old to reply)
Tomasz Chmielewski
2018-08-19 07:41:27 UTC
Permalink
On some Ubuntu 18.04 systems running LXD from snap I'm getting the
following after using any lxc command:



# lxc shell some-container
Error: Failed to fetch http://unix.socket/1.0: 500 Internal Server Error

or:

# lxc list
Error: Get http://unix.socket/1.0: EOF


Restarting lxd with the following command does not help:

# systemctl restart snap.lxd.daemon



The existing containers seem to be running just fine (except it's not
possible to use lxc list, lxc exec, lxc shell etc.).


The affected and unaffected systems are running the following versions:

# snap list
Name Version Rev Tracking Publisher Notes
core 16-2.34.3 5145 stable canonical core
lxd 3.4 8393 stable canonical -



Full system restart helps, but it would be great to know if there is a
"better" fix.



Tomasz Chmielewski
https://lxadm.com
Stéphane Graber
2018-08-19 20:48:38 UTC
Permalink
See https://github.com/lxc/lxd/issues/4947
On some Ubuntu 18.04 systems running LXD from snap I'm getting the following
# lxc shell some-container
Error: Failed to fetch http://unix.socket/1.0: 500 Internal Server Error
# lxc list
Error: Get http://unix.socket/1.0: EOF
# systemctl restart snap.lxd.daemon
The existing containers seem to be running just fine (except it's not
possible to use lxc list, lxc exec, lxc shell etc.).
# snap list
Name Version Rev Tracking Publisher Notes
core 16-2.34.3 5145 stable canonical core
lxd 3.4 8393 stable canonical -
Full system restart helps, but it would be great to know if there is a
"better" fix.
Tomasz Chmielewski
https://lxadm.com
_______________________________________________
lxc-users mailing list
http://lists.linuxcontainers.org/listinfo/lxc-users
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
Continue reading on narkive:
Loading...