Re: [lxc-users] Ubuntu Lxc disable Cgroup memory controller

2015-05-01 Thread CDR
It does not work cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-3.17.1-031701-generic root=UUID=3475cb20-ce8d-4f1a-bb5a-1f2dd0aeb515 ro elevator=noop net.ifnames=1 biosdevname=0 selinux=0 ipv6.disable=1 apparmor=0 cgroup_disable=memory but lxc-checkconfig says the memory Cgroup memory controller:

[lxc-users] Ubuntu Lxc disable Cgroup memory controller

2015-04-30 Thread CDR
I need to come up with a way to disable the cgroup memory controller in the kernel command line, for Ubuntu 14.04 and Centos 7. Is there a way to do this? I found a kernel command line to enable memory controller, but not t disable. ___ lxc-users mailing

Re: [lxc-users] Container cannot write to /var/run

2015-04-06 Thread CDR
It's work in progress. Among others, systemd in container needs lxcfs, and one of the issues you'd find is https://github.com/lxc/lxcfs/issues/17 , which is just closed today, so chances are most people don't have that fix yet. On 4 April 2015 at 23:31, CDR vene...@gmail.com javascript:; wrote

[lxc-users] Container cannot write to /var/run

2015-04-04 Thread CDR
My Fedora 20 container, on a Ubuntu 14.04 server, cannot write to /var/run. Is there a secret reason that I use to fix it? Other containers with non-systemd OSs can write just fine to /var/run. Philip ___ lxc-users mailing list

Re: [lxc-users] LXC 1.1.1 has been released! (Was: LXC 1.0.7 has been released!)

2015-03-16 Thread CDR
Is it available automatically in Ubuntu lcx-daily? On Mon, Mar 16, 2015 at 6:28 PM, Stéphane Graber stgra...@ubuntu.com wrote: Gah, yes, I re-use my old e-mails and yes, I forgot to change the subject... That's LXC 1.1.1, not LXC 1.0.7! On Mon, Mar 16, 2015 at 06:26:55PM -0400, Stéphane

Re: [lxc-users] installation of package fails in container

2015-03-11 Thread CDR
). Or simply chroot to the container fs from the host (NOT lxc-attach), and repeat your yum install command. -- Fajar On Sat, Mar 7, 2015 at 2:09 PM, CDR vene...@gmail.com wrote: is there any workaround? On Fri, Mar 6, 2015 at 8:44 PM, Király, István lak...@d250.hu wrote: This happens

[lxc-users] installation of package fails in container

2015-03-06 Thread CDR
Downloading packages: mtr-0.85-7.el7.x86_64.rpm | 71 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 2:mtr-0.85-7.el7.x86_64 1/1 Error unpacking rpm package 2:mtr-0.85-7.el7.x86_64 error: unpacking of archive failed on

Re: [lxc-users] installation of package fails in container

2015-03-06 Thread CDR
running? b. On 6 March 2015 at 22:25, CDR vene...@gmail.com wrote: Downloading packages: mtr-0.85-7.el7.x86_64.rpm | 71 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 2:mtr-0.85-7.el7.x86_64 1/1 Error

Re: [lxc-users] Problem with memory.memsw.limit_in_bytes on Ubuntu 14.04.

2015-02-26 Thread CDR
It should work with 2G. The rest a bad excuse. It has become a standard in the software industry. On Thu, Feb 26, 2015 at 8:49 AM, Fajar A. Nugraha l...@fajar.net wrote: On Thu, Feb 26, 2015 at 6:51 PM, PONCET Anthony ff...@msn.com wrote: Hello, I'm trying to used the

Re: [lxc-users] lxc-console not working on centos 7 container

2015-02-12 Thread CDR
...@fajar.net wrote: Do you have cgroupfs-mount installed? Did you follow the steps I pasted? Did you run lxc-start -F and look at the output? On Thu, Feb 12, 2015 at 3:05 PM, CDR vene...@gmail.com wrote: What changes do I need to do at the host level so my provileged systemd containers may work

Re: [lxc-users] lxc-console not working on centos 7 container

2015-02-12 Thread CDR
container's systemd freeze, thus nothing is listening on its tty1. And if you don't have systemd cgroup mounted on the host (which is what cgroupfs-mount is for), it would certainly be the case. -- Fajar On Thu, Feb 12, 2015 at 2:50 PM, CDR vene...@gmail.com wrote: I cannot get past this root

Re: [lxc-users] lxc-console not working on centos 7 container

2015-02-11 Thread CDR
I cannot make this solution work. There are a lot of errors. On Thu, Feb 12, 2015 at 1:19 AM, CDR vene...@gmail.com wrote: Thanks. I think Serge may want to change permanently the config and other in the on-line template so Centos 7 does work right away. On Thu, Feb 12, 2015 at 1:08 AM

Re: [lxc-users] lxc-console not working on centos 7 container

2015-02-11 Thread CDR
I cannot get past this root@ubuserver:/var/lib/lxc/c7v# lxc-console -n c7v Connected to tty 1 Type Ctrl+a q to exit the console, Ctrl+a Ctrl+a to enter Ctrl+a itself On Thu, Feb 12, 2015 at 2:41 AM, CDR vene...@gmail.com wrote: I cannot make this solution work. There are a lot of errors

Re: [lxc-users] lxc-console not working on centos 7 container

2015-02-11 Thread CDR
changes (RPMS and SPECS folder), but it wasn't enough to run unpriviledged container. It should be reasonably safer than allow-the-container-to-do-anything approach previously needed for c7. -- Fajar On Fri, Feb 6, 2015 at 9:35 PM, CDR vene...@gmail.com wrote: Thanks. I love Ubuntu

Re: [lxc-users] lxc-top

2015-02-10 Thread CDR
That is why I asked he question, the q does not exit. On Tue, Feb 10, 2015 at 6:13 AM, Dwight Engen dwight.en...@oracle.com wrote: On Mon, 9 Feb 2015 22:33:37 -0800 CDR vene...@gmail.com wrote: Just out of curiosity, how do I exit lxc-top in Ubuntu 14.04? The letter q means quiet. I do

[lxc-users] lxc-top

2015-02-09 Thread CDR
Just out of curiosity, how do I exit lxc-top in Ubuntu 14.04? The letter q means quiet. I do a Ctrl-C, to exit, but I am sure there must be a cleaner way. The man lxc-top says nothing about this ___ lxc-users mailing list

Re: [lxc-users] TTY Question

2015-02-06 Thread CDR
would it prevent Asterisk from duping a core file on crashing? On Thu, Feb 5, 2015 at 5:11 PM, Fajar A. Nugraha l...@fajar.net wrote: On Fri, Feb 6, 2015 at 1:19 AM, CDR vene...@gmail.com wrote: I need to use TYY=9 in a container, how do I achieve that? You could probably start by NOT using

Re: [lxc-users] TTY Question

2015-02-06 Thread CDR
Thanks. I finally found how to change the font. Besides that, I will keep researching why it does not store a core dump. On Fri, Feb 6, 2015 at 2:36 AM, Fajar A. Nugraha l...@fajar.net wrote: On Fri, Feb 6, 2015 at 6:05 AM, CDR vene...@gmail.com wrote: a) Sorry about the fonts You're still

Re: [lxc-users] lxc-console not working on centos 7 container

2015-02-06 Thread CDR
, CDR vene...@gmail.com wrote: Thanks for the response. I disable selinux and a apparmor routinely. My containers are just a way to separate applications, there are no users accessing them, nothing bad can happen. So basically you are saying that there is no way to run Centos 7 under

Re: [lxc-users] lxc-console not working on centos 7 container

2015-02-06 Thread CDR
. I think somebody dropped the ball. On Fri, Feb 6, 2015 at 4:30 AM, Fajar A. Nugraha l...@fajar.net wrote: On Fri, Feb 6, 2015 at 3:25 AM, CDR vene...@gmail.com wrote: In Ubuntu 14.04 fully updated and lxc latest.1.1, a container with Centos 7 never allows connection via lxc-console

[lxc-users] TTY Question

2015-02-05 Thread CDR
​I need to use TYY=9 ​in a container, how do I achieve that? Also I feel that my apps in the container crash more than when installed in a virtual machine, ceteris paribus. How do I write in the configuration that the container has the same importance as the host? I actually don't run anything on

[lxc-users] lxc-console not working on centos 7 container

2015-02-05 Thread CDR
In Ubuntu 14.04 fully updated and lxc latest.1.1, a container with Centos 7 never allows connection via lxc-console. It stays as below. If you start the container with -F, you can see how it boots and indeed you can log in via the console. lxc-console -n centos7 Connected to tty 1 Type Ctrl+a q

Re: [lxc-users] Unix Sockets communications between containers

2014-11-12 Thread CDR
11, 2014 at 10:29 PM, Fajar A. Nugraha l...@fajar.net wrote: On Wed, Nov 12, 2014 at 9:27 AM, CDR vene...@gmail.com wrote: That is how we do business now, over TCP. By the way, I downloaded a new derivative of Mysql, http://paralleluniverse-inc.com/, and it seems, in my tests, several times

[lxc-users] Unix Sockets communications between containers

2014-11-11 Thread CDR
Dear friends I have a container with mysql and wish to have all other containers, and the host, being able to use a socket to post queries to my database. I thought of sharing a common host-directory, such as /temp. Once all containers can access the same directory, will they actually be able to

Re: [lxc-users] Unix Sockets communications between containers

2014-11-11 Thread CDR
This is fascinating. I will try and report if it does work. Now, suppose the container is a mount that at the same time it is exported an NFS share. Will the computers that are remotely mounting that share, be able to use the socket for querying mysql? That opens a realm of possibilities for my

Re: [lxc-users] Unix Sockets communications between containers

2014-11-11 Thread CDR
to work in parallel. On Tue, Nov 11, 2014 at 3:33 PM, Michael H. Warfield m...@wittsend.com wrote: On Tue, 2014-11-11 at 15:03 -0500, CDR wrote: This is fascinating. I will try and report if it does work. Now, suppose the container is a mount that at the same time it is exported an NFS

Re: [lxc-users] Bug bug bug

2014-11-08 Thread CDR
to adjust some 'ulimits'. Guido On 08.11.2014 03:36, CDR wrote: There is something very wrong with LXC in general, it does not matter the OS or even the kernel version. My OS is Ubuntu 14.04. I have a Centos 6.6 container with mysql and 50 instances of Asterisk 12.0, plus opensips

[lxc-users] Bug bug bug

2014-11-07 Thread CDR
There is something very wrong with LXC in general, it does not matter the OS or even the kernel version. My OS is Ubuntu 14.04. I have a Centos 6.6 container with mysql and 50 instances of Asterisk 12.0, plus opensips. The memory is limited to 100G, but it does not matter if I limit it or not. It

Re: [lxc-users] Compilation fails in Fedora 21

2014-11-06 Thread CDR
I am running the server version and also I did install python3. Before I issue make rpm, I can see that it detects python3, when configure finishes. On Wed, Nov 5, 2014 at 11:46 PM, Michael H. Warfield m...@wittsend.com wrote: On Wed, 2014-11-05 at 23:09 -0500, CDR wrote: Requires: /bin/bash

[lxc-users] Compilation fails in Fedora 21

2014-11-05 Thread CDR
Requires: /bin/bash /bin/sh /usr/bin/python3 libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libcap.so.2()(64bit) liblxc.so.1()(64bit)

Re: [lxc-users] Using Docker Hub images with LXC

2014-10-21 Thread CDR
fantastic On Tue, Oct 21, 2014 at 3:46 PM, Ranjib Dey dey.ran...@gmail.com wrote: awesome :-) On Tue, Oct 21, 2014 at 12:45 PM, Robin Monjo robinmo...@gmail.com wrote: Hi all, I built a tool to download raw root file systems from the Docker Hub so they can be used with LXC. Hope this may

[lxc-users] Networking macvlan has a low limit

2014-10-20 Thread CDR
I have reached a vey low limit on a macvlan network. One physical interface, eth0, returns an error lxc_conf - failed to set 'eth1' up : Device or resource busy lxc-start 1413870325.642 ERRORlxc_conf - failed to setup netdev lxc-start 1413870325.642 ERRORlxc_conf - failed to

Re: [lxc-users] Am I missing something?

2014-09-22 Thread CDR
You cannot have a macvlan bridge on an bridge interface, only on a real ethernet device, like eth0, eth1, etc. if you want to use a bridge, then use lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0 lxc.network.name= eth1 lxc.network.hwaddr = 00:de:f0:ca:d4:32 lxc.network.ipv4

Re: [lxc-users] Compile fails under Fedora

2014-09-21 Thread CDR
an already-submitted patch), or - use ubuntu with either official packages or daily ppa, which any normal ubuntu user should be able to do (no dev skill required) -- Fajar On Sun, Sep 21, 2014 at 6:35 AM, CDR vene...@gmail.com wrote: This technology is being used on critical line-of-business

Re: [lxc-users] Compile fails under Fedora

2014-09-20 Thread CDR
-0400, CDR wrote: I did a git pull and ´when I issued a make rpm, it failed error: Installed (but unpackaged) file(s) found: /usr/lib/systemd/system/lxc-net.service RPM build errors: File listed twice: /usr/lib64/python3.3/site-packages/_lxc-0.1-py3.3.egg-info File listed twice: /usr

[lxc-users] Console hangs

2014-09-16 Thread CDR
In Ubuntu I have a container that boots fine but this does now work lxc-console -n ivr Connected to tty 1 Type Ctrl+a q to exit the console, Ctrl+a Ctrl+a to enter Ctrl+a itself it hangs there for ever what are the steps to figure the problem? The container is Fedora 20. Yours Philip

[lxc-users] Ubuntu behind Centos

2014-09-09 Thread CDR
I noticed that in Centos 7 I have the command lxc-top while in Ubuntu 14.04 there is no such command. I like Ubuntu, but whay the issue with is vital command? ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org

Re: [lxc-users] Thrilled to announce the the launch of Flockport.com to this list

2014-09-09 Thread CDR
I already convered 100% of my company to Virtualization + LXC, It is the optiomal technology mix. A few powerful virtual machines with several dozen containers sharing the same kernel. On Tuesday, September 9, 2014, Kevin LaTona li...@studiosola.com wrote: On Sep 9, 2014, at 12:49 PM, Tobby

[lxc-users] Ubuntu 14 Container Fedora 20 ignoring most NICs

2014-09-05 Thread CDR
I have a Fedora 20 container with 10 nics lspci -bv | grep -i ethernet -A1 04:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01) Subsystem: VMware VMXNET3 Ethernet Controller Physical Slot: 161 -- 05:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller

Re: [lxc-users] Ubuntu 14 Container Fedora 20 ignoring most NICs

2014-09-05 Thread CDR
, but after a successful creation, it does not start and it does not even give me an error message using --logfile I am caught between a rock and a hard-place, it seems. On Fri, Sep 5, 2014 at 1:21 PM, Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting CDR (vene...@gmail.com): I have a Fedora 20

Re: [lxc-users] Ubuntu 14 Container Fedora 20 ignoring most NICs

2014-09-05 Thread CDR
at 1:39 PM, CDR vene...@gmail.com wrote: Same issue, it only shows eth0 and eth1. no error I thing the container I tried to compile LXC in Centos 7, so I could make a container, but compilation fails. I already reported the issue to the development list. In Ubuntu 14.04, I created a new centos 7

Re: [lxc-users] Ubuntu 14 Container Fedora 20 ignoring most NICs

2014-09-05 Thread CDR
, Michael H. Warfield m...@wittsend.com wrote: On Fri, 2014-09-05 at 19:22 +, Serge Hallyn wrote: Quoting CDR (vene...@gmail.com): Same issue, it only shows eth0 and eth1. no error I thing the container I tried to compile LXC in Centos 7, so I could make a container, but compilation

Re: [lxc-users] lxc-top packaging

2014-08-28 Thread CDR
It is impossible to manage a large installation of LXC containers without lxc-top. My impression is that the honorable engineers are separated from the daily struggle of us, business men. On Thu, Aug 28, 2014 at 12:58 PM, Stéphane Graber stgra...@ubuntu.com wrote: I think Dwight mostly wrote

Re: [lxc-users] Cannot create a macvlan private bridge on lx

2014-08-13 Thread CDR
Do a real bridge on the host and use it on both the VM and the container. I do it all the time. On Wed, Aug 13, 2014 at 1:25 PM, Anjali Kulkarni anj...@juniper.net wrote: Thanks - is there any way to do a private bridge between a VM and a container, so that they can communicate? What's the use

[lxc-users] Compilation fails under Fedora 20

2014-08-09 Thread CDR
make rpm fails. Processing files: lxc-debuginfo-1.1.0-0.1.alpha1.fc20.x86_64 Provides: lxc-debuginfo = 1.1.0-0.1.alpha1.fc20 lxc-debuginfo(x86-64) = 1.1.0-0.1.alpha1.fc20 Requires(rpmlib): rpmlib(FileDigests) = 4.6.0-1 rpmlib(PayloadFilesHavePrefix) = 4.0-1 rpmlib(CompressedFileNames) = 3.0.4-1

Re: [lxc-users] How to cancel lxc-autostart

2014-08-09 Thread CDR
This is a philosophical divide. I live in the real world, and are successfully moving all my business to LXC, or a combination of LXC and real virtualization, where you have a few virtual machines with hundreds of GBs of RAM and 36 or more cores, and these super-virtual machines act solely as

Re: [lxc-users] How to cancel lxc-autostart

2014-08-09 Thread CDR
, 10:32 -0400 schrieb CDR: This is a philosophical divide. I live in the real world, and are successfully moving all my business to LXC, or a combination of LXC and real virtualization, where you have a few virtual machines with hundreds of GBs of RAM and 36 or more cores, and these super-virtual

[lxc-users] How to cancel lxc-autostart

2014-08-08 Thread CDR
Dear Friends I am using Ubuntu 14.04 and LXC latest. When the machine boots I would like to cancel lxc-autostart, since I have a lot of containers and I need to fix something first. Is there a way? If not, maybe we may add a new command for that. Also, I still cannot install lxc-top, to see what

Re: [lxc-users] How to cancel lxc-autostart

2014-08-08 Thread CDR
Suppose you manage a box with 300 containers, all on autostart=1. One day you reboot the box but you need to avoid all the contaoners to start. There should be a command like lxc-cancel-autostart. Does it make sense? On Friday, August 8, 2014, Harald Dunkel harald.dun...@aixigo.de wrote: I am

Re: [lxc-users] How to cancel lxc-autostart

2014-08-08 Thread CDR
www.arp.gda.pl 2014-08-08 21:21 GMT+02:00 CDR vene...@gmail.com: Suppose you manage a box with 300 containers, all on autostart=1. One day you reboot the box but you need to avoid all the contaoners to start. There should be a command like lxc-cancel-autostart. Does it make sense? On Friday, August

Re: [lxc-users] Centos-7 x86_64 container - systemd-journald process eat CPU

2014-07-30 Thread CDR
I support a bugzilla for LXC. Also, if anybody can analyze it properly, what is the difference between docker and LXC? Philip On Wed, Jul 30, 2014 at 6:32 AM, mxs kolo koloma...@gmail.com wrote: Hi AFA CentOS 7 in general goes - I have not yet had the time to incorporate the systemd logic from

Re: [lxc-users] Centos-7 x86_64 container - systemd-journald process eat CPU

2014-07-30 Thread CDR
I have had great success with Fedora 20 templates. My scheme in production is: ubuntu 14.04 as server and Fedora 20 as container. On Wed, Jul 30, 2014 at 7:16 AM, Michael H. Warfield m...@wittsend.com wrote: On Wed, 2014-07-30 at 14:32 +0400, mxs kolo wrote: Hi AFA CentOS 7 in general goes -

[lxc-users] Centos 7

2014-07-18 Thread CDR
Dear friends I moved a working container from Ubuntu 14.04 to Centos 7, and networking does not work. Previously, I had compiled and installed LXC from git, make rpm: rpm -qa | grep lxc lxc-debuginfo-1.1.0-0.1.alpha1.el7.centos.x86_64 lxc-1.1.0-0.1.alpha1.el7.centos.x86_64

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

2014-07-04 Thread CDR
How do I install lxc-top? I am using Ubuntu server 14.04, and lxc 1.04, from ppa. It is not there, but I could imagine a more useful application. Philip On Fri, Jul 4, 2014 at 8:37 AM, Thomas Moschny thomas.mosc...@gmail.com wrote: 2014-07-04 6:48 GMT+02:00 Ajith Adapa ajith.ad...@gmail.com: #

Re: [lxc-users] Container not started

2014-06-19 Thread CDR
issue here, hidden. If somebody has a Fedora 20 virtual machine, and wants to reproduce it, I am more than happy to upload my container. It contains no proprietary code On Thu, Jun 19, 2014 at 11:11 AM, Michael H. Warfield m...@wittsend.com wrote: On Tue, 2014-06-17 at 09:42 -0400, CDR wrote: I

[lxc-users] Container not started

2014-06-16 Thread CDR
I copied an LXC container fro Ubuntu Server to Fedora 20 and when I start it I get xc-start -n masterfe systemd 208 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ) Detected virtualization 'lxc'. Welcome to Fedora 20 (Heisenbug)! Set hostname

Re: [lxc-users] LXC 1.0.4 has been released!

2014-06-13 Thread CDR
. On Fri, Jun 13, 2014 at 08:28:16PM -0400, CDR wrote: I am worried about the few weeks part. If I want a slow/updating server software, I could stay with Scientific Linux. On Fri, Jun 13, 2014 at 8:15 PM, J Bc jav...@esdebian.org wrote: Good work. thank you. 2014-06-13 19:57 GMT+02:00

[lxc-users] Ubuntu Server errors on Fedora 20 container start

2014-06-07 Thread CDR
I moved a Fedora 20 privileged container from one server to another using rsync -qarlpt --sparse and now when the container starts I get the messages below: Failed to insert module 'autofs4' Set hostname to fedora-1. Failed to install release agent, ignoring: File exists Socket service

Re: [lxc-users] Ubuntu Server errors on Fedora 20 container start

2014-06-07 Thread CDR
...@wittsend.com wrote: On Sat, 2014-06-07 at 08:19 -0400, CDR wrote: I moved a Fedora 20 privileged container from one server to another using rsync -qarlpt --sparse Were they both Ubuntu servers with the same kernel rev and did you copy the configuration over as well? Same version of LXC

Re: [lxc-users] Fedory 20 LXC fails to start on Ubuntu 14.04 host?

2014-05-24 Thread CDR
I am using a Fedora container in production since a few days ago, created with LXC 1.0.3. No problems whatsoever. My environment is Ubuntu server 1404. dpkg --list | grep -i lxc ii liblxc11.0.3-0ubuntu3 amd64Linux Containers userspace tools

Re: [lxc-users] Fedory 20 LXC fails to start on Ubuntu 14.04 host?

2014-05-24 Thread CDR
Hard iron. But containers should be transparent for him, since LXC does not use any real virtualization. As long as his kernel is the right version. On Sat, May 24, 2014 at 10:50 PM, Michael H. Warfield m...@wittsend.com wrote: On Sat, 2014-05-24 at 22:12 -0400, CDR wrote: I am using a Fedora

Re: [lxc-users] We need a lxc-top utility

2014-05-22 Thread CDR
wrote: On Wed, May 21, 2014 at 9:55 PM, Stéphane Graber stgra...@ubuntu.com wrote: On Wed, May 21, 2014 at 01:56:54PM +, Serge Hallyn wrote: Quoting CDR (vene...@gmail.com): Wrong, that RPM was in Fedora, in Ubuntu I connected to a repository. But lxc-top is not there. How do I get

Re: [lxc-users] We need a lxc-top utility

2014-05-21 Thread CDR
I did my lxc build with RPM make rpm, and it did not built it. What are the steps? I am using Ubuntu Server Philip On Wed, May 21, 2014 at 7:50 AM, Steven Jan Springl ste...@springl.co.uk wrote: On Wednesday 21 May 2014 01:07:39 CDR wrote: Dear Friends I have 20+ containers with the same

[lxc-users] Configuration not being refreshed on reboot

2014-05-21 Thread CDR
Dear Friends I came upon a bug that needs to be addressed Suppose you have a container with a network like this lxc.network.type = veth lxc.network.flags = up lxc.network.link = br20 lxc.network.hwaddr = 92:ea:2b:24:e0:27 lxc.network.ipv4 = 0.0.0.0/24 The container is UP, then you decide to

[lxc-users] We need a lxc-top utility

2014-05-20 Thread CDR
Dear Friends I have 20+ containers with the same programs running. All of them are cpu-intensive. But one of them is eating way more CPU than the average. With top I have no idea which container owns that program. Perhaps we need a new lxc-top that would identify the process and the container, and

[lxc-users] Fedora container thinks it is not running

2014-05-15 Thread CDR
The container is started, because I am inside it via ssh but I cannot use its console lxc-console -n msterfe msterfe is not running I am uploading the configuration as an attachment The container was created from the template, LXC 1.0.3 dpkg --list | grep lxc ii liblxc1

Re: [lxc-users] Fedora 20 template on LVM not working

2014-05-15 Thread CDR
The template worked fine for me, but there is a material difference, I use a simple directory, where you are using a different approach to storage. Philip On Thu, May 15, 2014 at 12:01 PM, Michael H. Warfield m...@wittsend.com wrote: On Thu, 2014-05-08 at 08:54 +0200, Flo wrote: Hi, is the

Re: [lxc-users] Fedora container thinks it is not running

2014-05-15 Thread CDR
m...@wittsend.com wrote: On Thu, 2014-05-15 at 04:40 -0400, CDR wrote: The container is started, because I am inside it via ssh but I cannot use its console lxc-console -n msterfe msterfe is not running I am uploading

[lxc-users] cloning could be improved

2014-05-15 Thread CDR
The cloning app should intelligently change the mount points to match the new container's directory. For example, this is the original mount lxc.mount.entry = /usr/src /var/lib/lxc/container-35/rootfs/usr/src none bind 0 0 if I clone container-35, to container-36, the clone should have a mount

[lxc-users] Hotplug new network interfaces not working

2014-05-13 Thread CDR
Dear Friends I have a Fedora 20 LXC (libirt) container in production and I cannot reboot it. So I used virsh edit mycontainer and added several interface type='direct' mac address='00:5A:0C:18:C9:E9'/ source dev='eth1' mode='bridge'/ /interface The problem is that after it gets

Re: [lxc-users] Hotplug new network interfaces not working

2014-05-13 Thread CDR
Let me digest all this. You must be right, because Fedora 20 containers are the only ones that use systemd, in my box many thanks Federico On Tue, May 13, 2014 at 1:24 PM, Michael H. Warfield m...@wittsend.com wrote: On Tue, 2014-05-13 at 13:00 -0400, CDR wrote: I am forced to use libvirt-lxc

Re: [lxc-users] Hotplug new network interfaces not working

2014-05-13 Thread CDR
I decided to generate a new container and reinstall all my apps. A lot of work, but you successfully demolished all my work so far, for which I am thankful. Philip On Tue, May 13, 2014 at 7:57 PM, Michael H. Warfield m...@wittsend.com wrote: On Tue, 2014-05-13 at 18:13 -0400, CDR wrote: Dear

Re: [lxc-users] Hotplug new network interfaces not working

2014-05-13 Thread CDR
lxc_container: Error creating container masterfe On Tue, May 13, 2014 at 8:15 PM, Michael H. Warfield m...@wittsend.com wrote: On Tue, 2014-05-13 at 20:03 -0400, CDR wrote: I decided to generate a new container and reinstall all my apps. A lot of work, but you successfully demolished all my work so

Re: [lxc-users] Hotplug new network interfaces not working

2014-05-13 Thread CDR
I copied your file, copy-paste, and the file ended in /usr/share/lxc/templates/lxc-fedora20 Then chmod +x then lxc-create -t fedora20 -n masterfe Am I wrong? On Tue, May 13, 2014 at 8:39 PM, Michael H. Warfield m...@wittsend.com wrote: On Tue, 2014-05-13 at 20:30 -0400, CDR wrote: I am

[lxc-users] Question about Ubuntu Server

2014-05-11 Thread CDR
Dear Friends I realize that this is not a list about Ubuntu, but here I have found more knowledge and help that in any other place. I am stuck since 48 hours ago in what takes 5 minutes in Fedora, i.e., setting vncserver to crate a desktop for me while the server is headless, for it remains in

Re: [lxc-users] Question about Ubuntu Server

2014-05-11 Thread CDR
let me try that setup. I am a few hours from installing Fedora 20, but, hey, I hate to give up. On Sun, May 11, 2014 at 6:10 PM, Robert Pendell shi...@elite-systems.org wrote: On Sun, May 11, 2014 at 5:58 PM, CDR vene...@gmail.com wrote: Dear Friends I realize that this is not a list about

Re: [lxc-users] Question about Ubuntu Server

2014-05-11 Thread CDR
I found that VNC is several orders of magnitude more responsive than any X11 forwarding. Am I wrong? On Sun, May 11, 2014 at 6:34 PM, Fajar A. Nugraha l...@fajar.net wrote: On Mon, May 12, 2014 at 5:26 AM, CDR vene...@gmail.com wrote: let me try that setup. I am a few hours from installing

Re: [lxc-users] Question about Ubuntu Server

2014-05-11 Thread CDR
start the desktop? Yours Philip On Sun, May 11, 2014 at 6:10 PM, Robert Pendell shi...@elite-systems.org wrote: On Sun, May 11, 2014 at 5:58 PM, CDR vene...@gmail.com wrote: Dear Friends I realize that this is not a list about Ubuntu, but here I have found more knowledge and help that in any

Re: [lxc-users] Question about Ubuntu Server

2014-05-11 Thread CDR
- mainphrame j...@mainphrame.com wrote: I'm pretty sure non-root users can use virt-manager as long as they are in the kvm group On Sun, May 11, 2014 at 4:20 PM, CDR vene...@gmail.com wrote: Dear Robert I did it as vnc and it works. But when I start the vncserver as root, I get the classic

Re: [lxc-users] Question about Ubuntu Server

2014-05-11 Thread CDR
12, 2014 at 7:04 AM, CDR vene...@gmail.com wrote: I just tried and they cannot. In other distributions, there a file under /etc/X11/ where you need to add AllowRemoteRoot=true But I cannot find it in Ubuntu. Has anybody ever used virt-manager from a vnc-client I am sure there is a workaround

[lxc-users] Memory limit fails in Ubuntu Server

2014-05-09 Thread CDR
lxc-start -n utel-kde lxc-start: call to cgmanager_set_value_sync failed: invalid request lxc-start: Error setting cgroup memory.limit_in_bytes limit lxc/utel-kde lxc-start: Error setting memory.limit_in_bytes to 5GB for utel-kde lxc-start: failed to setup the cgroup limits for 'utel-kde'

Re: [lxc-users] Memory limit fails in Ubuntu Server

2014-05-09 Thread CDR
I found the issue This line lxc.cgroup.memory.limit_in_bytes = 5G makes the container fail to start while this one works lxc.cgroup.memory.limit_in_bytes = 536870910 I think that we should be free to specify the memory in any format, be MB, G, etc. Philip On Fri, May 9, 2014 at 6:00 AM, CDR

Re: [lxc-users] Memory limit fails in Ubuntu Server

2014-05-09 Thread CDR
any container can take down the box. Philip On Fri, May 9, 2014 at 6:09 AM, CDR vene...@gmail.com wrote: I found the issue This line lxc.cgroup.memory.limit_in_bytes = 5G makes the container fail to start while this one works lxc.cgroup.memory.limit_in_bytes = 536870910 I think that we

Re: [lxc-users] Is it possible to change memory limits without restarting container?

2014-05-09 Thread CDR
any container can take down the box. Philip On Fri, May 9, 2014 at 5:58 AM, CDR vene...@gmail.com wrote: The memory limit falis in Ubuntu Server lxc-start -n utel-kde lxc-start: call to cgmanager_set_value_sync failed: invalid request lxc-start: Error setting cgroup memory.limit_in_bytes limit

[lxc-users] Console not accessible in Fedora 20 LXC containers

2014-05-09 Thread CDR
On any Fedora 20 LXC containers, not libvirt, if I start the container without the -d flag, I can enter the container via the console just fine, However, if I start the container without the -d flag, I get stuck like this lxc-console -n fasterisk Connected to tty 1 Type Ctrl+a q to exit the

Re: [lxc-users] Memory limit fails in Ubuntu Server

2014-05-09 Thread CDR
Sorry, where do I see that memory.max_usage_in_bytes for my container? On Fri, May 9, 2014 at 9:21 AM, Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting CDR (vene...@gmail.com): I just tested and in fact, the memory restriction does not work. a) set a 5G limit for the container b) started

Re: [lxc-users] lxc-console produces no output

2014-05-09 Thread CDR
I detected an issue with all Fedora 20 containers that may benefit from --nohangup workaround If I start the container without the -d flag, then I cannot enter the container via the console, later. If I start the container without the -d flag, it works, bu then I cannot get out. So how do I try

[lxc-users] NUMA and LXC

2014-05-09 Thread CDR
I think we need to add a configuration to the global lxc.conf whereas any given container may run only on one NUMA node, and if that is not possible, it should not even start. The performance for a container that is contained, so to speak, in a single NUMA node, should be much higher that a

Re: [lxc-users] NUMA and LXC

2014-05-09 Thread CDR
..and that goes in the container's config or in the master lxc config file? So ask, I am still getting the handle on LXC On Fri, May 9, 2014 at 12:46 PM, Serge Hallyn serge.hal...@ubuntu.com wrote: lxc.cgroup.cpuset.mems = 1 Quoting CDR (vene...@gmail.com): I think we need to add

Re: [lxc-users] Ubuntu Server LXC networking Problem

2014-05-09 Thread CDR
-0400, CDR wrote: Does anybody know where in Canonical I may get support for LXC bridged-NAT networking? If the box is multihomed, it does not work.Although only one of the NICs has an IP address, it simply cannot route packets to the network. You may ping the default gateway

Re: [lxc-users] NUMA and LXC

2014-05-09 Thread CDR
:12 PM, Serge Hallyn serge.hal...@ubuntu.com wrote: That goes into the container config. If you wanted all containers on the same node you could put it into /etc/lxc/default.conf before creating containers. Quoting CDR (vene...@gmail.com): ..and that goes in the container's config

Re: [lxc-users] Ubuntu Server LXC networking Problem

2014-05-09 Thread CDR
The issue happens only with libvirt's virbr0 default network. It does not happen with lxc lxcbr0 I am attaching the required information On Fri, May 9, 2014 at 2:03 PM, CDR vene...@gmail.com wrote: No, my container has only one interface, and the host has many cards but only one with an IP

Re: [lxc-users] LXC Compilation fails under Suse Enterprise

2014-05-07 Thread CDR
open up. Thank you again for your interest. SUSE Linux Enterprise Beta Team: Can you help? This email address is associated with the account. Philip On Wed, May 7, 2014 at 3:44 AM, Thorsten Behrens tbehr...@suse.com wrote: CDR wrote: I was under the impression that the LXC group could make

Re: [lxc-users] {Disarmed} [lxc-devel] CentOS 6.3 kernel-2.6.32-279.el6.x86_64 crash

2014-05-07 Thread CDR
I had to install kernel 3.14.2 in order to avoid crashes with LXC. On Wed, May 7, 2014 at 12:41 PM, Shibashish shi...@gmail.com wrote: Upgraded lxc lxc-libs-1.0.3-1.el6.x86_64 lxc-1.0.3-1.el6.x86_64 CentOS release 6.3 (Final) uname -a Linux myhost 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22

[lxc-users] Unavailable loop devices

2014-05-06 Thread CDR
Dear Friends I succesfully created a SLES 11 SP3 container, but when I try to do this mount -o loop /images/SLE-11-SP3-SDK-DVD-x86_64-GM-DVD1.iso /media mount: Could not find any loop device. Maybe this kernel does not know about the loop device? (If so, recompile or `modprobe loop'.)

Re: [lxc-users] Unavailable loop devices

2014-05-06 Thread CDR
Dear Mike It does work indeed. I suggest that the developers add these two lines to the sample configuration. Yours Philip On Tue, May 6, 2014 at 9:28 AM, Michael H. Warfield m...@wittsend.com wrote: On Tue, 2014-05-06 at 06:25 -0400, CDR wrote: Dear Friends I succesfully created a SLES 11

Re: [lxc-users] Unavailable loop devices

2014-05-06 Thread CDR
, 2014 at 11:06 AM, Michael H. Warfield m...@wittsend.com wrote: On Tue, 2014-05-06 at 10:33 -0400, CDR wrote: Dear Mike It does work indeed. I suggest that the developers add these two lines to the sample configuration. It's been discussed and passed on for reasons for the time being

[lxc-users] LXC Compilation fails under Suse Enterprise

2014-05-05 Thread CDR
I know I am missing something, but I cannot figure it out. It does compile in Fedora 20 git clone https://github.com/lxc/lxc.git cd lxc ./autogen.sh + test -d autom4te.cache + rm -rf autom4te.cache + aclocal -I config configure.ac:205: warning: macro `AM_COND_IF' not found in library

Re: [lxc-users] LXC Compilation fails under Suse Enterprise

2014-05-05 Thread CDR
to install a newer autconf or automake rpm -qa | grep auto automake-1.10.1-4.131.9.1 autoconf-2.63-1.158 Can anybody from the developer's group confirm these versions? Yours Philip On Mon, May 5, 2014 at 11:00 PM, Michael H. Warfield m...@wittsend.com wrote: On Mon, 2014-05-05 at 22:23 -0400, CDR

[lxc-users] LXC NAT failing to forward

2014-05-03 Thread CDR
Dear friends I got stuck in the simplest part. First I tried libvirt and using the default network, whic works fine in virtual machines I created a Libvir-LSC container, and I can ping the host, DHCP works,etc., but no forwarding to the network. A pure LXC container with this network, failed.

  1   2   >