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

Andriy Tovstik syswiper at gmail.com
Mon Aug 20 09:30:39 UTC 2018


Hi
I stopped lxd via systemctl, then ran 'killlall lxd' and started lxd again.
Problem was fixed.

сб, 18 авг. 2018 г. в 17:50, Stéphane Graber <stgraber at ubuntu.com>:

> 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
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180820/0715d8a7/attachment.html>


More information about the lxc-users mailing list