Re: [lxc-users] How to recover from ERROR state

2018-09-11 Thread Andrey Repin
Greetings, Kees Bakker! > ii  lxc-common 2.0.8-0ubuntu1~16.04.2  amd64    Linux Containers > userspace tools (common tools) > ii  lxcfs  2.0.8-0ubuntu1~16.04.2  amd64    FUSE based filesystem > for LXC > ii  lxd    2.0.11-0ubuntu1~16.04.4 amd64    Container hyperv

Re: [lxc-users] Overlayfs @ Containers and checkpoint/restart micro-conference at LPC2018

2018-09-11 Thread James Bottomley
On Tue, 2018-09-11 at 09:52 -0400, Vivek Goyal wrote: > On Sun, Sep 09, 2018 at 11:18:54AM +0200, Christian Brauner wrote: > [..] > > My team hast just started to be more involved with shifts > > development a few months back. Overlayfs is definitely an > > inspiration and we even once thought abou

Re: [lxc-users] Overlayfs @ Containers and checkpoint/restart micro-conference at LPC2018

2018-09-11 Thread Vivek Goyal
On Tue, Sep 11, 2018 at 08:13:40AM -0700, James Bottomley wrote: > On Tue, 2018-09-11 at 09:52 -0400, Vivek Goyal wrote: > > On Sun, Sep 09, 2018 at 11:18:54AM +0200, Christian Brauner wrote: > > [..] > > > My team hast just started to be more involved with shifts > > > development a few months bac

Re: [lxc-users] Overlayfs @ Containers and checkpoint/restart micro-conference at LPC2018

2018-09-11 Thread Vivek Goyal
On Sun, Sep 09, 2018 at 11:18:54AM +0200, Christian Brauner wrote: [..] > My team hast just started to be more involved with shifts development a > few months back. Overlayfs is definitely an inspiration and we even once > thought about making shifts an extension of overlayfs. > Seth Forshee on my

Re: [lxc-users] How to recover from ERROR state

2018-09-11 Thread Kees Bakker
On 11-09-18 16:11, Christian Brauner wrote: >> Kees Bakker hat am 11. September 2018 um 15:54 geschrieben: >> >> >> On 11-09-18 15:40, Christian Brauner wrote: Kees Bakker hat am 11. September 2018 um 15:13 geschrieben: Hey, Every now and then we have one or more con

Re: [lxc-users] How to recover from ERROR state

2018-09-11 Thread Kees Bakker
On 11-09-18 15:40, Christian Brauner wrote: >> Kees Bakker hat am 11. September 2018 um 15:13 geschrieben: >> >> >> Hey, >> >> Every now and then we have one or more containers in state ERROR. >> Is there a clever method to recover from that, other than >> rebooting the LXD server? >> >> Killing t

Re: [lxc-users] How to recover from ERROR state

2018-09-11 Thread Christian Brauner
> Kees Bakker hat am 11. September 2018 um 15:13 geschrieben: > > > Hey, > > Every now and then we have one or more containers in state ERROR. > Is there a clever method to recover from that, other than > rebooting the LXD server? > > Killing the monitor and the forkstart does help. And also

[lxc-users] How to recover from ERROR state

2018-09-11 Thread Kees Bakker
Hey, Every now and then we have one or more containers in state ERROR. Is there a clever method to recover from that, other than rebooting the LXD server? Killing the monitor and the forkstart does help. And also a kworker process (kworker/u16:0) is eating up one of the CPUs with 100% load. lxc i

Re: [lxc-users] How to provide device access to lxc unprivileged containers ?

2018-09-11 Thread Andrey Repin
Greetings, Yasoda Padala! > Hi All, > I have a usb attached to my ubuntu machine (16.04) and trying to access > that device from unprivileged lxc container. > By access I mean, enumerate and do I/O on that device. What for? If it's a block device, just mount it into container FS. > I have writte

[lxc-users] How to provide device access to lxc unprivileged containers ?

2018-09-11 Thread Yasoda Padala
Hi All, I have a usb attached to my ubuntu machine (16.04) and trying to access that device from unprivileged lxc container. By access I mean, enumerate and do I/O on that device. I have written a small program using libusb library and using that libusb executable to enumerate,read/write usb device