Re: [lxc-users] Error: /proc must be mounted

2016-11-23 Thread Fajar A. Nugraha
On Thu, Nov 24, 2016 at 12:29 AM, Itamar Gal wrote: > I have a server running Ubuntu 12.04.5 LTS (Precise Pangolin). I recently > ouch I HIGHLY recommend you upgrade your OS to xenial. Or even install xenial to a new disk using zfs root, if you have it (that way you can

Re: [lxc-users] Networking issue

2016-11-09 Thread Fajar A. Nugraha
On Wed, Nov 9, 2016 at 1:33 PM, Saint Michael wrote: > It was working fine until a week ago. > I have two sites, it happened on both, so the issue is not on my router or > my switch, since they are different sites and we did not upgrade anything. > Ubuntu 16.04.1 LTS

Re: [lxc-users] How to open a ticket with LXC

2016-11-08 Thread Fajar A. Nugraha
On Wed, Nov 9, 2016 at 12:37 PM, Saint Michael wrote: > I understand how you see it. > Maybe it was my mistake to get on the LXC bandwagon two years ago. I > should not bet my business on a non-commercial, unsupported software. > You do realise that if you purchase support

Re: [lxc-users] Questions about kernel version dependencies for unprivileged containers

2016-10-24 Thread Fajar A. Nugraha
On Tue, Oct 25, 2016 at 8:49 AM, 飞颜 wrote: > Dear Fajar, > > Thanks for your reply. > > userns introduce in "ttps://lwn.net/Articles/532593/ > " is completed in Linux 3.8, which is > difference between 3.12 and 3.8 LXC

Re: [lxc-users] Questions about kernel version dependencies for unprivileged containers

2016-10-24 Thread Fajar A. Nugraha
On Mon, Oct 24, 2016 at 2:52 PM, 飞颜 wrote: > Dear all, > > Extra dependencies for unprivileged containers need Linux kernel > >= 3.12 , Seen in URL "https://linuxcontainers.org/lxc/getting-started/;, > "https://linuxcontainers.org/lxc/security/; and

Re: [lxc-users] Unable to mount local dir

2016-09-26 Thread Fajar A. Nugraha
On Mon, Sep 26, 2016 at 5:38 PM, Paweł A. Gajda wrote: > I've added local dir (lxc config device add) to running (unprvileged, > default profile) containter and it just works, but after container stop, it > cannot start again with "Permission denied - Failed to mount". Any

Re: [lxc-users] lxc 2.0.4 lxc-ls show nothing and lxc-attach fail

2016-09-20 Thread Fajar A. Nugraha
On Tue, Sep 20, 2016 at 8:06 AM, John Y. wrote: > I run a container as: > lxc-start -n test2 -f /root/test.cfg > > I can get info by lxc-info > #lxc-info -n test2 > Name: test2 > State: RUNNING > PID:15615 > CPU use:1.62 seconds >

Re: [lxc-users] lxc-ls show containers which does not exist with lxc 1.0.6

2016-09-20 Thread Fajar A. Nugraha
On Tue, Sep 20, 2016 at 10:51 AM, John Y. wrote: > before craete a container: > > #lxc-ls > show nothing > > 1. Why there are some lxc still in lxc-ls when I use `lxc-stop -n test2 > -k` (or use `kill -9 pid`) to stop it?2. How to remove these unused lxc > info? > >

Re: [lxc-users] Apparmor DENIED messages in the logs

2016-09-14 Thread Fajar A. Nugraha
On Wed, Sep 14, 2016 at 4:00 PM, Andrey Repin <anrdae...@yandex.ru> wrote: > Greetings, Fajar A. Nugraha! > > > On Wed, Sep 14, 2016 at 12:03 AM, Andrey Repin <anrdae...@yandex.ru > >wrote: > > >>> [ 5408.633325] type=1400 audit(1471009220.304:57): appar

Re: [lxc-users] Apparmor DENIED messages in the logs

2016-09-13 Thread Fajar A. Nugraha
On Wed, Sep 14, 2016 at 12:03 AM, Andrey Repin wrote: > >> [ 5408.633325] type=1400 audit(1471009220.304:57): apparmor="DENIED" > >> operation="mount" info="failed flags match" error=-13 > >> profile="lxc-container-default" name="/" pid=12887 comm="mount" > flags="ro,

Re: [lxc-users] unpriviledged container failing to get an IP in Ubuntu 16

2016-09-13 Thread Fajar A. Nugraha
On Wed, Sep 14, 2016 at 12:45 AM, Ivan Ogai wrote: > > The problem is the encrypted home. > > FYI: > > If the user has an encrypted home (e.g. selecting the option in the > Ubuntu 16.04 installer) unprivileged LXC containers are not possible > (see error below). > > That is

Re: [lxc-users] LXD network access on wifi-only host witout bridge adapter

2016-09-13 Thread Fajar A. Nugraha
On Wed, Sep 14, 2016 at 2:22 AM, Jeff Kowalczyk <jeff.kowalc...@gmail.com> wrote: > On Mon, Sep 12, 2016 at 8:33 PM, Fajar A. Nugraha <l...@fajar.net> wrote: > > For outgoing access, the default NAT (can be configured on lxdbr0) will > > work. > > Thanks.

Re: [lxc-users] Capabilities (mlock) in unprivileged containers

2016-09-13 Thread Fajar A. Nugraha
On Tue, Sep 13, 2016 at 3:38 AM, Gregory Lutostanski < gregory.lutostan...@canonical.com> wrote: > Hey all. > > Curious if anyone has experience with getting capabilities working in > unprivileged containers. In particular I am trying to get mlock working... > > It should work. With a catch.

Re: [lxc-users] LXD network access on wifi-only host witout bridge adapter

2016-09-12 Thread Fajar A. Nugraha
On Tue, Sep 13, 2016 at 4:54 AM, Jeff Kowalczyk wrote: > What is the recommended configuration for LXD network access in host > environments with only wlan0 active? > > I'm attempting to use LXD 2.1 on a laptop for development and testing. > It seems that adding a

Re: [lxc-users] unpriviledged container failing to get an IP in Ubuntu 16

2016-09-09 Thread Fajar A. Nugraha
On Fri, Sep 9, 2016 at 5:05 PM, Ivan Ogai wrote: > Thanks for the suggestion to use LXD. Learning it together with zfs and > including them in provisioning code could take me some time though. A > tutorial > for Ubuntu 16 + zfs + unprivilaged lxd like the havily mentioned

Re: [lxc-users] unpriviledged container failing to get an IP in Ubuntu 16

2016-09-09 Thread Fajar A. Nugraha
On Fri, Sep 9, 2016 at 4:04 PM, Ivan Ogai wrote: > > Update: the error mentioned below has disappeared (was it a hardware > failure?), but the container doesn't get an IP. Doing this in the > container fixes it: > > dhclient eth0 > > Is this the expected behaviour? With

Re: [lxc-users] OpenVSwitch compiling on CentOS 6.8

2016-09-08 Thread Fajar A. Nugraha
On Thu, Sep 8, 2016 at 5:50 PM, Ruzsinszky Attila < ruzsinszky.att...@gmail.com> wrote: > Hi, > > I don't know what could be the problem. > > Host is Ubuntu 16.04 64 bit > ii lxc > 2.0.4-0ubuntu1~ubuntu16.04.2 > rattila@fcubi:~$ uname -a > Linux fcubi 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27

Re: [lxc-users] Has anyone ever configured or used LPVS with LXD/LXC before?

2016-09-08 Thread Fajar A. Nugraha
I've used IPVS (with keepalived, which also includes vrrp feature) in the past with xen. As long as you use bridge networking, with the server's eth (or vlan) as slave (NOT using lxdbr0, cause it wouldn't make much sense to loadbalance two or more containers on the same host), I don't see how it

Re: [lxc-users] IPTABLES isolation

2016-09-05 Thread Fajar A. Nugraha
On Mon, Sep 5, 2016 at 5:23 AM, wrote: > Hello ! > > Probably someone knows about iptables. If I use a LXC based VM, > I am sharing the host iptables with the VM. But I do not understand > the scenario in full. Waht myke my basic running is, that I > initialized the required

Re: [lxc-users] proc-sys-fs-binfmt_misc.automount failed

2016-09-03 Thread Fajar A. Nugraha
On Sat, Sep 3, 2016 at 9:13 PM, wrote: > From your > answer I assume, LXC itself does not need it. Correct. Your container mounts it, and failed, but most program can still run fine without it. > If I install > "autofs", the error dont go away. Because autofs (most mount

Re: [lxc-users] proc-sys-fs-binfmt_misc.automount failed

2016-09-03 Thread Fajar A. Nugraha
On Sat, Sep 3, 2016 at 1:21 PM, wrote: > Hello ! > > I have a problem with LXC (1.0.6-6+deb8u2, on debian jessie, 8.5, uname > 3.16.xx). If you REALLY have (or want) to use debian jessie, I recommend at least use jessie-backports:

Re: [lxc-users] Accessing Services Running Inside Nested Containers from Outside Parent Container?

2016-08-29 Thread Fajar A. Nugraha
On Sat, Aug 27, 2016 at 6:13 AM, P. Lowe wrote: > But what do I have to do in order to make the nested-inner (child) container > accessible outside the nested-outer (parent) container? The easiest option should be to create a bridge the parent container's eth0 (e.g.

Re: [lxc-users] LXD 2.0.3 and disk resource: not displayed for btrfs storage?

2016-08-25 Thread Fajar A. Nugraha
On Thu, Aug 25, 2016 at 5:01 PM, Sjoerd wrote: > Hi all, > > I've two servers with Ubuntu server 16.04 and LXD 2.0.3, both running on the > same kernel 4.4.0-31-generic on x86_64. > > One server has a ZFS storage pool and the other has BTRFS as storage pool. > > When I do a :

Re: [lxc-users] How to know available cgroup parameters ?

2016-08-24 Thread Fajar A. Nugraha
On Wed, Aug 24, 2016 at 6:50 PM, Daniel Caillibaud wrote: > # but with > lxc.cgroup.memory.limit_in_bytes = 1G > > => lxc-start 20160824124403.700 ERRORlxc_cgfsng - > cgfsng.c:cgfsng_setup_limits:1662 - No > such file or directory - Error setting memory.limit_in_bytes

Re: [lxc-users] lxd in Debian

2016-08-23 Thread Fajar A. Nugraha
On Wed, Aug 24, 2016 at 5:07 AM, P. Lowe wrote: > Why isn't socket activation transparent to the operation of LXD? > > Why should LXD care if it was activated by a socket connection or via > /etc/init.d/lxd? Shouldn't the operation in both cases be the same from > LXD's

Re: [lxc-users] lxd in Debian

2016-08-23 Thread Fajar A. Nugraha
On Tue, Aug 23, 2016 at 4:59 PM, Micky Del Favero <mi...@mesina.net> wrote: > "Fajar A. Nugraha" <l...@fajar.net> writes: > >> I'm confused. >> >> How did you managed to get it build, when the source from >> http://packages.ubuntu.com/xenial-

Re: [lxc-users] lxd in Debian

2016-08-23 Thread Fajar A. Nugraha
From my experience creating lxd rpm for centos6, the hardest part is to provide build requirements. Lxd uses golang, which probably makes it easier for the devs to maintain, but also requires a bunch of go dependencies. Like

Re: [lxc-users] How frequently used containers for Cloud solutions

2016-08-15 Thread Fajar A. Nugraha
On Sun, Aug 14, 2016 at 5:07 AM, Thouraya TH wrote: > Hi all, > > Please, I'd like to know how frequently containers are used for Cloud > solutions and what kind of applications use this type of virtualization. > > Please, where can I find these details? Is there anything

Re: [lxc-users] Unable to import the ZFS pool LXD

2016-08-10 Thread Fajar A. Nugraha
On Wed, Aug 10, 2016 at 5:42 PM, Goran Brkuljan wrote: >> @Goran, did you let lxd create a new zfs pool on top of a file >> (loopback)? If yes (e.g. you're following >> https://help.ubuntu.com/lts/serverguide/lxd.html#lxd-configuration or >> similar) > > > Yes that's

Re: [lxc-users] Unable to import the ZFS pool LXD

2016-08-09 Thread Fajar A. Nugraha
On Wed, Aug 10, 2016 at 4:39 AM, Sean McNamara wrote: > On Tue, Aug 9, 2016 at 5:26 PM, Goran Brkuljan > wrote: >> Hi everybody, >> >> I have problem with ZFS pool when I start LXD containers. I did not work >> with containers at the time when problem

Re: [lxc-users] LXD Based Container For Desktop Applications - Some Success - Help

2016-07-22 Thread Fajar A. Nugraha
On Fri, Jul 22, 2016 at 4:33 AM, rob e wrote: > thanks Brian, > yes, I have about 4 of those running - unprivileged :) And I've had a go > with TigerVNC (which supports 3d capabilities currently lacking in X2Go). > I can run current versions of KDE and Unity on Xephyr,

Re: [lxc-users] Can I, or should I, "lxc.id_map = u 250 250 1"?

2016-07-12 Thread Fajar A. Nugraha
On Wed, Jul 13, 2016 at 11:54 AM, Fog_Watch wrote: > lxc-start -F -n hf #returns: > newuidmap: write to uid_map failed: Invalid argument > lxc-start: start.c: > $ cat /home/lxc/.local/lxc/hf/config > > lxc.id_map = u 250

Re: [lxc-users] LXD containers with dual nic

2016-07-11 Thread Fajar A. Nugraha
A good starting question is "is your network configured the same". Sometimes there are anti spoofing or MAC-limitation rule so that one switch "port" only allows one MAC or one IP address only. One such example is networking in amazon EC2. Your network admin might enforce the same rule on your

Re: [lxc-users] move unprivileged containers - uid/gid map

2016-07-11 Thread Fajar A. Nugraha
On Sun, Jul 10, 2016 at 7:20 AM, Benoit GEORGELIN - Association Web4all < benoit.george...@web4all.fr> wrote: > Hi, > > I'm looking to move unprivileged containers from one host to another. > I'm actually moving pure LXC containers to a new LXD/LXC host > > I would like to know how should I deal

Re: [lxc-users] lxc supports arm?

2016-06-28 Thread Fajar A. Nugraha
On Wed, Jun 29, 2016 at 9:51 AM, fu huawei wrote: > > hello to all: > > I get lxc-1.0.8.tar.gz . > I want to port lxc on arm ,but exists error for cross-compile , > please tell me ,lxc supports arm ? or which version of lxc and > kernel ?or need addtional util ? > >

Re: [lxc-users] LXD containers lose outbound network -- addendum

2016-06-27 Thread Fajar A. Nugraha
On Mon, Jun 27, 2016 at 10:05 PM, ronkaluta wrote: > > As a follow up to my last post > #- > # The network interfaces sometimes get mixed up. > #- > lxc config edit ${CONTAINER} > # example > # > name: x2go1248 >

Re: [lxc-users] LXD containers lose outbound network

2016-06-27 Thread Fajar A. Nugraha
On Mon, Jun 27, 2016 at 5:15 PM, wrote: > However, I cannot ping an outside IP: > root@taskd:~# ping > 8.8.8.8 > > PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. > > On the host I see: > 11:30:14.343238 IP 10.0.8.54 > google-public-dns-a.google.com: ICMP echo > request, id

Re: [lxc-users] Desktop Environment in LXD

2016-06-17 Thread Fajar A. Nugraha
On Fri, Jun 17, 2016 at 9:44 PM, Rahul Rawail wrote: > Thanks Simos for your answer, Just few questions and they may be dumb > questions, if LXD is running on top of a host OS and host machine has > graphic card I thought that it will be able to give it a call and I >

Re: [lxc-users] About checkpoint and restore

2016-06-14 Thread Fajar A. Nugraha
On Wed, Jun 15, 2016 at 7:56 AM, Xinyang Ge wrote: > On Tue, Jun 14, 2016 at 8:24 PM, Andrey Repin wrote: > >> Of course no. you would get duplicate hostnames and MAC addresses, between >> other duplicate things, like SSH keys and so on, depends on your

Re: [lxc-users] lxd documentation about use of ZFS

2016-06-14 Thread Fajar A. Nugraha
On Tue, Jun 14, 2016 at 7:50 PM, brian mullan wrote: > Sorry.. yes forgot the details as it was late. > > Ubuntu 16.04 with root on ZFS verson 5 > > My systems currently are running ZFS filesystem version 5. > > I've installed Ubuntu 16.04 on several systems with root on

Re: [lxc-users] LXD - bind mount inside container

2016-06-14 Thread Fajar A. Nugraha
On Tue, Jun 14, 2016 at 5:47 PM, Ron Kelley wrote: > > Greetings, > > Looking to setup a bind mount inside a CentOS-6 container for ~user-a/WWW > pointing to /var/www/html. However, each time I run “bind —mount > /home/user-a/www /var/www/html” I get a read-only error

Re: [lxc-users] Fwd: lxc-start fails: failed with errno 2 to create /usr/lib/x86_64-linux-gnu/lxc/dev/lxc

2016-06-12 Thread Fajar A. Nugraha
On Sun, Jun 12, 2016 at 9:49 PM, Gopakumar Choorakkot Edakkunni < gopakumar@gmail.com> wrote: > Thanks for the response Simos. I cant at the moment move to lxd because I > have some automation scripts which are heavily invested in lxc at the > moment, so I just have to make it work and figure

Re: [lxc-users] Download and install trusty-64 unprivileged container cannot start anymore, requires system reboot to work - used to work

2016-06-05 Thread Fajar A. Nugraha
On Sun, Jun 5, 2016 at 11:25 PM, Martijn Unknown wrote: > After I reproduced the above, it occurred to me I was using lxc-stable ppa. > So things no doubt must have changed since a few months back. > > > I switched to use lxc-lts to see, and that one works fine (as it

Re: [lxc-users] Problem starting trusty container on 16.04

2016-05-31 Thread Fajar A. Nugraha
On Tue, May 31, 2016 at 10:09 PM, Mike Bernson wrote: > IIRC similar thing occured to me a while ago. Wrong uids in rootfs. Try > - ls -la /var/lib/lxc/lxc-1404/rootfs (on the host) > > root@mike-desktop:/var/lib/lxc/lxc-1404# ls -la > /var/lib/lxc/lxc-1404/rootfs > total 155 >

Re: [lxc-users] upgrade lxc1 to lxc2/lxd

2016-05-30 Thread Fajar A. Nugraha
On Mon, May 30, 2016 at 10:41 PM, Andrey Repin wrote: > > Greetings, Robert Gierzinger! > > > Hi, > > > We got new hardware so I wanted to transfer the containers from our old > > servers using 1.0 and 1.1 to our new hardware. > > I created tarballs from the rootfs and a

Re: [lxc-users] Problem starting trusty container on 16.04

2016-05-30 Thread Fajar A. Nugraha
On Tue, May 31, 2016 at 8:31 AM, Mike Bernson wrote: > I have create a 16.04 container on 16.04 as unprivileged container and it > works. > > I then tried to create 14.04 container on 16.04 as unprivileged container > and it does not get > to the login prompt. > > If create 14.04

Re: [lxc-users] LXD snapshots on separate btrfs volume

2016-05-30 Thread Fajar A. Nugraha
On Tue, May 31, 2016 at 3:37 AM, wrote: > Hi > > How can I best put snapshots of LXD on a separate (slower) btrfs volume? > Probably I cannot simply symlink /var/lib/lxd/snapshots/ to the other > btrfs volume, can I? > I guess that could bring problems since /var/lib/lxd

Re: [lxc-users] OpenVPN in Debian Jessie container

2016-05-29 Thread Fajar A. Nugraha
On Mon, May 30, 2016 at 12:05 AM, Joshua Schaeffer wrote: > I'm trying to setup OpenVPN in an unprivileged container. The host and > container are both Debian Jessie on LXC version 1.1.5. When I try to start > OpenVPN I get: > > Sat May 28 20:55:57 2016 us=360137

Re: [lxc-users] LXD containers lose outbound network

2016-05-29 Thread Fajar A. Nugraha
On Sun, May 29, 2016 at 1:30 PM, wrote: > Hi > > My LXD has the following network configuration: > > root@qumind:~# egrep -v '(^#|^$)' /etc/default/lxd-bridge > USE_LXD_BRIDGE="true" > LXD_BRIDGE="lxdbr0" > UPDATE_PROFILE="true" > LXD_CONFILE="" > LXD_DOMAIN="lxd" >

Re: [lxc-users] lxc-create fragile with respect to network failures during package download?

2016-05-19 Thread Fajar A. Nugraha
kegel.com> wrote: > Aw, I wanted to port to lxd anyway. > On May 19, 2016 8:48 PM, "Fajar A. Nugraha" <l...@fajar.net> wrote: > >> On Fri, May 20, 2016 at 4:02 AM, Dan Kegel <d...@kegel.com> wrote: >> >>> OK, thanks. I'll port to lxd at som

Re: [lxc-users] zfs disk usage for published lxd images

2016-05-16 Thread Fajar A. Nugraha
On Mon, May 16, 2016 at 5:38 PM, Ron Kelley wrote: > For what's worth, I use BTRFS, and it works great. Btrfs also works in nested lxd, so if that's your primary use I highly recommend btrfs. Of course, you could also keep using zfs-backed containers, but manually assign a

Re: [lxc-users] lxd preinstalled in images

2016-05-14 Thread Fajar A. Nugraha
On Sat, May 14, 2016 at 12:32 PM, wrote: > Hi > > I have just noticed that lxd is preinstalled in the official xenial image > from cloud-images.ubuntu.com/releases. > What is the reason? Probably because it's basically the same image in various formats, so you'd get

Re: [lxc-users] Error while trying to create/start unprivilege containers/ Bug report ?

2016-05-13 Thread Fajar A. Nugraha
On Fri, May 13, 2016 at 9:30 PM, Rémy Dernat wrote: > Hi Fajar, > > Thank you for your detailed answer. However, I searched a solution a > little bit today, and I am still stuck. > > For "userpace", I meant "userspace", of course. Sorry for mistyped. > > > Here are what I

Re: [lxc-users] LXD and /dev/fuse

2016-05-11 Thread Fajar A. Nugraha
On Wed, May 11, 2016 at 1:49 AM, Sjoerd wrote: > >> Anyway I'll try to recreate the container instead of migrating it form the >> working LXC (just copied the rootfs from LXC over the the LXD version). >> Maybe that works... >> > Just tried it with a fresh privileged xenial

Re: [lxc-users] Container scaling - LXD 2.0

2016-05-09 Thread Fajar A. Nugraha
able to use all available cores), and isolate the small-number-of-"abusive"-sites on another first-level-container (on its own specicif core) so they don't mess your other sites. Those two setup should be more efficient than lxd-on-vms, and you might not even need KSM anymore. -- Fajar >

Re: [lxc-users] Container scaling - LXD 2.0

2016-05-08 Thread Fajar A. Nugraha
On Mon, May 9, 2016 at 7:18 AM, Ronald Kelley wrote: > Greetings all, > > I am trying to get some data points on how many containers we can run on a > single host if all the containers run the same applications (eg: Wordpress > w/nginx, php-fpm, mysql). We have a number

Re: [lxc-users] Copying/cloning a container between nodes if LXC/LXD is not running

2016-05-03 Thread Fajar A. Nugraha
On Wed, May 4, 2016 at 4:02 AM, Ron Kelley wrote: > Greetings all, > > I updated some packages on my Ubuntu 15.10 server today which (when rebooted) > caused the bridged networking to no longer work. As a result, the LXD daemon > would not start, in turn, preventing me

Re: [lxc-users] lxd "hello, network"?

2016-05-03 Thread Fajar A. Nugraha
On Wed, May 4, 2016 at 6:12 AM, Dan Kegel wrote: > What's the best overview of lxd networking? is it still > https://insights.ubuntu.com/2016/04/07/lxd-networking-lxdbr0-explained/ > ? That looks correct. > > I would expect >

Re: [lxc-users] Installing lxd doesn't create bridge lxdbr0?

2016-05-03 Thread Fajar A. Nugraha
On Sun, May 1, 2016 at 8:07 AM, Dan Kegel wrote: > On ubuntu 16.04, the commands >sudo apt install lxd >sudo apt purge lxd >ip link list > show that lxd leaves behind bridge lxdbr0 after uninstall, tsk tsk. > A tidy user might well do >sudo ip link del lxdbr0 > to

Re: [lxc-users] Macvlan setup issues

2016-04-29 Thread Fajar A. Nugraha
On Fri, Apr 29, 2016 at 7:39 PM, Mark Haney wrote: > Well, as this is a VM running on an ESXi 6 cluster, I'm having a hard time > believing that would be the case. However, just to make certain, I've > created the bridge manually and still have the same problem. If

Re: [lxc-users] Macvlan setup issues

2016-04-29 Thread Fajar A. Nugraha
On Fri, Apr 29, 2016 at 12:02 AM, Mark Haney wrote: > Hi all. I'm really new to LXC/LXD as well as with macvlan setup, so bear > with me. I'm having all kinds of trouble getting the macvlan setup to work > on my Ubuntu 16.04 VM. The documentation isn't terribly

Re: [lxc-users] lxc-autostart in Centos 7

2016-04-28 Thread Fajar A. Nugraha
On Thu, Apr 28, 2016 at 11:54 AM, Saint Michael wrote: > In Ubuntu you boot the box and all the containers marked for auto-start > do start. In Centos 7 they do not. > I have been using /etc/rc.local but it does create an issue when the machine > reboots, for Centos hangs there

Re: [lxc-users] nvidia graphics support in lxc (2.0, ubuntu 16.04)

2016-04-23 Thread Fajar A. Nugraha
On Sat, Apr 23, 2016 at 1:33 AM, Oz Dror wrote: > Hi > > Prior to the Ubuntu upgrade from 15.10 to 16.04 I was able to have an lxc > container running ubuntu 14.04 sharing the NVIDIA graphics uring cuda. > > After the 16.04 I am not able to start the graphics on the 14.04 not

Re: [lxc-users] sysvinit with cgroup namespace

2016-04-21 Thread Fajar A. Nugraha
On Thu, Apr 21, 2016 at 11:21 PM, Harald Dunkel <ha...@afaics.de> wrote: > On 04/21/16 08:05, Fajar A. Nugraha wrote: >> On Wed, Apr 20, 2016 at 6:50 PM, Harald Dunkel <harald.dun...@aixigo.de> >> wrote: >>> Hi folks, >>> >>> AFAIR the idea

Re: [lxc-users] sysvinit with cgroup namespace

2016-04-20 Thread Fajar A. Nugraha
On Wed, Apr 20, 2016 at 2:13 PM, Harald Dunkel wrote: > I tried, but it did not work: > > # grep /sys/fs/cgroup /etc/fstab > systemd /sys/fs/cgroup cgroup none,name=systemd Should be # grep systemd /proc/mounts cgroup /sys/fs/cgroup/systemd cgroup

Re: [lxc-users] veth in unprivileged containers and proxy arp

2016-04-05 Thread Fajar A. Nugraha
On Mon, Apr 4, 2016 at 6:52 PM, Witold Filipczyk <gglate...@gmail.com> wrote: > On Mon, Apr 04, 2016 at 04:26:05PM +0700, Fajar A. Nugraha wrote: >> On Mon, Apr 4, 2016 at 1:22 AM, Witold Filipczyk <gglate...@gmail.com> wrote: >> > The problem is that after lx

Re: [lxc-users] veth in unprivileged containers and proxy arp

2016-04-04 Thread Fajar A. Nugraha
On Mon, Apr 4, 2016 at 1:22 AM, Witold Filipczyk wrote: > Hi, I don't know too much about lxc and networks. > > I've got some questions to > https://lists.linuxcontainers.org/pipermail/lxc-users/2015-February/008553.html > There is a host with a few public IPs. >

Re: [lxc-users] Eth devices to host bridges association seems unpredictable

2016-03-31 Thread Fajar A. Nugraha
On Thu, Mar 31, 2016 at 3:58 PM, Nicola Volpini wrote: > Hey everyone, > > I'm seeing a strange behavior when using lxd profiles to attach the > container eth devices to the host bridges. > I see some inconsistency: I made two bridges on my host and want to use the >

Re: [lxc-users] lxc progress and a few questions

2016-03-27 Thread Fajar A. Nugraha
On Sun, Mar 27, 2016 at 11:31 PM, jjs - mainphrame wrote: > The 2nd link you sent seems to indicate that > live migration wants to work, but I haven't been able to find any reports > from normal users in the field who've actually succeeded with live > migration. if I've

Re: [lxc-users] lxc progress and a few questions

2016-03-27 Thread Fajar A. Nugraha
On Sun, Mar 27, 2016 at 8:11 AM, jjs - mainphrame wrote: > As a long time fan of openvz, I'm impressed with how far lxc has come in the > past couple of years, and particularly impressed with how well lxd "just > works", particularly with the default unprivileged containers.

Re: [lxc-users] lxd networking - how to rid containers of lxcbr0

2016-03-22 Thread Fajar A. Nugraha
On Wed, Mar 23, 2016 at 10:41 AM, jjs - mainphrame wrote: > Thanks for the feedback - Editing /etc/default/lxc-net in the ct solved the > problem. That's one I won't forget. ... or remove lxc from inside the container. Are you using nested containers? If no, there should be

Re: [lxc-users] lxc memory limit

2016-03-22 Thread Fajar A. Nugraha
On Tue, Mar 22, 2016 at 8:44 PM, Fajar A. Nugraha <l...@fajar.net> wrote: > On Tue, Mar 22, 2016 at 7:55 PM, Tamas Papp <tom...@martos.bme.hu> wrote: >> >> >> On 03/22/2016 01:51 PM, Dan Kegel wrote: >>> >>> >>> that is the

Re: [lxc-users] lxc memory limit

2016-03-22 Thread Fajar A. Nugraha
On Tue, Mar 22, 2016 at 7:55 PM, Tamas Papp wrote: > > > On 03/22/2016 01:51 PM, Dan Kegel wrote: >> >> >> that is the largest possible value. convert it to base16 and you'll see. >> > > $ echo 18446744073709551615| base64 > MTg0NDY3NDQwNzM3MDk1NTE2MTUK base16, not 64 > >

Re: [lxc-users] is LXD production ready ??

2016-03-21 Thread Fajar A. Nugraha
On Tue, Mar 22, 2016 at 10:15 AM, Mahesh Patade wrote: > Hi All, > > We are planning to have LXD as our virtualization layer for production > systems. Currently we are using Xenserver 6. > > I want to know pros and cons. You should be able to purchase support from

Re: [lxc-users] Systemd support status

2016-03-19 Thread Fajar A. Nugraha
On Wed, Mar 16, 2016 at 6:05 PM, Albert Shih wrote: > Hi all, > > I would like to know what is the status about lxc supporting inside the > guest systemd. It works if you have the prequisite. And since ubuntu is shipping lxc/lxd with ubuntu 16.04 (which uses systemd), they

Re: [lxc-users] Can't start container after lxd/lxc/lxcfs upgrade

2016-03-18 Thread Fajar A. Nugraha
On Sat, Mar 19, 2016 at 1:12 AM, B G wrote: > lxc => 2.0.0rc4 > lxd => 2.0.0rc4 > lxcfs => 2.0.0rc6 > > After the latest upgrade to lxc/lxd tools existing and new containers fail > to start, failing on the following stage from the container log: > > lxc 20160318161829.810 INFO

Re: [lxc-users] How to setup a static IP in a container with LX[C|D] 2.0.0.*

2016-03-18 Thread Fajar A. Nugraha
On Fri, Mar 18, 2016 at 11:09 PM, Sean McNamara wrote: > As part of that, I was expecting some way to tell LXD to restrict the > IP addresses that can be claimed/used by a given container. For > instance, if I have a public Internet IPv4 /26 allocated to a physical > host by a

Re: [lxc-users] named network devices

2016-03-15 Thread Fajar A. Nugraha
On Tue, Mar 15, 2016 at 2:08 PM, Mike Wright wrote: > Hi all, > > When using privileged containers I can name an ethernet device that shows up > in iproute2, brctl, etc. > > e.g. lxc.network.veth.pair = myExampleNIC > > but when using unprivileged containers the same

Re: [lxc-users] lxc-create struct at connecting to archive.ubuntu.com

2016-03-14 Thread Fajar A. Nugraha
On Mon, Mar 14, 2016 at 11:08 PM, Vijay Kumar Badugu wrote: > Hi, > I am new to LXC. I tried to create ubuntu container using the command > lxc-create -n onos -t ubuntu > > The installation ran for some time and got stuck with below message > Installing Update > Connecting

Re: [lxc-users] [Solved]RE: Networking LXD containers

2016-03-14 Thread Fajar A. Nugraha
On Tue, Mar 15, 2016 at 10:03 AM, efersept wrote: > Thank you Fajar, I have tried putting entries in /etc/network/interfaces on > an Ubuntu host but they are completely ignored. Well that is not completely > true, static IPs can be set for eth0 but bridge entries and

Re: [lxc-users] lxc / lxd I'm lost somewhere

2016-03-14 Thread Fajar A. Nugraha
On Fri, Mar 11, 2016 at 9:05 AM, Benoit GEORGELIN - Association Web4all wrote: > 1- subuid /subgid > Can I have different id/gid mapping > for this daemon ? > > Exemple : > Container A: 10:65536 > Container B: 165536:65536 I don't think so. Even setting with

Re: [lxc-users] [Solved]RE: Networking LXD containers

2016-03-14 Thread Fajar A. Nugraha
On Tue, Mar 15, 2016 at 4:21 AM, Steve Adams wrote: > Problem solved. Turns out the problem was that I was routing 10.0.0.0/16 > traffic to 10.0.1.1 dev lxcbr0 (the IP of lxcbr0). Changed route via > 10.0.1.80 ( IP of the veth iface) and worked perfectly. Hopefully this

Re: [lxc-users] ArchLinux images on images.linuxcontainers.org

2016-03-11 Thread Fajar A. Nugraha
On Sat, Mar 12, 2016 at 6:01 AM, Leonid Isaev wrote: > On Sat, Mar 12, 2016 at 01:39:21AM +0300, Artyom Aleksyuk wrote: >> Hi everyone, >> >> I've found that there's no ArchLinux images on images.linuxcontainers.org. >> Arch is a pretty popular distro with a mainly

Re: [lxc-users] Networking LXD containers

2016-03-11 Thread Fajar A. Nugraha
On Fri, Mar 11, 2016 at 3:12 PM, Kean Sum Ooi wrote: > Hi Steve, > > Do you mean LXC containers? On Ubuntu? @Kean: I think he means lxd, not lxc @Steve: I assume you use ubuntu host? Some info in https://help.ubuntu.com/lts/serverguide/lxc.html#lxc-network still apply. In

Re: [lxc-users] Clean output for lxc list

2016-03-10 Thread Fajar A. Nugraha
On Thu, Mar 10, 2016 at 2:47 PM, Stéphane Graber <stgra...@ubuntu.com> wrote: > On Thu, Mar 10, 2016 at 02:37:47PM +0700, Fajar A. Nugraha wrote: >> On Thu, Mar 10, 2016 at 11:20 AM, Mark Constable <ma...@renta.net> wrote: >> > >> > I'm not sure if this is al

Re: [lxc-users] The Lxc-dev/python2-lxc packages for Debian Jessie

2016-03-09 Thread Fajar A. Nugraha
On Wed, Mar 9, 2016 at 11:35 PM, Valeriy Solovyov wrote: > Hi all, > > I tried to install lxc python bindings for Debian 8(Jessie). > It wall because I haven't the lxc-dev package. When I tried it from Debian > unstable - it didn't include the lxc-(something).h > So I

Re: [lxc-users] Antw: Re: Cannot start network: Failed to attach

2016-02-25 Thread Fajar A. Nugraha
On Thu, Feb 25, 2016 at 6:52 PM, Thomas Belián wrote: >> > I think next time it should be enough to install bridge-utils und > to >> > create the bridge you need (virbr, you can create it via >> > /etc/sysconfig/network-scripts/ifcfg-virbr0). >> >> With THAT alone,

Re: [lxc-users] Antw: Re: Cannot start network: Failed to attach

2016-02-25 Thread Fajar A. Nugraha
On Wed, Feb 24, 2016 at 7:51 PM, Thomas Belián wrote: Jochen Wiedmann schrieb am 2/24/2016 um > 10:06 AM in > Nachricht >> Thanks! Installing libvirt fixed my problem. >> >> Jochen > > Hello Jochen, > > I think next time it should be

Re: [lxc-users] Cannot start network: Failed to attach

2016-02-24 Thread Fajar A. Nugraha
On Wed, Feb 24, 2016 at 3:59 PM, Jochen Wiedmann <jochen.wiedm...@gmail.com> wrote: > On Wed, Feb 24, 2016 at 9:49 AM, Fajar A. Nugraha <l...@fajar.net> wrote: > >> You're missing a lot by sticking with c6. Especially if you stick with >> the default kernel. > >

Re: [lxc-users] Cannot start network: Failed to attach

2016-02-24 Thread Fajar A. Nugraha
On Wed, Feb 24, 2016 at 3:09 PM, Jochen Wiedmann wrote: > Hi, > > this mailing list seems to be appropriate for beginners questions like > the following. Hope, that's the case. > > I am running a CentOS 6.7 VM on VirtualBox with LXC 1.0.8 installed > from the EPEL

Re: [lxc-users] Create unprivileged container - debian jessie on debian jessi

2016-02-22 Thread Fajar A. Nugraha
On Fri, Feb 19, 2016 at 3:48 PM, Stanislav Lorenc < stanislav.lor...@cernovice.net> wrote: > Hello, > > i create unprivileged container in debian jessie distro with command: > lxc-create -n test -t download -B zfs -- -d debian -r jessie -a amd64 > I use debian jessie distro. > > Command exit with

Re: [lxc-users] [Help]LXD:point of differentiation. please answer my question

2016-02-20 Thread Fajar A. Nugraha
On Sat, Feb 20, 2016 at 2:39 PM, 디케이 wrote: > But, until now, There are some parts that I can't yet understand. > > The devs would probably give you more detailed answers, but here are some answers from a fellow user: *[Q1]* I read that "LXD container provides a full OS

Re: [lxc-users] lxc insttability

2016-02-19 Thread Fajar A. Nugraha
, the one in host's namespace which is added > to bridge (vethX) and the one in container's namespace (appears as ethX in > there) too? > > b. > > > On 19 February 2016 at 11:58, Fajar A. Nugraha <l...@fajar.net> wrote: > >> On Fri, Feb 19, 2016 at 5:41 PM, Bostja

Re: [lxc-users] Missing /proc/self after lxc-attach ?

2016-02-15 Thread Fajar A. Nugraha
On Mon, Feb 15, 2016 at 7:29 PM, Mateusz Korniak < mateusz-li...@ant.gliwice.pl> wrote: > Hi ! > I am facing problem that > /proc/self > is missing after I enter container via lxc-attach. [1] > > When I log in to same container via lxc-start -F console, everything looks > OK. > [2] > > Is it bug

Re: [lxc-users] ubuntu containers on fedora host

2016-02-10 Thread Fajar A. Nugraha
On Thu, Feb 11, 2016 at 6:57 AM, Király, István wrote: > Hello list, ... > > As described I'm running the latest fedora hosts, that is fedora 23 > (server, 64bit). > When starting ubuntu cloud containers, it takes approx 100 seconds to > start, compared to fedora containers that

Re: [lxc-users] Yum hangs on CentOS 7 [Host] -> CentOS [Guest] privileged container

2016-02-09 Thread Fajar A. Nugraha
On Wed, Feb 10, 2016 at 12:10 AM, Rahul Rege wrote: > Thanks Fajar, I was unaware of the lxcfs. I will install it on my host. > > I would love to move back to Ubuntu since I had used it with LXC about a > year back and I was happy with it, although that time it was just

[lxc-users] Status of fuse in unpriv container?

2016-02-03 Thread Fajar A. Nugraha
Any info on this: https://wiki.kubuntu.org/FuseUserns ? Has it been merged in some later kernel versions? I still get permission denied on Wily, kernel 4.2.0-23-generic, lxc 2.0.0~beta2-0ubuntu2~ubuntu15.10.1~ppa1 -- Fajar ___ lxc-users mailing list

Re: [lxc-users] Connecting container to tagged VLAN

2016-01-27 Thread Fajar A. Nugraha
On Thu, Jan 28, 2016 at 5:19 AM, Joshua Schaeffer <jschaeffer0...@gmail.com> wrote: > > On Wed, Jan 27, 2016 at 2:39 PM, Fajar A. Nugraha <l...@fajar.net> wrote: >> >> >> Is eth1 connected to your switch as trunk? If no (e.g. you have the same >> set

Re: [lxc-users] Connecting container to tagged VLAN

2016-01-27 Thread Fajar A. Nugraha
On Thu, Jan 28, 2016 at 1:43 AM, Joshua Schaeffer wrote: > I'm trying to setup a container on a new VLAN that only allows tagged > traffic and I'm getting varied success. > the other two NIC's (eth1 and eth2) are setup to connect to this VLAN (vlan > id 500). > > >

Re: [lxc-users] Lxc container, add custom route

2016-01-27 Thread Fajar A. Nugraha
On Wed, Jan 27, 2016 at 4:55 PM, Florian Leparoux wrote: > Thank you for your reply > > I've created the file and now I'm not able to restart the network inside > the CT > > That's an expected result. You're not supposed to run commands like "ifdown" or "service network

<    1   2   3   4   5   6   >