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

2012-11-20 Thread Rintcius Blok
On 20/11/12 22:02, Serge Hallyn wrote: > Quoting Rintcius Blok (rintc...@gmail.com): >> Yes indeed, that version of the kernel is running. >> >> No, I'm not on a macbook air. > Hi, > > sorry I've lost track - have you tried the kernel in quantal-propose

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

2012-11-20 Thread Rintcius Blok
ages) 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 >> (f

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

2012-11-19 Thread Rintcius Blok
; 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 container. >>

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 s

[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 Th

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

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 hos

[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] Problem starting oneiric container in 12.10

2012-11-15 Thread Rintcius Blok
Ok, thank you Serge On 15/11/12 18:22, Serge Hallyn wrote: > I've opened https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1079320 > about this. > > Quoting Rintcius Blok (rintc...@gmail.com): >> I just ran it with a simple userdata file: >> >> #!/bin/s

[Lxc-users] Fwd: Problem starting oneiric container in 12.10

2012-11-14 Thread Rintcius Blok
t_public_ssh_keys for keyname, klist in self.metadata['public-keys'].items(): AttributeError: 'list' object has no attribute 'items' On Wed, Nov 14, 2012 at 2:27 AM, Serge Hallyn wrote: > Quoting Rintcius Blok (rintc...@gmail.com): > > How can I prop

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 wrote: > Quoting Rintcius Blok (rintc...@gmail.com): > > Hi, > > > > Just curious. > > I was running an lxc-create command for ubuntu-cloud and saw this output: > > > >

[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:

[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, i.e