Re: [lxc-users] lxc snapshot ... --stateful - "read-only file system"

2016-01-09 Thread Tomasz Chmielewski
Yes, this is on btrfs.

On January 9, 2016 9:46:22 PM GMT+09:00, Tycho Andersen 
 wrote:
>On Sat, Jan 09, 2016 at 06:58:16PM +0900, Tomasz Chmielewski wrote:
>> I'm trying to do a stateful snapshot - unfortunately, it fails:
>> 
>> # lxc snapshot odoo08 "test"  --stateful
>> error: mkdir /var/lib/lxd/snapshots/odoo08/test/state: read-only file
>system
>
>Looks like https://github.com/lxc/lxd/issues/1485, are you on btrfs as
>well?
>
>Tycho
>___
>lxc-users mailing list
>lxc-users@lists.linuxcontainers.org
>http://lists.linuxcontainers.org/listinfo/lxc-users
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] "Open Containers" group on LinkedIn

2016-01-09 Thread Nitin Agarwal
Hello Everyone,

A very Happy New Year 2016 !!

I have started a new group "Open Containers" on LinkedIn to provide a
common platform to all the Containers and Docker enthusiasts and passionate
people. In this group, we will be discussing about the Linux and Docker
containers runtimes as well as Docker development, orchestration,
deployment, monitoring, networking and security tools.

Join the group here: https://www.linkedin.com/groups/8451196

Thanks,
Nitin Agarwal
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] lxc snapshot ... --stateful - "read-only file system"

2016-01-09 Thread Tycho Andersen
On Sat, Jan 09, 2016 at 06:58:16PM +0900, Tomasz Chmielewski wrote:
> I'm trying to do a stateful snapshot - unfortunately, it fails:
> 
> # lxc snapshot odoo08 "test"  --stateful
> error: mkdir /var/lib/lxd/snapshots/odoo08/test/state: read-only file system

Looks like https://github.com/lxc/lxd/issues/1485, are you on btrfs as
well?

Tycho
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2016-01-09 Thread Fajar A. Nugraha
On Sat, Jan 9, 2016 at 4:58 PM, Xavier Gendre  wrote:
> Le 09/01/2016 03:23, Fajar A. Nugraha a écrit :
>> Anyway, I wrote this several months ago, should be the easiest way to
>> get unpriv jessie on jessie: http://debian-lxc.github.io/
>> The repo has lxc-1.1.5 and cgmanager, ported from ubuntu.
>
> I have followed your tutorials and it works perfectly well, thanks
> Fajar! This is definitly cleaner than my way and, now, I have a lot to
> do to update my stuff ;-) I will add a link to your tutorials in my blog
> post to indicate this better way.
>
> A little question, the repositories that you use for lxc and systemd are
> maintained with up-to-date packages? Do you plan to maintain it for some
> times or is it only experimental?

It's maintained in my free time, so expect some delays. Volunteers
welcome. The site, packaging recipe, and binaries are available on
https://github.com/debian-lxc , and sometimes the update effort is as
simple as recompiling sources from ubuntu ppa, so the effort shouldn't
be too hard.

lxcfs is another story. I held up from updating as upgrading it (or to
be exact, restarting lxcfs) would cause all running containers to lose
access to lxcfs-provided ressources (e.g. some parts of /proc and
/sys), so you need to restart all containers as well. There's a recent
change in packaging to not restart lxcfs when upgrading though
(https://github.com/lxc/lxcfs-pkg-ubuntu/commit/904f24), so I'll
probably update it after the next lxc release.

-- 
Fajar
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] lxc snapshot ... --stateful - "read-only file system"

2016-01-09 Thread Tomasz Chmielewski

I'm trying to do a stateful snapshot - unfortunately, it fails:

# lxc snapshot odoo08 "test"  --stateful
error: mkdir /var/lib/lxd/snapshots/odoo08/test/state: read-only file 
system



Does anyone know why? The following log is created:

lxc 1452328231.622 INFO lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 10 
range 65536
lxc 1452328231.622 INFO lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 10 
range 65536
lxc 1452328231.626 WARN lxc_cgmanager - 
cgmanager.c:cgm_get:994 - do_cgm_get exited with error



Running:

ii  liblxc1 
1.1.5-0ubuntu3~ubuntu14.04.1~ppa1   amd64Linux Containers 
userspace tools (library)
ii  lxc 
1.1.5-0ubuntu3~ubuntu14.04.1~ppa1   amd64Linux Containers 
userspace tools
ii  lxc-templates   
1.1.5-0ubuntu3~ubuntu14.04.1~ppa1   amd64Linux Containers 
userspace tools (templates)
ii  lxcfs   0.15-0ubuntu2~ubuntu14.04.1~ppa1 
   amd64FUSE based filesystem for LXC
ii  lxd 0.26-0ubuntu3~ubuntu14.04.1~ppa1 
   amd64Container hypervisor based on LXC - daemon
ii  lxd-client  0.26-0ubuntu3~ubuntu14.04.1~ppa1 
   amd64Container hypervisor based on LXC - client
ii  python3-lxc 
1.1.5-0ubuntu3~ubuntu14.04.1~ppa1   amd64Linux Containers 
userspace tools (Python 3.x bindings)



# uname -a
Linux srv7 4.3.3-040303-generic #201512150130 SMP Tue Dec 15 06:32:30 
UTC 2015 x86_64 x86_64 x86_64 GNU/Linux



Tomasz Chmielewski
http://wpkg.org/
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2016-01-09 Thread Xavier Gendre
Le 09/01/2016 03:23, Fajar A. Nugraha a écrit :
> Anyway, I wrote this several months ago, should be the easiest way to
> get unpriv jessie on jessie: http://debian-lxc.github.io/
> The repo has lxc-1.1.5 and cgmanager, ported from ubuntu.

I have followed your tutorials and it works perfectly well, thanks
Fajar! This is definitly cleaner than my way and, now, I have a lot to
do to update my stuff ;-) I will add a link to your tutorials in my blog
post to indicate this better way.

A little question, the repositories that you use for lxc and systemd are
maintained with up-to-date packages? Do you plan to maintain it for some
times or is it only experimental?

Thanks,
Xavier
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users