[Lxc-users] cloud environment

2012-11-10 Thread Rintcius Blok
Hi, Just curious. I was running an lxc-create command for ubuntu-cloud and saw this output: Configuring for running outside of a cloud environment If you want to configure for a cloud evironment, please use '-- -C' to create the container What the difference is between using '-- -C' or not,

[Lxc-users] Problem starting oneiric container in 12.10

2012-11-10 Thread Rintcius Blok
How can I properly run an ubuntu-cloud template on 12.10 with an oneiric container? I tried this command: lxc-create -t ubuntu-cloud -n oneiric.lxc -- --auth-key $HOME/.ssh/id_rsa.pub --userdata ~/userdata.txt.gz -r oneiric This creates the container, but when I try to ssh into it it gives:

Re: [Lxc-users] cloud environment

2012-11-14 Thread Rintcius Blok
Hi Serge, Ok thanks, it's clear now. On Wed, Nov 14, 2012 at 2:25 AM, Serge Hallyn serge.hal...@canonical.comwrote: Quoting Rintcius Blok (rintc...@gmail.com): Hi, Just curious. I was running an lxc-create command for ubuntu-cloud and saw this output: Configuring for running

[Lxc-users] sudo: unable to resolve host..

2012-11-15 Thread Rintcius Blok
Hi, I am getting messages like this with every sudo I do in the container: sudo: unable to resolve host test.lxc It happens with every container I create on 12.10 (with 12.10 container). Reproduction: lxc-create -t ubuntu-cloud -n test.lxc -- --auth-key $HOME/.ssh/id_rsa.pub --userdata

Re: [Lxc-users] sudo: unable to resolve host..

2012-11-16 Thread Rintcius Blok
ubuntu@b:~$ cat /etc/hostname b.lxc On 16/11/12 14:41, Stéphane Graber wrote: On 11/16/2012 09:26 AM, Serge Hallyn wrote: Quoting Rintcius Blok (rintc...@gmail.com): Hi, I am getting messages like this with every sudo I do in the container: sudo: unable to resolve host test.lxc It happens

Re: [Lxc-users] sudo: unable to resolve host..

2012-11-16 Thread Rintcius Blok
Created https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1079794 On 16/11/12 16:43, Stéphane Graber wrote: On 11/16/2012 11:32 AM, Rintcius Blok wrote: Yes sure. This is in a container called b.lxc: ubuntu@b:~$ cat /etc/hosts 127.0.0.1 localhost # The following lines are desirable for IPv6

[Lxc-users] how to troubleshoot lxc service

2012-11-16 Thread Rintcius Blok
Hi, I get an unusable lxc service in my host every now and then after creating a new container. Only after a reboot I can get it back to normal. This is basically what I do (12.10 host): lxc-create -t ubuntu-cloud -n c.lxc -- --auth-key $HOME/.ssh/id_rsa.pub --userdata /root/webdocs.txt.gz

Re: [Lxc-users] how to troubleshoot lxc service

2012-11-19 Thread Rintcius Blok
a host reboot, I think what you get is a known kernel netdev refcounting bug. (Check your host syslog messages.) You might try a backported raring kernel. -serge Quoting Rintcius Blok (rintc...@gmail.com): Hi, I get an unusable lxc service in my host every now and then after creating a new

Re: [Lxc-users] how to troubleshoot lxc service

2012-11-19 Thread Rintcius Blok
syslog messages.) You might try a backported raring kernel. -serge Quoting Rintcius Blok (rintc...@gmail.com): Hi, I get an unusable lxc service in my host every now and then after creating a new container. Only after a reboot I can get it back to normal. This is basically what I do

Re: [Lxc-users] how to troubleshoot lxc service

2012-11-20 Thread Rintcius Blok
pages) and using the IP address. Rintcius On 19/11/12 22:29, Serge Hallyn wrote: Quoting Rintcius Blok (rintc...@gmail.com): Hmm.. I just had the same problem again. I thought it was this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1021471 (fixed in 3.5.0-17.28) Am I having