Re: [lxc-users] Cannot delete container

2015-07-29 Thread Serge Hallyn
And that should be fixed by https://github.com/lxc/lxd/pull/916 - thanks valerio and Zachary. I'm still looking for other ways to reach this "cannot delete or edit container" state, but we seem to be pretty good about not allowing bogus configs now. I remember this being more of a problem some ti

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Serge Hallyn
Yes, probably. '/' is reserved for use in snapshots. So one part of the bug is that that name shouldn't have been allowed in the first place. -serge Quoting Zachary Coffey (clickwir...@gmail.com): > Can we assume the problem is caused by the / in the name? > > On Wed, Jul 29, 2015, 11:01 AM Va

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Zachary Coffey
Can we assume the problem is caused by the / in the name? On Wed, Jul 29, 2015, 11:01 AM Valerio Mariani wrote: > It is very small, I will email it to you privately! > > Thank you again! > > Valerio > > On 29.07.2015 16:53, Serge Hallyn wrote: > > Depending on the size, you can just email it t

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Valerio Mariani
It is very small, I will email it to you privately! Thank you again! Valerio On 29.07.2015 16:53, Serge Hallyn wrote: > Depending on the size, you can just email it to me privately if > you like, or upload to paste.ubuntu.com. > > Quoting Valerio Mariani (valerio.mari...@gmx.de): >> Yes, I hav

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Serge Hallyn
Depending on the size, you can just email it to me privately if you like, or upload to paste.ubuntu.com. Quoting Valerio Mariani (valerio.mari...@gmx.de): > Yes, I have a log. Can I upload it somewhere? > > For the cotnainer, I will follow your advice and wipe lxd! > > Thanks! > >Valerio

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Valerio Mariani
Yes, I have a log. Can I upload it somewhere? For the cotnainer, I will follow your advice and wipe lxd! Thanks! Valerio On 29.07.2015 16:42, Serge Hallyn wrote: > So assuming you don't have any containers yet which you want to keep > around, the easiest thing might be to do > > sudo rm -r

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Serge Hallyn
So assuming you don't have any containers yet which you want to keep around, the easiest thing might be to do sudo rm -rf /var/lib/lxd and start over. Do you happen to have a log of the steps you had previously done with the container? I can imagine what's happening, and I'm opening a new iss

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Valerio Mariani
Dear Serge, I installed it using the stable lxd ppa, on ubuntu vivid 15.04 Valerio On 29.07.2015 15:23, Serge Hallyn wrote: > Hi, > > Valerio's using lxd, not straight lxc. > > Valerio, > > how did you install lxd? (to help decide how to debug it) > > -serge > > Quoting Divya Vyas (edivya.v.

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Serge Hallyn
Hi, Valerio's using lxd, not straight lxc. Valerio, how did you install lxd? (to help decide how to debug it) -serge Quoting Divya Vyas (edivya.v...@gmail.com): > lxc-destroy should do that > > On Wed, Jul 29, 2015 at 2:24 PM, Valerio Mariani > wrote: > > > Dear All, > > > >I am trying

Re: [lxc-users] LXC Kernel options requirements

2015-07-29 Thread Narcis Garcia
Describing steps followed to setup the container can help people to help. El 23/07/15 a les 09:18, Keller, Eric ha escrit: > Hi everyone, > > I was wondering if someone could help me out defining all the required > kernel configuration option in order to seamlessly use LXC. > > I used the lxc-ch

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Valerio Mariani
Dear Divya, the command you suggested returns: find: `/cgroup/lxc/centos/6': No such file or directory However, this one: sudo find / -name "centos*" -type d Returns: /home//.cache/lxc/download/centos /var/cache/lxc/download/centos /var/lib/lxd/lxc/centos /var/lib/lxd/lxc/centos/6/rootfs/u

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Divya Vyas
Try this find /cgroup/lxc/centos/6 -type d -delete On Wed, Jul 29, 2015 at 2:46 PM, Valerio Mariani wrote: > The same! > > I also tried lxc-destroy -n 'centos/6' > > and > > lxc-destroy -n "centos/6" > > Valerio > > > On 29.07.2015 11:14, Florian Leparoux wrote: > > And lxc-destroy -n cent

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Valerio Mariani
The same! I also tried lxc-destroy -n 'centos/6' and lxc-destroy -n "centos/6" Valerio On 29.07.2015 11:14, Florian Leparoux wrote: > And lxc-destroy -n centos\/6 ? > > > Le 29/07/2015 11:13, Valerio Mariani a écrit : >> Dear Divya, >> >>thank you for the suggestion. If I try: >> >> l

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Florian Leparoux
And lxc-destroy -n centos\/6 ? Le 29/07/2015 11:13, Valerio Mariani a écrit : Dear Divya, thank you for the suggestion. If I try: lxc-destroy -n centos/6 I get: Container is not defined Valerio On 29.07.2015 10:59, Divya Vyas wrote: lxc-destroy should do that On Wed, Jul 29, 2015

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Valerio Mariani
Dear Divya, thank you for the suggestion. If I try: lxc-destroy -n centos/6 I get: Container is not defined Valerio On 29.07.2015 10:59, Divya Vyas wrote: > lxc-destroy should do that > > On Wed, Jul 29, 2015 at 2:24 PM, Valerio Mariani > wrote: > >> Dear All, >> >>I am trying to de

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Divya Vyas
lxc-destroy should do that On Wed, Jul 29, 2015 at 2:24 PM, Valerio Mariani wrote: > Dear All, > >I am trying to delete all containers from my system. If I type lxc > list, I see: > > vmariani@cfeld-valerio2:~/Downloads$ lxc list > +--+-+--+--+---+---+

[lxc-users] Cannot delete container

2015-07-29 Thread Valerio Mariani
Dear All, I am trying to delete all containers from my system. If I type lxc list, I see: vmariani@cfeld-valerio2:~/Downloads$ lxc list +--+-+--+--+---+---+ | NAME | STATE | IPV4 | IPV6 | EPHEMERAL | SNAPSHOTS | +--+-+--+--+