Re: [lxc-users] lxc list -> "Error: Failed to fetch http://unix.socket/1.0: 500 Internal Server Error"

2018-08-19 Thread Stéphane Graber
See https://github.com/lxc/lxd/issues/4947

On Sun, Aug 19, 2018 at 07:41:27AM +, Tomasz Chmielewski wrote:
> 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  VersionRev   Tracking  Publisher  Notes
> core  16-2.34.3  5145  stablecanonical  core
> lxd   3.48393  stablecanonical  -
> 
> 
> 
> 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
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com


signature.asc
Description: PGP signature
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] lxc list -> "Error: Failed to fetch http://unix.socket/1.0: 500 Internal Server Error"

2018-08-19 Thread Tomasz Chmielewski
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  VersionRev   Tracking  Publisher  Notes
core  16-2.34.3  5145  stablecanonical  core
lxd   3.48393  stablecanonical  -



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
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users