Re: [Lxc-users] errors

2013-05-23 Thread Stéphane Graber
On 05/23/2013 01:46 AM, Tamas Papp wrote: On 05/23/2013 04:27 AM, Stéphane Graber wrote: Oops, looks like I broke lxc-ls --fancy with my recent get_ips() API change. I'll fix it directly to staging (trivial fix) and trigger a new daily build, you should be able to update to a fixed package in

Re: [Lxc-users] errors

2013-05-23 Thread Tamas Papp
On 05/23/2013 03:35 PM, Stéphane Graber wrote: That looks like broken locking, though Serge would know for sure. You may want to try clearing /dev/shm/*lxc* and see if that fixes the problem (not usually recommended as those locks are there for a reason). OK. At this moment I'm trying to

Re: [Lxc-users] errors

2013-05-23 Thread Tamas Papp
On 05/23/2013 03:39 PM, Tamas Papp wrote: On 05/23/2013 03:35 PM, Stéphane Graber wrote: That looks like broken locking, though Serge would know for sure. You may want to try clearing /dev/shm/*lxc* and see if that fixes the problem (not usually recommended as those locks are there for a

Re: [Lxc-users] errors

2013-05-23 Thread Serge Hallyn
Quoting Tamas Papp (tom...@martos.bme.hu): On 05/23/2013 03:39 PM, Tamas Papp wrote: On 05/23/2013 03:35 PM, Stéphane Graber wrote: That looks like broken locking, though Serge would know for sure. You may want to try clearing /dev/shm/*lxc* and see if that fixes the problem (not usually

Re: [Lxc-users] errors

2013-05-23 Thread Tamas Papp
On 05/23/2013 07:34 PM, Serge Hallyn wrote: Quoting Tamas Papp (tom...@martos.bme.hu): On 05/23/2013 03:39 PM, Tamas Papp wrote: On 05/23/2013 03:35 PM, Stéphane Graber wrote: That looks like broken locking, though Serge would know for sure. You may want to try clearing /dev/shm/*lxc* and see

Re: [Lxc-users] errors

2013-05-23 Thread Serge Hallyn
Quoting Tamas Papp (tom...@martos.bme.hu): On 05/23/2013 07:34 PM, Serge Hallyn wrote: Quoting Tamas Papp (tom...@martos.bme.hu): On 05/23/2013 03:39 PM, Tamas Papp wrote: On 05/23/2013 03:35 PM, Stéphane Graber wrote: That looks like broken locking, though Serge would know for sure.

Re: [Lxc-users] errors

2013-05-23 Thread Tamas Papp
On 05/23/2013 07:55 PM, Serge Hallyn wrote: FYI, now it works fine now with 0.9.0.0~staging~20130523-0240-0ubuntu1~ppa1~precise1 . For this I had to stop all containers then start them again. Ok - I suspect what was happening was that every lxc-ls was segfaulting while holding the semaphore,

Re: [Lxc-users] errors

2013-05-23 Thread Tamas Papp
On 05/23/2013 09:47 PM, Serge Hallyn wrote: The lxc lock had nothing to do with the segfaulting - and no, the new hanges will simply swap out use of named semaphore for a flock on an open fd (so that they get auto-cleaned if process is killed). Any potential for segvs *should* be found while

Re: [Lxc-users] errors

2013-05-23 Thread Serge Hallyn
Quoting Tamas Papp (tom...@martos.bme.hu): On 05/23/2013 09:47 PM, Serge Hallyn wrote: The lxc lock had nothing to do with the segfaulting - and no, the new hanges will simply swap out use of named semaphore for a flock on an open fd (so that they get auto-cleaned if process is killed). Any

Re: [Lxc-users] errors

2013-05-22 Thread Tamas Papp
On 05/23/2013 01:02 AM, Tamas Papp wrote: hi All, # lxc-ls --fancy Traceback (most recent call last): File /usr/bin/lxc-ls, line 221, in module ips = container.get_ips(protocol=protocol, timeout=1) TypeError: 'protocol' is an invalid keyword argument for this function #

Re: [Lxc-users] errors

2013-05-22 Thread Stéphane Graber
On 05/22/2013 07:46 PM, Tamas Papp wrote: On 05/23/2013 01:36 AM, Tamas Papp wrote: On 05/23/2013 01:02 AM, Tamas Papp wrote: hi All, # lxc-ls --fancy Traceback (most recent call last): File /usr/bin/lxc-ls, line 221, in module ips = container.get_ips(protocol=protocol,

Re: [Lxc-users] errors

2013-05-22 Thread Tamas Papp
On 05/23/2013 04:27 AM, Stéphane Graber wrote: Oops, looks like I broke lxc-ls --fancy with my recent get_ips() API change. I'll fix it directly to staging (trivial fix) and trigger a new daily build, you should be able to update to a fixed package in the next couple of hours. hi, Although