[one-users] VM Deployment issues

Snyman, Adrian adrians at uj.ac.za
Tue Mar 13 04:13:50 PDT 2012


I had to specify the ARCH in the template file under OS ...

OpenNebula defaults to i686 for the vm ...



Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211




> -----Original Message-----
> From: users-bounces at lists.opennebula.org [mailto:users-
> bounces at lists.opennebula.org] On Behalf Of Jhon Masschelein
> Sent: 13 March 2012 09:37 AM
> To: users at lists.opennebula.org
> Subject: Re: [one-users] VM Deployment issues
>
> Hi,
>
> Looks like you are trying to start a 64 bit kernel on a 32bit host.
>
> You can start a 32bit VM kernel on a 64bit host, but not the reverse.
>
> make sure you download the propper x86 installation source and not the
> amd64.
>
> Your problem with virsh is that the user you are logged in with does not
> have permission to use the libvirt socket. This is a security precaution.
>
> Using the root account should always work, but of course that is not always a
> good thing to do.
>
> Look here for info on setting up a specific user; http://libvirt.org/auth.html
>
> Wkr,
>
> Jhon
>
>
> On 03/13/2012 07:54 AM, Snyman, Adrian wrote:
> > Okay, I managed to connect to the virt-manager.
> >
> > So I consoled into the VM - and I see that it did not even boot on the
> > node L
> >
> > It's stuck at:
> >
> > This kernel requires an x86_64CPU, but only detected an i686 CPU.
> >
> > Unable to boot - please use a kernel appropriate for your CPU.
> >
> > Now I know that it's an X86_64 CPU kernel with virtualization enabled.
> >
> > So how do I tell kvm to advertise it as such ?
> >
> > Regards,
> >
> > Adrian Snyman
> >
> > Linux Systems Administrator
> >
> > Tel: 011-559-4929
> >
> > Cell: 082-600-1211
> >
> > *From:*Snyman, Adrian
> > *Sent:* 13 March 2012 08:39 AM
> > *To:* Snyman, Adrian; users at lists.opennebula.org
> > *Subject:* RE: VM Deployment issues
> >
> > Okay, further investigation shows this:
> >
> > oneadmin at fe> virsh list
> >
> > error: Failed to connect to the hypervisor
> >
> > error: no valid connection
> >
> > error: Failed to connect socket to
> > '@/var/lib/one/.libvirt/libvirt-sock': Connection refused
> >
> > I assume I need to use a different URI ?
> >
> > Regards,
> >
> > Adrian Snyman
> >
> > Linux Systems Administrator
> >
> > Tel: 011-559-4929
> >
> > Cell: 082-600-1211
> >
> > *From:*users-bounces at lists.opennebula.org
> > [mailto:users-bounces at lists.opennebula.org] *On Behalf Of *Snyman,
> > Adrian
> > *Sent:* 13 March 2012 08:14 AM
> > *To:* users at lists.opennebula.org
> > *Subject:* [one-users] VM Deployment issues
> >
> > I have been trying to get my first VM deployed with partial success.
> >
> > The image is not contextualized, and has the IP / hostname etc. all
> > set within the VM.
> >
> > When I boot the VM with kvm, it comes up, and I can ping it from the
> > host/ssh to it etc. no problem.
> >
> > However, when I deploy it under OpenNebula, the VM boots, and onevm
> > lists the VM as running.
> >
> > But I cannot see the the VM - ping/ssh/nothing.
> >
> > The bridge interface is set up, and the network is defined.
> >
> > Where do I start looking ? there are no error messages in the
> > deployment log.
> >
> > Regards,
> >
> > Adrian Snyman
> >
> > Linux Systems Administrator
> >
> > Tel: 011-559-4929
> >
> > Cell: 082-600-1211
> >
> > ----------------------------------------------------------------------
> > --
> >
> >
> > This email and all contents are subject to the following disclaimer:
> >
> > http://disclaimer.uj.ac.za
> >
> >
> > ----------------------------------------------------------------------
> > --
> >
> > This email and all contents are subject to the following disclaimer:
> >
> > http://disclaimer.uj.ac.za
>
>
> --
> Jhon Masschelein
> Senior Systeemprogrammeur
> SARA - HPCV
>
> Science Park 140
> 1098 XG Amsterdam
> T +31 (0)20 592 8099
> F +31 (0)20 668 3167
> M +31 (0)6 4748 9328
> E jhon.masschelein at sara.nl
> http://www.sara.nl
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

________________________________

This email and all contents are subject to the following disclaimer:

http://disclaimer.uj.ac.za



More information about the Users mailing list