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

Andriy Tovstik syswiper at gmail.com
Fri Aug 17 19:46:29 UTC 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180817/b08636bf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-1-ps.log
Type: application/octet-stream
Size: 42148 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180817/b08636bf/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-2-ps.log
Type: application/octet-stream
Size: 34767 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180817/b08636bf/attachment-0003.obj>


More information about the lxc-users mailing list