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

Stéphane Graber stgraber at ubuntu.com
Sat Aug 18 14:50:24 UTC 2018


Hi,

Your logs show multiple LXD processes running at the same time.
The latest revision of the stable snap (8393) should have a fix which
detects that and clean things up.

Stéphane

On Fri, Aug 17, 2018 at 10:46:29PM +0300, Andriy Tovstik wrote:
> Hi!
> 
> Both lxd.log are empty :(
> 
> ps output - in attachment
> 
> пт, 17 авг. 2018 г. в 18:06, Stéphane Graber <stgraber at ubuntu.com>:
> 
> > 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
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users



> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


-- 
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/20180818/b7303bfc/attachment.sig>


More information about the lxc-users mailing list