Re: [Lxc-users] lxc-instance fail

2013-10-07 Thread Serge Hallyn
Quoting Tamas Papp (tom...@martos.bme.hu): > > On 10/07/2013 07:09 PM, Serge Hallyn wrote: > > An easy way to reproduce this without zfs is: > > > > sudo lxc-create -t ubuntu -n r0 > > sudo cp /var/lib/lxc/r0/config /tmp > > sudo lxc-start -n r0 -f /tmp/config -d > > sudo lxc-info

Re: [Lxc-users] lxc-instance fail

2013-10-07 Thread Tamas Papp
On 10/07/2013 07:09 PM, Serge Hallyn wrote: > An easy way to reproduce this without zfs is: > > sudo lxc-create -t ubuntu -n r0 > sudo cp /var/lib/lxc/r0/config /tmp > sudo lxc-start -n r0 -f /tmp/config -d > sudo lxc-info -n r0 > (it shows up as stopped) > >

Re: [Lxc-users] lxc-instance fail

2013-10-07 Thread Serge Hallyn
Quoting Tamas Papp (tom...@martos.bme.hu): > > On 10/04/2013 04:11 PM, Tamas Papp wrote: > > hi, > > > > Starting a container from cli by lxc-start works fine, lxc-info shows the > > right state. > > > > Using upstart: > > > > start lxc-instance NAME=archiva-test CONFIG=/tank/lxc/archiva-test/con

Re: [Lxc-users] lxc-instance fail

2013-10-05 Thread Tamas Papp
On 10/04/2013 04:11 PM, Tamas Papp wrote: > hi, > > Starting a container from cli by lxc-start works fine, lxc-info shows the > right state. > > Using upstart: > > start lxc-instance NAME=archiva-test CONFIG=/tank/lxc/archiva-test/config > > # lxc-info -n archiva-test > state: STOPPED > > Tho

Re: [Lxc-users] lxc-instance fail

2013-10-04 Thread Tamas Papp
On 10/04/2013 05:05 PM, zoolook wrote: > I have also seen this problem from time to time in different boxes and > different > versions of lxc. It's not easily reproducible and I can't remember if I > reported > it (maybe not since I couldn't make a 100% reproducible test case). > > I also use a n

Re: [Lxc-users] lxc-instance fail

2013-10-04 Thread zoolook
On 13/10/04 10:29, Stéphane Graber wrote: > On Fri, Oct 04, 2013 at 04:11:58PM +0200, Tamas Papp wrote: > > hi, > > > > Starting a container from cli by lxc-start works fine, lxc-info shows the > > right state. > > > > Using upstart: > > > > start lxc-instance NAME=archiva-test CONFIG=/tank/lxc

Re: [Lxc-users] lxc-instance fail

2013-10-04 Thread Tamas Papp
On 10/04/2013 04:29 PM, Stéphane Graber wrote: > Try: lxc-info -n archiva-test -P /tank/lxc > > LXC can't guess for you where you've put your containers, so it'll look > for /var/lib/lxc by default, if they're somewhere else, you need to use > -P or set the path in /etc/lxc/lxc.conf (lxcpath = /tan

Re: [Lxc-users] lxc-instance fail

2013-10-04 Thread Stéphane Graber
On Fri, Oct 04, 2013 at 04:11:58PM +0200, Tamas Papp wrote: > hi, > > Starting a container from cli by lxc-start works fine, lxc-info shows the > right state. > > Using upstart: > > start lxc-instance NAME=archiva-test CONFIG=/tank/lxc/archiva-test/config > > # lxc-info -n archiva-test > state

[Lxc-users] lxc-instance fail

2013-10-04 Thread Tamas Papp
hi, Starting a container from cli by lxc-start works fine, lxc-info shows the right state. Using upstart: start lxc-instance NAME=archiva-test CONFIG=/tank/lxc/archiva-test/config # lxc-info -n archiva-test state: STOPPED Though the container gets started. As a result I cannot use lxc-st