[one-users] ESXi: fault.RestrictedVersion.summary

Jason Hamilton jhamilton at simulexinc.com
Wed Dec 16 08:37:18 PST 2009


Tino,

There are no registered VM's (via the VIC).

-Jason


On 12/16/2009 11:25 AM, Tino Vazquez wrote:
> Hi Jason,
>
> In your second test, can you check if the VM 'one-9' is registered in
> the ESXi ? registering should be done by OpenNebula previous to
> launching the VM, let's see at what step is failing.
>
> Regards,
>
> -Tino
>
> --
> Constantino Vázquez, Grid 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 Tue, Dec 15, 2009 at 9:25 PM, Jason Hamilton
> <jhamilton at simulexinc.com>  wrote:
>    
>> Alright, I may have spoke too soon with regards to "pend" state. I had "CPU
>> = 2" in my template, and I changed the value to "1" and now it will deploy
>> the VM. Not sure why I'm not allowed to request 2 CPU's even though the node
>> has 2 Xeon's each with 4 cores. Maybe I'm interpreting the template syntax
>> incorrectly?
>>
>> Anyway, the VM still fails to boot when deployed with the 'root' user, and
>> with the same error as before:
>>
>>  From oned.log:
>> Tue Dec 15 14:45:14 2009 [VMM][D]: Message received: DEPLOY FAILURE 9 Failed
>> deploying VM in host global-sim11.simulexinc.com.
>> Tue Dec 15 14:45:14 2009 [VMM][D]: Message received: dddd
>>
>>  From vmm_vmware.log:
>> [15.12.2009 14:45:14] DEPLOY FAILURE 9 Failed deploying VM in host
>> global-sim11.
>> [15.12.2009 14:45:14] Failed deploying VM 9 into global-sim11.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
>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
>>         at
>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
>>         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.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
>>         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
>>         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)
>> [15.12.2009 14:45:14] ---------------------------
>>
>>
>>
>> This is probably the cause of VMware locking down the rcli interface's write
>> access in the free (read: crippled) version of ESXi 4. More info here:
>> http://communities.vmware.com/thread/204538?tstart=915
>>
>> I'm running the latest build of ESXi 4.0 with a free license, so to test
>> this, I logged in to the VIC as root, and reset the license to Evaluation
>> Mode and tried to deploy the VM again. This also failed to deploy, but with
>> a much different error:
>>
>> [15.12.2009 15:22:42] DEPLOY FAILURE 10 Failed deploying VM in host
>> global-sim11.simulexinc.com.
>> [15.12.2009 15:22:42] Failed deploying VM 10 into global-sim11.Reason: null
>> ---- Debug stack trace ----
>> AxisFault
>>   faultCode: ServerFaultCode
>>   faultSubcode:
>>   faultString: The object or item referred to could not be found.
>>   faultActor:
>>   faultNode:
>>   faultDetail:
>>         {urn:vim2}NotFoundFault:null
>>
>> The object or item referred to could not be found.
>>         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.NotFound.getDeserializer(NotFound.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
>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
>>         at
>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
>>         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.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
>>         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
>>         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)
>> [15.12.2009 15:22:42] ---------------------------
>>
>>
>> Any advice?
>>
>> -Jason
>>
>> On 12/15/2009 01:43 PM, Jason Hamilton wrote:
>>      
>>> I've switched around the settings so that the "root" account is now
>>> specified in the driver, and I restarted one. Now, instead of going into
>>> "prolog" state and deploying the VM, onevm keeps showing a state of "pend"
>>> and the VM never deploys. My sched.log is showing:
>>>
>>> Virtual Machine: 5
>>>
>>>
>>> Tue Dec 15 13:41:11 2009 [HOST][D]: Discovered Hosts (enabled): 1
>>> Tue Dec 15 13:41:11 2009 [VM][D]: Pending virtual machines : 5
>>> Tue Dec 15 13:41:11 2009 [RANK][W]: No rank defined for VM
>>> Tue Dec 15 13:41:11 2009 [SCHED][I]: Select hosts
>>>         PRI     HID
>>>         -------------------
>>>
>>> and my oned.log is spewing:
>>> Tue Dec 15 13:42:04 2009 [ReM][D]: VirtualMachinePoolInfo method invoked
>>> Tue Dec 15 13:42:05 2009 [ReM][D]: VirtualMachinePoolInfo method invoked
>>> Tue Dec 15 13:42:06 2009 [ReM][D]: VirtualMachinePoolInfo method invoked
>>> Tue Dec 15 13:42:07 2009 [ReM][D]: VirtualMachinePoolInfo method invoked
>>>
>>>
>>> I'm not really sure what's going on here. Thoughts?
>>>
>>> -Jason
>>>
>>> On 12/15/2009 07:11 AM, Tino Vazquez wrote:
>>>        
>>>> Hi Jason,
>>>>
>>>> The SecurityError fault looks like a permissions issue [1]. Can you
>>>> try accessing the ESXi with a privileged user (i.e. root) to see if
>>>> this happens again?
>>>>
>>>> Regards,
>>>>
>>>> -Tino
>>>>
>>>> [1]
>>>> http://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vmodl.fault.SecurityError.html
>>>>
>>>> --
>>>> Constantino Vázquez, Grid 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 Fri, Dec 11, 2009 at 8:37 PM, Jason Hamilton
>>>> <jhamilton at simulexinc.com>    wrote:
>>>>          
>>>>> Hi all,
>>>>>
>>>>> Has anyone else gotten the dreaded "SecurityErrorFault:null" when trying
>>>>> to
>>>>> deploy VMware VM's?
>>>>> Anything I can do about this, or did I just screw up the install
>>>>> somewhere?
>>>>>
>>>>> [11.12.2009 13:25:03] Failed deploying VM 0 into pocn01.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
>>>>>
>>>>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
>>>>>         at
>>>>>
>>>>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
>>>>>         at
>>>>>
>>>>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
>>>>>         at
>>>>>
>>>>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
>>>>>         at
>>>>>
>>>>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
>>>>>         at
>>>>>
>>>>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
>>>>>         at
>>>>>
>>>>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
>>>>>         at
>>>>>
>>>>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
>>>>>         at
>>>>>
>>>>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
>>>>>         at
>>>>>
>>>>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
>>>>>         at
>>>>>
>>>>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
>>>>>         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.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
>>>>>         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
>>>>>         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)
>>>>> [11.12.2009 13:25:03] ---------------------------
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opennebula.org
>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>>
>>>>>            
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>        
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>      


More information about the Users mailing list