Re: [Lxc-users] seeing a network pause when starting and stopping LXCs - how do I stop this?

2011-12-08 Thread Gary Ballantyne
On 08/12/11 19:39, Daniel Lezcano wrote: On 12/08/2011 12:38 AM, Joseph Heck wrote: I've been seeing a pause in the whole networking stack when starting and stopping LXC - it seems to be somewhat intermittent, but happens reasonably consistently the first time I start up the LXC. I'm using

[Lxc-users] How to use lxc-execute to start the networking service.

2011-12-08 Thread nishant mungse
Hi, I want to start the networking service of each containers but don't want to use lxc-start, i want to use lxc-execute command to start the networking service. How can I do this? Please help me ASAP. Regards, Nishant

[Lxc-users] lxc-destroy does not destroy cgroup

2011-12-08 Thread Arie Skliarouk
Hi, Most of the time the lxc-destroy works properly, removing the cgroup with the same name as the container. Today something strange happened on one of my vservers - suddenly it stopped responding to requests and any attempt to connect just hanged (as if connection was successful, but no data

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-08 Thread Ramez Hanna
On Thu, Dec 8, 2011 at 12:33 PM, nishant mungse nishantmun...@gmail.com wrote: Hi, I want to manually invoke a networking setup to start the network service to get the IP address of container , But the problem is i don't want to start the container and want to use lxc-execute. When I tried

Re: [Lxc-users] lxc-destroy does not destroy cgroup

2011-12-08 Thread Gordon Henderson
On Thu, 8 Dec 2011, Arie Skliarouk wrote: When I tried to restart the vserver, it did not came up. Long story short, I found that lxc-destroy did not destroy the cgroup of the same name as the server. The cgroup remains visible in the /sys/fs/cgroup/cpu/master directory. The tasks file is

Re: [Lxc-users] lxc-destroy does not destroy cgroup

2011-12-08 Thread Arie Skliarouk
On Thu, Dec 8, 2011 at 14:05, Gordon Henderson gor...@drogon.net wrote: On Thu, 8 Dec 2011, Arie Skliarouk wrote: When I tried to restart the vserver, it did not came up. Long story short, I found that lxc-destroy did not destroy the cgroup of the same name as the server. The cgroup remains

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-08 Thread nishant mungse
Hi Greg, Thanks 4 reply. I just want the IP addresses of the containers. And one more thing can I get the IP address of containers in sequence for eg. container1 :: 198.208.168.1 container 2 :: 198.208.168.2 and like this. Please help me ASAP. Regards, Nishant On Thu, Dec 8, 2011 at 5:09 PM,

Re: [Lxc-users] lxc-destroy does not destroy cgroup

2011-12-08 Thread Gordon Henderson
On Thu, 8 Dec 2011, Arie Skliarouk wrote: On Thu, Dec 8, 2011 at 14:05, Gordon Henderson gor...@drogon.net wrote: On Thu, 8 Dec 2011, Arie Skliarouk wrote: When I tried to restart the vserver, it did not came up. Long story short, I found that lxc-destroy did not destroy the cgroup of the

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-08 Thread Geordy Korte
I have a script that gets the from a running container, if that is what you need i post it tommorrow morning. If i forget ST me via the ibm network. Mvg Geordy Korte (Sent via iphone so shorter then normal) On 8 dec. 2011, at 13:59, nishant mungse nishantmun...@gmail.com wrote: Hi Greg,

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-08 Thread Geordy Korte
Ok, got out of the hellish traffic jam. Attached the Script I use to check the IP number of a running machine. On Thu, Dec 8, 2011 at 5:48 PM, Geordy Korte gko...@gmail.com wrote: I have a script that gets the from a running container, if that is what you need i post it tommorrow morning.

Re: [Lxc-users] seeing a network pause when starting and stopping LXCs - how do I stop this?

2011-12-08 Thread Michael H. Warfield
On Thu, 2011-12-08 at 19:47 +1300, Gary Ballantyne wrote: On 08/12/11 19:39, Daniel Lezcano wrote: On 12/08/2011 12:38 AM, Joseph Heck wrote: I've been seeing a pause in the whole networking stack when starting and stopping LXC - it seems to be somewhat intermittent, but happens

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-08 Thread Brian K. White
This isn't meant as an insult but you seem to be trying to do things backwards and expecting, worse, demanding, a low level tool to contain high level features that really should be provided by your own scripting, or by other tools that already exist for that purpose. If you want to assign

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-08 Thread nishant mungse
Hi, Thanks 4 script. Regards, Nishant On Fri, Dec 9, 2011 at 12:18 AM, Geordy Korte gko...@gmail.com wrote: Ok, got out of the hellish traffic jam. Attached the Script I use to check the IP number of a running machine. On Thu, Dec 8, 2011 at 5:48 PM, Geordy Korte gko...@gmail.com

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-08 Thread nishant mungse
Hi Geordy, You said that your script gets the IP from running container, but i dont want to use lxc-start I just want the IP address and use lxc-execute to start network services. Regards, Nishant On Fri, Dec 9, 2011 at 11:00 AM, nishant mungse nishantmun...@gmail.comwrote: Hi, Thanks 4