[lxc-users] lxd: Can't write to /dev/console

2016-02-04 Thread Matt Willsher
Hi, I've create a container, using lxd, based on the ubuntu wily cloud image. In cloud-init I'm calling power_state: mode: reboot timeout: 30 condition: True But in the cloud-init logs in the container I get: Feb 4 11:21:00 ubuntu [CLOUDINIT] util.py[DEBUG]: Failed forking and calling

Re: [lxc-users] lxd: Can't write to /dev/console

2016-02-04 Thread Stéphane Graber
On Thu, Feb 04, 2016 at 11:33:24AM +, Matt Willsher wrote: > Hi, > > I've create a container, using lxd, based on the ubuntu wily cloud image. In > cloud-init I'm calling > > power_state: > mode: reboot > timeout: 30 > condition: True > > But in the cloud-init logs in the container

[lxc-users] No IP given after migrating LXC container to LXD

2016-02-04 Thread Luis Michael Ibarra
Hi all, Distro: Ubuntu 14.04.3 Kernel: 3.19.0-49-generic LXD: 2.0.0.beta1 LXC: 2.0.0.beta1 I migrated an lxc privileged container to LXD. So I did the following: 1. Created a container: *lxc init [local_image] test* 2. Deleted rootfs: *rm -rf /var/lib/lxd/containers/test/rootfs* 3. Copied privil

Re: [lxc-users] No IP given after migrating LXC container to LXD

2016-02-04 Thread Luis Michael Ibarra
Hi all, Sorry, sent it again, didn't know what happened with the formatting. Distro: Ubuntu 14.04.3 Kernel: 3.19.0-49-generic LXD: 2.0.0.beta1 LXC: 2.0.0.beta1 I migrated an lxc privileged container to LXD. So I did the following: 1. Created a container: *lxc init [local_image] test* 2. Delete

Re: [lxc-users] No IP given after migrating LXC container to LXD

2016-02-04 Thread Stéphane Graber
On Thu, Feb 04, 2016 at 07:59:54AM -0500, Luis Michael Ibarra wrote: > Hi all, > > Sorry, sent it again, didn't know what happened with the formatting. > > > Distro: Ubuntu 14.04.3 > Kernel: 3.19.0-49-generic > LXD: 2.0.0.beta1 > LXC: 2.0.0.beta1 > > I migrated an lxc privileged container to LX

Re: [lxc-users] lxd: Can't write to /dev/console

2016-02-04 Thread Matt Willsher
> On 4 Feb 2016, at 12:19, Stéphane Graber wrote: > > On Thu, Feb 04, 2016 at 11:33:24AM +, Matt Willsher wrote: >> >> Is there a way to make /dev/console writable? >> > > raw.lxc: | >lxc.console= >lxc.cgroup.allow=c 5:1 rwx I get the following errors with those set in my profil

[lxc-users] Equivalent of proc:mixed and sys:mixed in 1.0

2016-02-04 Thread Badri Janakiraman
Hello We have been recently running into problems trying to get ephemeral containers to start on the v1.1.5 & the 2.0.0-beta2 code streams. Specifically, the problems see to be related to how libpam-cgm sets up the cgroups using cgfs in v1.1 & 2.0-beta - vs. how they seem to work if we set them up

[lxc-users] Feature: images.linuxcontainers.org by default

2016-02-04 Thread Luis Michael Ibarra
Hi all, I know you can use lxd-images to pull a ubuntu-cloud image without specifying a remote. However, it'd be great having images.linuxcontainers.org set up by default, so you can launch other distributions easier(or without looking for url on google). Regards, -- Luis Michael Ibarra _