[lxc-users] ?==?utf-8?q? ?==?utf-8?q? ?= lxc commands failing randomly:?(null)
Tomasz Chmielewski
mangoo at wpkg.org
Wed Jul 12 15:42:32 UTC 2017
On Thursday, July 13, 2017 00:35 JST, "Tomasz Chmielewski" <mangoo at wpkg.org> wrote:
> On Wednesday, July 12, 2017 20:52 JST, "Tomasz Chmielewski" <mangoo at wpkg.org> wrote:
>
> > It only fails with "error: not found" on the first, second or third "lxc config" line.
> >
> > It started to fail in the last 2 weeks I think (lxd updates?) - before, it was rock solid.
>
> Also "lxc exec" fails.
>
> Here is a reproducer:
>
> # lxc copy base-uni-web01 ztest
> # lxc start ztest ; while true ; do OUT=$(lxc exec ztest date ; echo $?) ; echo $OUT ; done
> Wed Jul 12 15:32:43 UTC 2017 0
> Wed Jul 12 15:32:54 UTC 2017 0
> Wed Jul 12 15:32:54 UTC 2017 0
> Wed Jul 12 15:32:55 UTC 2017 0
> Wed Jul 12 15:32:55 UTC 2017 0
> Wed Jul 12 15:32:55 UTC 2017 0
> Wed Jul 12 15:32:56 UTC 2017 0
> Wed Jul 12 15:32:56 UTC 2017 0
> Wed Jul 12 15:32:57 UTC 2017 0
> Wed Jul 12 15:32:57 UTC 2017 0
> Wed Jul 12 15:32:57 UTC 2017 0
> Wed Jul 12 15:32:58 UTC 2017 0
> error: not found
> Wed Jul 12 15:32:58 UTC 2017 1
> Wed Jul 12 15:33:09 UTC 2017 0
> Wed Jul 12 15:33:09 UTC 2017 0
> Wed Jul 12 15:33:19 UTC 2017 0
> Wed Jul 12 15:33:25 UTC 2017 0
> Wed Jul 12 15:33:40 UTC 2017 0
> Wed Jul 12 15:33:46 UTC 2017 0
>
>
> It seems to be easier to reproduce if the host server is slightly overloaded.
Also - it only happens when lxc remote is https://.
It doesn't happen when lxc remote is unix://
Tomasz Chmielewski
https://lxadm.com
More information about the lxc-users
mailing list