[lxc-users] LXD cluster is unresponsible: all lxc related commands hangs

Stéphane Graber stgraber at ubuntu.com
Fri Aug 17 15:02:59 UTC 2018


On Fri, Aug 17, 2018 at 05:56:24PM +0300, Andriy Tovstik wrote:
> Hi!
> 
> пт, 17 авг. 2018 г. в 17:46, Stéphane Graber <stgraber at ubuntu.com>:
> 
> > On Fri, Aug 17, 2018 at 01:20:42PM +0300, Andriy Tovstik wrote:
> > > Hi, all!
> > >
> > > Some time ago I installed a dual node LXD cluster. Today I logged in to
> > the
> > > node and tried to execute
> > > lxc exec container -- bash
> > > but command hanged.
> > > Also, all lxc commands are unresponsible: i'm not able to interact with
> > my
> > > cluster and my containers.
> > > I tried to restart snap.lxd.daemon but it didn't help. journalctl -u
> > > snap.lxd.daemon - in attachment.
> > >
> > > Any suggestion?
> >
> > Are both nodes running the same snap revision according to `snap list`?
> >
> > LXD cluster nodes must all run the exact same version, otherwise they
> > effectively wait until this becomes the case before they start replying
> > to API queries.
> >
> 
> snap output:
> $ snap list lxd
> Name  Version  Rev   Tracking  Publisher  Notes
> lxd   3.4      8297  stable    canonical  -
> 
>  the same on both nodes

Thanks, can you provide the following from both nodes:
 - ps fauxww
 - cat /var/snap/lxd/common/lxd/logs/lxd.log

And can you try running "lxc cluster list" see if that gets stuck too?


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180817/ddf9579f/attachment.sig>


More information about the lxc-users mailing list