[one-users] Deploy VM on VMware ESXi

Xavier Sarda Perez xavier.sarda at atosresearch.eu
Mon Jul 19 04:28:58 PDT 2010


Hi Tino,

 

I’ve pasted required information below:

 

“onehost list” command output:

 

ID NAME                      RVM   TCPU   FCPU   ACPU    TMEM    FMEM STAT

   0 server.localdomain        0    400    399    399 2092604  494692   on

 

oned.log:

 

Mon Jul 19 15:13:29 2010 [InM][I]: Monitoring host server.localdomain (0)

Mon Jul 19 15:13:29 2010 [ReM][D]: HostPoolInfo method invoked

Mon Jul 19 15:13:36 2010 [InM][D]: Host 0 successfully monitored.

Mon Jul 19 15:14:55 2010 [ReM][D]: HostPoolInfo method invoked

Mon Jul 19 15:14:57 2010 [InM][I]: Monitoring host server.localdomain (0)

Mon Jul 19 15:15:00 2010 [InM][D]: Host 0 successfully monitored.

Mon Jul 19 15:16:28 2010 [InM][I]: Monitoring host hyrokkin.localdomain (0)

Mon Jul 19 15:16:30 2010 [InM][D]: Host 0 successfully monitored.

Mon Jul 19 15:17:58 2010 [InM][I]: Monitoring host server.localdomain (0)

Mon Jul 19 15:18:00 2010 [InM][D]: Host 0 successfully monitored.

Mon Jul 19 15:19:26 2010 [InM][I]: Monitoring host server.localdomain (0)

Mon Jul 19 15:19:29 2010 [InM][D]: Host 0 successfully monitored.

Mon Jul 19 15:19:37 2010 [ReM][D]: VirtualMachineAllocate invoked

Mon Jul 19 15:19:37 2010 [DiM][D]: Allocating a new VM

Mon Jul 19 15:19:40 2010 [ReM][D]: VirtualMachinePoolInfo method invoked

Mon Jul 19 15:19:43 2010 [ReM][D]: VirtualMachinePoolInfo method invoked

Mon Jul 19 15:20:56 2010 [InM][I]: Monitoring host server.localdomain (0)

Mon Jul 19 15:20:58 2010 [InM][D]: Host 0 successfully monitored.

Mon Jul 19 15:21:26 2010 [InM][I]: --Mark--

Mon Jul 19 15:21:26 2010 [VMM][I]: --Mark--

Mon Jul 19 15:21:46 2010 [ReM][D]: VirtualMachinePoolInfo method invoked

Mon Jul 19 15:22:26 2010 [InM][I]: Monitoring host server.localdomain (0)

Mon Jul 19 15:22:28 2010 [InM][D]: Host 0 successfully monitored.

 

 

sched.log

 

Mon Jul 19 15:24:22 2010 [HOST][D]: Discovered Hosts (enabled): 0

Mon Jul 19 15:24:22 2010 [VM][D]: Pending virtual machines : 48

Mon Jul 19 15:24:22 2010 [RANK][W]: No rank defined for VM

Mon Jul 19 15:24:22 2010 [SCHED][I]: Select hosts

        PRI     HID

        -------------------

Virtual Machine: 48

 

 

After executing “onevm deploy” command oned.log threw following error and VM status was updated to ‘fail’:

 

Mon Jul 19 15:26:23 2010 [ReM][D]: VirtualMachineDeploy invoked

Mon Jul 19 15:26:23 2010 [DiM][D]: Deploying VM 48

Mon Jul 19 15:26:23 2010 [TM][D]: Message received: TRANSFER SUCCESS 48 -

 

Mon Jul 19 15:26:27 2010 [VMM][D]: Message received: DEPLOY FAILURE 48 Failed deploying VM in host server.localdomain.

 

Mon Jul 19 15:26:27 2010 [VMM][D]: Message received: dddd

 

Mon Jul 19 15:26:27 2010 [TM][D]: Message received: TRANSFER SUCCESS 48 –

 

 

Thank you very much Tino!

 

 

From: tinova79 at gmail.com [mailto:tinova79 at gmail.com] On Behalf Of Tino Vazquez
Sent: lunes, 19 de julio de 2010 12:43
To: Xavier Sarda Perez
Cc: users at lists.opennebula.org
Subject: Re: [one-users] Deploy VM on VMware ESXi

 

Hi Xavier,

 

The behavior you describe can be due to a variety of reasons. The first things is to check the correct monitorization of the physical hosts. Could you send over the output of

 

$ onehost list

 

and, additionally, the $ONE_LOCATION/var/oned.log and $ONE_LOCATION/var/sched.log.

 

Also, you may want to try to "onevm deploy <vmid> <hostid>" to see if the VM is correctly deployed.

 

Best regards,

 

-Tino
--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org



On Mon, Jul 19, 2010 at 12:17 PM, Xavier Sarda Perez <xavier.sarda at atosresearch.eu> wrote:

Hi Tino,

I've upgraded the server to the VMware version 4.0 with an evaluation license and now VMs are being stopped at 'pend' status. I've checked the thread about VMs sticking in 'pend' but I haven't found nothing that could help me (I always start OpenNebula using 'one start' command and no vm available on the VMware client).

Any ideas?

Best regards,

Xavi

-----Original Message-----
From: tinova79 at gmail.com [mailto:tinova79 at gmail.com] On Behalf Of Tino Vazquez

Sent: lunes, 05 de julio de 2010 17:04
To: Xavier Sarda Perez
Cc: users at lists.opennebula.org
Subject: Re: [one-users] Deploy VM on VMware ESXi

Hi xavier,

How is this going along?

I would like to remind you that you can use ESX 4.0 hypervisors with
OpenNebula without a paid license, you just need to remove the free
license so it goes into evaluation mode, and thus the remote
functionality is again enabled.

Best regards,

-Tino

--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org



On Thu, Jul 1, 2010 at 5:19 PM, Tino Vazquez <tinova at fdi.ucm.es> wrote:
> Hi there,
>
> I am not sure where you can get the .iso, but a thorough google search
> may give some good results.
>
> Another possibility is to shift between the free to the evaluation
> version (i think removing the license is enough), so you get a fully
> working 60 days hypervisor.
>
> Regards,
>
> -Tino
>
> --
> Constantino Vázquez, Grid & Virtualization Technology
> Engineer/Researcher: http://www.dsa-research.org/tinova
> DSA Research Group: http://dsa-research.org
> Globus GridWay Metascheduler: http://www.GridWay.org
> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>
>
>
> On Thu, Jul 1, 2010 at 12:45 PM, Xavier Sarda Perez
> <xavier.sarda at atosresearch.eu> wrote:
>> Hi Tino,
>>
>> I'm already using ESXi 3.5 Update 5.
>>
>> I think that VMware hasn't bring us back CLI functionality on U5. Is it?
>> Do you know where I could find a VMware ESXi 3.5 Update3 iso image?
>>
>> Regards,
>> Xavi
>>
>> -----Original Message-----
>> From: tinova79 at gmail.com [mailto:tinova79 at gmail.com] On Behalf Of Tino Vazquez
>> Sent: miércoles, 30 de junio de 2010 15:33
>> To: Xavier Sarda Perez
>> Cc: users at lists.opennebula.org
>> Subject: Re: [one-users] Deploy VM on VMware ESXi
>>
>> Hi Xavier,
>>
>> Are you by chance using ESXi U4 ? There seems to be a licensing issue
>> with the free hypervisor [1].
>>
>> Regards,
>>
>> -Tino
>>
>> [1] http://communities.vmware.com/thread/203414
>>
>> --
>> Constantino Vázquez, Grid & Virtualization Technology
>> Engineer/Researcher: http://www.dsa-research.org/tinova
>> DSA Research Group: http://dsa-research.org
>> Globus GridWay Metascheduler: http://www.GridWay.org
>> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>>
>>
>>
>> On Wed, Jun 30, 2010 at 3:02 PM, Xavier Sarda Perez
>> <xavier.sarda at atosresearch.eu> wrote:
>>> Hi All,
>>>
>>>
>>>
>>> After trying to run OpenNebula with VMware Server 2 hosts, I’m trying to
>>> manage VMware ESXi hosts (version 3.5).
>>>
>>>
>>>
>>> Hosting monitoring is working but I cannot start a VM. SimpleTest from VI
>>> SDK is working, so no problems of credentials or connectivity. The virtual
>>> machine is working because I’ve tried to start it using the VIC (but I’ve
>>> de-registered the virtual machine to allow OpenNebula to do this)
>>>
>>>
>>>
>>> The VM disk is stored in the VMware host (there is no NFS) and I had
>>> specified a tm_dummy on the ONE front-end but deploy is still failing:
>>>
>>>
>>>
>>>         at
>>> com.vmware.vim.VimBindingStub.registerVM_Task(VimBindingStub.java:21299)
>>>
>>>         at DeployVM.registerVirtualMachine(DeployVM.java:125)
>>>
>>>         at OneVmmVmware.loop(OneVmmVmware.java:160)
>>>
>>>         at OneVmmVmware.main(OneVmmVmware.java:57)
>>>
>>>
>>>
>>> I’ve attached the complete log below (vmm_vmware.log). Please, can somebody
>>> help me?
>>>
>>>
>>>
>>> I found an old thread in the mailing list about a similar problem (I think
>>> it’s a similar problem) but I followed the instructions and nothing changed.
>>>
>>>
>>>
>>> Thank you,
>>>
>>> Xavi
>>>
>>>
>>>
>>> [30.06.2010 14:44:00] DEPLOY FAILURE 31 Failed deploying VM in host
>>> server.domain.es.
>>>
>>> [30.06.2010 14:44:00] Failed deploying VM 31 into server.domain.es.Reason:
>>> null
>>>
>>> ---- Debug stack trace ----
>>>
>>> AxisFault
>>>
>>>  faultCode: ServerFaultCode
>>>
>>>  faultSubcode:
>>>
>>>  faultString: fault.RestrictedVersion.summary
>>>
>>>  faultActor:
>>>
>>>  faultNode:
>>>
>>>  faultDetail:
>>>
>>>         {urn:vim2}SecurityErrorFault:null
>>>
>>>
>>>
>>> fault.RestrictedVersion.summary
>>>
>>>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>>> Method)
>>>
>>>         at
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>>
>>>         at
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>>>
>>>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>>>
>>>         at java.lang.Class.newInstance0(Class.java:355)
>>>
>>>         at java.lang.Class.newInstance(Class.java:308)
>>>
>>>         at
>>> org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
>>>
>>>         at
>>> org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)
>>>
>>>         at
>>> com.vmware.vim.SecurityError.getDeserializer(SecurityError.java:83)
>>>
>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>
>>>         at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>
>>>         at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>
>>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>>
>>>         at
>>> org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
>>>
>>>         at
>>> org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
>>>
>>>         at
>>> org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
>>>
>>>         at
>>> org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
>>>
>>>         at
>>> org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
>>>
>>>         at
>>> org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
>>>
>>>         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
>>> Source)
>>>
>>>         at
>>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>>> Source)
>>>
>>>         at
>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>>> Source)
>>>
>>>         at
>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>> Source)
>>>
>>>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> Source)
>>>
>>>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> Source)
>>>
>>>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>>
>>>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>>>
>>>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
>>>
>>>         at
>>> org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
>>>
>>>         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
>>>
>>>         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
>>>
>>>         at
>>> org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
>>>
>>>         at
>>> org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
>>>
>>>         at
>>> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
>>>
>>>         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
>>>
>>>         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
>>>
>>>         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
>>>
>>>         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
>>>
>>>         at org.apache.axis.client.Call.invoke(Call.java:2767)
>>>
>>>         at org.apache.axis.client.Call.invoke(Call.java:2443)
>>>
>>>         at org.apache.axis.client.Call.invoke(Call.java:2366)
>>>
>>>         at org.apache.axis.client.Call.invoke(Call.java:1812)
>>>
>>>         at
>>> com.vmware.vim.VimBindingStub.registerVM_Task(VimBindingStub.java:21299)
>>>
>>>         at DeployVM.registerVirtualMachine(DeployVM.java:125)
>>>
>>>         at OneVmmVmware.loop(OneVmmVmware.java:160)
>>>
>>>         at OneVmmVmware.main(OneVmmVmware.java:57)
>>>
>>> [30.06.2010 14:44:00] ---------------------------
>>>
>>>
>>>
>>>
>>>
>>> Xavi Sardà Pérez
>>>
>>> ATOS ORIGIN - Research and Innovation
>>>
>>>
>>>
>>> Avda. Diagonal 200
>>>
>>> 08018 Barcelona
>>>
>>> phone: (+34) 93 506 1420
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------
>>> This e-mail and the documents attached are confidential and intended
>>> solely for the addressee; it may also be privileged. If you receive
>>> this e-mail in error, please notify the sender immediately and destroy it.
>>> As its integrity cannot be secured on the Internet, the Atos Origin
>>> group liability cannot be triggered for the message content. Although
>>> the sender endeavours to maintain a computer virus-free network,
>>> the sender does not warrant that this transmission is virus-free and
>>> will not be liable for any damages resulting from any virus transmitted.
>>>
>>> Este mensaje y los ficheros adjuntos pueden contener informacion
>>> confidencial
>>> destinada solamente a la(s) persona(s) mencionadas anteriormente
>>> pueden estar protegidos por secreto profesional.
>>> Si usted recibe este correo electronico por error, gracias por informar
>>> inmediatamente al remitente y destruir el mensaje.
>>> Al no estar asegurada la integridad de este mensaje sobre la red, Atos
>>> Origin
>>> no se hace responsable por su contenido. Su contenido no constituye ningun
>>> compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas
>>> partes.
>>> Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
>>> no puede garantizar nada al respecto y no sera responsable de cualesquiera
>>> danos que puedan resultar de una transmision de virus.
>>> ------------------------------------------------------------------
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>> ------------------------------------------------------------------
>> This e-mail and the documents attached are confidential and intended
>> solely for the addressee; it may also be privileged. If you receive
>> this e-mail in error, please notify the sender immediately and destroy it.
>> As its integrity cannot be secured on the Internet, the Atos Origin
>> group liability cannot be triggered for the message content. Although
>> the sender endeavours to maintain a computer virus-free network,
>> the sender does not warrant that this transmission is virus-free and
>> will not be liable for any damages resulting from any virus transmitted.
>>
>> Este mensaje y los ficheros adjuntos pueden contener informacion confidencial
>> destinada solamente a la(s) persona(s) mencionadas anteriormente
>> pueden estar protegidos por secreto profesional.
>> Si usted recibe este correo electronico por error, gracias por informar
>> inmediatamente al remitente y destruir el mensaje.
>> Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin
>> no se hace responsable por su contenido. Su contenido no constituye ningun
>> compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas partes.
>> Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
>> no puede garantizar nada al respecto y no sera responsable de cualesquiera
>> danos que puedan resultar de una transmision de virus.
>> ------------------------------------------------------------------
>>
>
------------------------------------------------------------------
This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you receive
this e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin
group liability cannot be triggered for the message content. Although
the sender endeavours to maintain a computer virus-free network,
the sender does not warrant that this transmission is virus-free and
will not be liable for any damages resulting from any virus transmitted.

Este mensaje y los ficheros adjuntos pueden contener informacion confidencial
destinada solamente a la(s) persona(s) mencionadas anteriormente
pueden estar protegidos por secreto profesional.
Si usted recibe este correo electronico por error, gracias por informar
inmediatamente al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin
no se hace responsable por su contenido. Su contenido no constituye ningun
compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas partes.
Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
no puede garantizar nada al respecto y no sera responsable de cualesquiera
danos que puedan resultar de una transmision de virus.
------------------------------------------------------------------

 

------------------------------------------------------------------
This e-mail and the documents attached are confidential and intended 
solely for the addressee; it may also be privileged. If you receive 
this e-mail in error, please notify the sender immediately and destroy it. 
As its integrity cannot be secured on the Internet, the Atos Origin 
group liability cannot be triggered for the message content. Although 
the sender endeavours to maintain a computer virus-free network, 
the sender does not warrant that this transmission is virus-free and 
will not be liable for any damages resulting from any virus transmitted. 

Este mensaje y los ficheros adjuntos pueden contener informacion confidencial 
destinada solamente a la(s) persona(s) mencionadas anteriormente 
pueden estar protegidos por secreto profesional. 
Si usted recibe este correo electronico por error, gracias por informar 
inmediatamente al remitente y destruir el mensaje. 
Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin 
no se hace responsable por su contenido. Su contenido no constituye ningun 
compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas partes. 
Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor 
no puede garantizar nada al respecto y no sera responsable de cualesquiera 
danos que puedan resultar de una transmision de virus. 
------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100719/9c63387b/attachment-0003.htm>


More information about the Users mailing list