[Lxc-users] how to install LXC on CentOS 6.3?
Jun Yang
jyang825 at gmail.com
Sat Dec 22 01:16:00 UTC 2012
There are other reason why I need to stick with this provider.
Now I am using virt-manager on top of libvirt. Since virt-manager doesn't
create a root fs, I am using one (guest of Ubuntu 12.04) created on Ubuntu.
When I install it in virt-manager, I get this:
Unable to complete install: 'internal error guest failed to start:
2012-12-22 01:12:37.430+0000: 10813: info : libvirt version: 0.9.10,
package: 21.el6_3.7 (CentOS BuildSystem <http://bugs.centos.org>,
2012-12-19-09:55:36, c6b7.bsys.dev.centos.org)
2012-12-22 01:12:37.430+0000: 10813: error : lxcControllerRun:1484 : Failed
to query file context on /var/lib/lxc/vps105/rootfs: No data available
'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 44, in
cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/create.py", line 1910, in
do_install
guest.start_install(False, meter=meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1223, in
start_install
noboot)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1291, in
_create_guest
dom = self.conn.createLinux(start_xml or final_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2466, in
createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed',
conn=self)
libvirtError: internal error guest failed to start: 2012-12-22
01:12:37.430+0000: 10813: info : libvirt version: 0.9.10, package:
21.el6_3.7 (CentOS BuildSystem <http://bugs.centos.org>,
2012-12-19-09:55:36, c6b7.bsys.dev.centos.org)
2012-12-22 01:12:37.430+0000: 10813: error : lxcControllerRun:1484 : Failed
to query file context on /var/lib/lxc/vps105/rootfs: No data available
Anybody has an idea?
Jun
On Fri, Dec 21, 2012 at 5:12 PM, Fajar A. Nugraha <list at fajar.net> wrote:
> On Sat, Dec 22, 2012 at 5:15 AM, Jun Yang <jyang825 at gmail.com> wrote:
> > Hi all,
> >
> > I just rented a dedicated server. My provider only has CentOS 6.3
> > available.
>
> My best advice would be to change providers. Seriously :)
>
> For example, servercraft rents atoms with 4GB RAM, running Ubuntu,
> complete with remote access via IPMI, under $50.
>
> > I have had great experience with LXC on Ubuntu.
>
> Exactly.
>
> > From Google search I can only find very scarce
> > information about how to install LXC on CentOS, which is quite
> surprising to
> > me. Doing "yum install lxc" returns "No package lxc available".
>
> lxc is kinda new. It often requires kernel features not present on the
> archaic redhat/centos kernel.
>
> You COULD force it to work by (e.g.) installing kernel-uek2 or
> kernel-ml (Google for details), and install lxc userland manually. But
> there might be known bugs creeping. And when that happens, Ubuntu is
> the only distro I know that provides fixes in ready-to-use packages in
> a timely-acceptable manner.
>
> --
> Fajar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20121221/2f66c8bb/attachment.html>
More information about the lxc-users
mailing list