[lxc-users] Issue with lxc-start-ephemeral in fedora 20

2014-07-17 Thread Ajith Adapa
Hi, I am trying the lxc-start-ephemeral command as shown below in Fedora 20. Seems some issue with cgroups. [root@localhost lxc]# [root@localhost lxc]# lxc-ls -f NAME STATEIPV4IPV6 AUTOSTART --- f1 STOPPED - - NO f2 RUN

[lxc-users] Regarding rootfs used for download template

2014-07-10 Thread Ajith Adapa
Hi, Is there any script or list of steps to be followed to create static rootfs for Fedora 20 which is used for download template ? Regards, Ajith ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/l

Re: [lxc-users] High Memory utilization with lxc containers

2014-07-06 Thread Ajith Adapa
ot really fixed yet, it uses up CPU, and resources. > > systemctl mask systemd-journald > > .. and then reboot your containers. > > Greetings,.. > > > On Sat, Jul 5, 2014 at 12:19 PM, Ajith Adapa > wrote: > >> I mean there is around 1.5GB RAM freely availabl

Re: [lxc-users] High Memory utilization with lxc containers

2014-07-05 Thread Ajith Adapa
eboot your containers. > > Greetings,.. > > > On Sat, Jul 5, 2014 at 12:19 PM, Ajith Adapa > wrote: > >> I mean there is around 1.5GB RAM freely available when I just start >> the containers. >> >> KiB Mem: 2025228 total, 593388 used, 1431840

Re: [lxc-users] High Memory utilization with lxc containers

2014-07-05 Thread Ajith Adapa
I mean there is around 1.5GB RAM freely available when I just start the containers. KiB Mem: 2025228 total, 593388 used, 1431840 free,36708 buffers KiB Swap: 2129916 total,0 used, 2129916 free. 394116 cached Mem Regards, Ajith On Sat, Jul 5, 2014 at 3:33 PM, Ajith Adapa

[lxc-users] High Memory utilization with lxc containers

2014-07-05 Thread Ajith Adapa
Hi, I am not exactly sure if LXC is the reason but atleast I am seeing that memory is exhausted after running lxc containers for more than a day. Setup information: Guest VM running Fedora 20 with 2GB RAM and 4 logical cores assigned. It is only used for running LXC containers. lxc version 1.0.3

[lxc-users] Issue with lxc-top command in Fedora

2014-07-03 Thread Ajith Adapa
Hi, I am using lxc-1.0.3 rawhide version in Fedora 20. When I try lxc-top command I have below error log. Does lxc-top need any dependencies other than lxc ? # lxc-top -h lua: /usr/bin/lxc-top:24: module 'lxc' not found: no field package.preload['lxc'] no file '/usr/share/lua/5.2/lxc.lua'

Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-03 Thread Ajith Adapa
t; > > My guess is under fedora the links somehow got broken (e.g. points to a > debian release, like "stable"), or something else changed that caused the > lines above got removed. > > -- > Fajar > > > > On Thu, Jul 3, 2014 at 7:38 AM, Ajith Adapa wrote:

Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-02 Thread Ajith Adapa
Filled a bug in Fedora Bugzilla @ https://bugzilla.redhat.com/show_bug.cgi?id=1115728 Regards, Ajith On Wed, Jul 2, 2014 at 10:41 PM, Michael H. Warfield wrote: > On Wed, 2014-07-02 at 10:07 +0530, Ajith Adapa wrote: >> Hi, > >> I am trying to create a ubuntu container in Fed

Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-02 Thread Ajith Adapa
one. Regards, Ajith On Wed, Jul 2, 2014 at 10:41 PM, Michael H. Warfield wrote: > On Wed, 2014-07-02 at 10:07 +0530, Ajith Adapa wrote: >> Hi, > >> I am trying to create a ubuntu container in Fedora 20 host and it >> fails as shown below > >> # lxc-create -t ub

Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-02 Thread Ajith Adapa
Hi Fajar, I have tried using download template and it worked without any issue. Regards, Ajith On Wed, Jul 2, 2014 at 1:53 PM, Fajar A. Nugraha wrote: > On Wed, Jul 2, 2014 at 3:11 PM, Ajith Adapa wrote: >> Hi, >> >> I am using the lxc version 1.0.3 from rawhide and it

Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-02 Thread Ajith Adapa
:37 AM, Ajith Adapa wrote: >> Hi, >> >> I am trying to create a ubuntu container in Fedora 20 host and it >> fails as shown below >> >> # lxc-create -t ubuntu -n ubuntutest > >> E: Failed getting release file >> https://mirrors.kernel.org/debian/dis

[lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-01 Thread Ajith Adapa
Hi, I am trying to create a ubuntu container in Fedora 20 host and it fails as shown below # lxc-create -t ubuntu -n ubuntutest Checking cache download in /var/cache/lxc/precise/rootfs-amd64 ... Installing packages in template: ssh,vim,language-pack-en Downloading ubuntu precise minimal ... which

Re: [lxc-users] lxc-start failing in Fedora 20

2014-06-29 Thread Ajith Adapa
et entered failed state. systemd-logind.service: main process exited, code=exited, status=1/FAILURE Unit systemd-logind.service entered failed state. systemd-logind.service holdoff time over, scheduling restart. systemd-logind.service start request repeated too quickly, refusing to start. Unit sys

Re: [lxc-users] lxc-start failing in Fedora 20

2014-06-28 Thread Ajith Adapa
mplate. I will try out the steps given regarding password. Regards, Ajith On Sat, Jun 28, 2014 at 7:13 PM, Michael H. Warfield wrote: > On Sat, 2014-06-28 at 15:34 +0530, Ajith Adapa wrote: >> Hi, > >> lxc-start is failing in latest fedora 20 saying virbr0 is not found. >

[lxc-users] lxc-start failing in Fedora 20

2014-06-28 Thread Ajith Adapa
Hi, lxc-start is failing in latest fedora 20 saying virbr0 is not found. 1. Is it madatory for the admin to create virbr0 interface before starting a container ? 2. How can I create a container with a default password for root rather than auto-generating the same ? # lxc-create -n test -t fedo

Re: [lxc-users] Difference in using network namespace via ip command and lxc

2014-06-27 Thread Ajith Adapa
Thanks @serge for the reply. So we cannot create a namespace without binding it to a process then ? On Fri, Jun 27, 2014 at 10:49 PM, Serge Hallyn wrote: > Quoting Ajith Adapa (ajith.ad...@gmail.com): >> Hi, >> >> I am quite new to network namespaces and just making my ha

[lxc-users] Difference in using network namespace via ip command and lxc

2014-06-27 Thread Ajith Adapa
Hi, I am quite new to network namespaces and just making my hands dirty using ip command to create network namespaces. As per the man page for ip command " By convention a named network namespace is an object at /var/run/netns/NAME that can be opened. The file descriptor res

Re: [lxc-users] Networking in LXC

2014-06-10 Thread Ajith Adapa
it work ? Regards, Ajith On Tue, Jun 10, 2014 at 2:48 PM, Fajar A. Nugraha wrote: > On Tue, Jun 10, 2014 at 3:12 PM, Ajith Adapa wrote: >> Hi, >> >> First I need to really thank the community for helping me out in >> starting LXC container on fedora 20. >&g

[lxc-users] Networking in LXC

2014-06-10 Thread Ajith Adapa
Hi, First I need to really thank the community for helping me out in starting LXC container on fedora 20. I have some basic questions regarding networking in LXC. 1. Is there any tutorial or doc regarding support for various network options in lxc container ? 2. When I login into container and

Re: [lxc-users] Username/Password for LXC container in fedora-20

2014-06-06 Thread Ajith Adapa
need to modify files in container everytime whenever I create a new container and start it ? Once again, Thanks for the help. Regards, Ajith On Fri, Jun 6, 2014 at 7:14 PM, Michael H. Warfield wrote: > On Fri, 2014-06-06 at 09:22 +0530, Ajith Adapa wrote: >> @Michael > >> So

Re: [lxc-users] Username/Password for LXC container in fedora-20

2014-06-05 Thread Ajith Adapa
pam_loginuid.so pluto:16:#session required pam_loginuid.so remote:10:#sessionrequired pam_loginuid.so sshd:10:#sessionrequired pam_loginuid.so Regards, Ajith On Fri, Jun 6, 2014 at 9:07 AM, Ajith Adapa wrote: > Hi Michael, > > I have updated Fedora-20 to latest kerne

Re: [lxc-users] Username/Password for LXC container in fedora-20

2014-06-05 Thread Ajith Adapa
ed target Multi-User System. Fedora release 20 (Heisenbug) Kernel 3.14.4-200.fc20.x86_64 on an x86_64 (console) test login: Regards, Ajith On Fri, Jun 6, 2014 at 6:18 AM, Ajith Adapa wrote: > Hi guys, > > Thanks for the replies. I will try to upgrade my Fedora-20 with latest > kernel

Re: [lxc-users] Username/Password for LXC container in fedora-20

2014-06-05 Thread Ajith Adapa
Hi guys, Thanks for the replies. I will try to upgrade my Fedora-20 with latest kernel and try the same. On Thu, Jun 5, 2014 at 7:51 PM, Michael H. Warfield wrote: > On Thu, 2014-06-05 at 17:56 +0530, Ajith Adapa wrote: > > Hi, > > > > I have created an lxc contai

[lxc-users] Username/Password for LXC container in fedora-20

2014-06-05 Thread Ajith Adapa
Hi, I have created an lxc container in feodra-20 with default config file and default fedora template. lxc-create -n root -t fedora When i try to start the container i am greeted with username and password prompt.What is the default username/password for lxc-container in fedora-20 ? Kernel Vers