Unable to boot with VCDriver

Asked by namewr

When I use the VMwareVCDriver, the system report Error as follows,
Any one has any idea?
Thank you very much

2013-09-07 21:03:10.543 31017 ERROR suds.client [-] <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:ns0="urn:vim25" xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <ns1:Body>
      <ns0:RetrievePropertiesEx>
         <ns0:_this type="PropertyCollector">propertyCollector</ns0:_this>
         <ns0:specSet>
            <ns0:propSet>
               <ns0:type>ClusterComputeResource</ns0:type>
               <ns0:all>false</ns0:all>
               <ns0:pathSet>name</ns0:pathSet>
            </ns0:propSet>
            <ns0:objectSet>
               <ns0:obj type="Folder">group-d1</ns0:obj>
               <ns0:skip>false</ns0:skip>
               <ns0:selectSet xsi:type="ns0:TraversalSpec">
                  <ns0:name>visitFolders</ns0:name>
                  <ns0:type>Folder</ns0:type>
                  <ns0:path>childEntity</ns0:path>
                  <ns0:skip>false</ns0:skip>
                  <ns0:selectSet>
                     <ns0:name>visitFolders</ns0:name>
                  </ns0:selectSet>
                  <ns0:selectSet xsi:type="ns0:TraversalSpec">
                     <ns0:name>dc_to_hf</ns0:name>
                     <ns0:type>Datacenter</ns0:type>
                     <ns0:path>hostFolder</ns0:path>
                     <ns0:skip>false</ns0:skip>
                     <ns0:selectSet>
                        <ns0:name>visitFolders</ns0:name>
                     </ns0:selectSet>
                  </ns0:selectSet>
                  <ns0:selectSet xsi:type="ns0:TraversalSpec">
                     <ns0:name>dc_to_vmf</ns0:name>
                     <ns0:type>Datacenter</ns0:type>
                     <ns0:path>vmFolder</ns0:path>
                     <ns0:skip>false</ns0:skip>
                     <ns0:selectSet>
                        <ns0:name>visitFolders</ns0:name>
                     </ns0:selectSet>
                  </ns0:selectSet>
                  <ns0:selectSet xsi:type="ns0:TraversalSpec">
                     <ns0:name>cr_to_ds</ns0:name>
                     <ns0:type>ComputeResource</ns0:type>
                     <ns0:path>datastore</ns0:path>
                     <ns0:skip>false</ns0:skip>
                  </ns0:selectSet>
                  <ns0:selectSet xsi:type="ns0:TraversalSpec">
                     <ns0:name>cr_to_h</ns0:name>
                     <ns0:type>ComputeResource</ns0:type>
                     <ns0:path>host</ns0:path>
                     <ns0:skip>false</ns0:skip>
                  </ns0:selectSet>
                  <ns0:selectSet xsi:type="ns0:TraversalSpec">
                     <ns0:name>cr_to_rp</ns0:name>
                     <ns0:type>ComputeResource</ns0:type>
                     <ns0:path>resourcePool</ns0:path>
                     <ns0:skip>false</ns0:skip>
                     <ns0:selectSet>
                        <ns0:name>rp_to_rp</ns0:name>
                     </ns0:selectSet>
                     <ns0:selectSet>
                        <ns0:name>rp_to_vm</ns0:name>
                     </ns0:selectSet>
                  </ns0:selectSet>
                  <ns0:selectSet xsi:type="ns0:TraversalSpec">
                     <ns0:name>rp_to_rp</ns0:name>
                     <ns0:type>ResourcePool</ns0:type>
                     <ns0:path>resourcePool</ns0:path>
                     <ns0:skip>false</ns0:skip>
                     <ns0:selectSet>
                        <ns0:name>rp_to_rp</ns0:name>
                     </ns0:selectSet>
                     <ns0:selectSet>
                        <ns0:name>rp_to_vm</ns0:name>
                     </ns0:selectSet>
                  </ns0:selectSet>
                  <ns0:selectSet xsi:type="ns0:TraversalSpec">
                     <ns0:name>h_to_vm</ns0:name>
                     <ns0:type>HostSystem</ns0:type>
                     <ns0:path>vm</ns0:path>
                     <ns0:skip>false</ns0:skip>
                     <ns0:selectSet>
                        <ns0:name>visitFolders</ns0:name>
                     </ns0:selectSet>
                  </ns0:selectSet>
                  <ns0:selectSet xsi:type="ns0:TraversalSpec">
                     <ns0:name>rp_to_vm</ns0:name>
                     <ns0:type>ResourcePool</ns0:type>
                     <ns0:path>vm</ns0:path>
                     <ns0:skip>false</ns0:skip>
                     <ns0:selectSet>
                        <ns0:name>rp_to_rp</ns0:name>
                     </ns0:selectSet>
                     <ns0:selectSet>
                        <ns0:name>rp_to_vm</ns0:name>
                     </ns0:selectSet>
                  </ns0:selectSet>
               </ns0:selectSet>
            </ns0:objectSet>
         </ns0:specSet>
         <ns0:options>
            <ns0:maxObjects>100</ns0:maxObjects>
         </ns0:options>
      </ns0:RetrievePropertiesEx>
   </ns1:Body>
</SOAP-ENV:Envelope>
2013-09-07 21:03:10.556 31017 CRITICAL nova.virt.vmwareapi.driver [-] In vmwareapi:_call_method, got this exception: Server raised fault: ''
2013-09-07 21:03:10.556 31017 ERROR nova.all [-] Failed to load nova-compute
2013-09-07 21:03:10.556 31017 TRACE nova.all Traceback (most recent call last):
2013-09-07 21:03:10.556 31017 TRACE nova.all File "/usr/local/lib/python2.7/dist-packages/nova/cmd/all.py", line 88, in main
2013-09-07 21:03:10.556 31017 TRACE nova.all manager=manager))
2013-09-07 21:03:10.556 31017 TRACE nova.all File "/usr/local/lib/python2.7/dist-packages/nova/service.py", line 257, in create
2013-09-07 21:03:10.556 31017 TRACE nova.all db_allowed=db_allowed)
2013-09-07 21:03:10.556 31017 TRACE nova.all File "/usr/local/lib/python2.7/dist-packages/nova/service.py", line 139, in __init__
2013-09-07 21:03:10.556 31017 TRACE nova.all self.manager = manager_class(host=self.host, *args, **kwargs)
2013-09-07 21:03:10.556 31017 TRACE nova.all File "/usr/local/lib/python2.7/dist-packages/nova/compute/manager.py", line 406, in __init__
2013-09-07 21:03:10.556 31017 TRACE nova.all self.driver = driver.load_compute_driver(self.virtapi, compute_driver)
2013-09-07 21:03:10.556 31017 TRACE nova.all File "/usr/local/lib/python2.7/dist-packages/nova/virt/driver.py", line 1049, in load_compute_driver
2013-09-07 21:03:10.556 31017 TRACE nova.all virtapi)
2013-09-07 21:03:10.556 31017 TRACE nova.all File "/usr/local/lib/python2.7/dist-packages/nova/openstack/common/importutils.py", line 52, in import_object_ns
2013-09-07 21:03:10.556 31017 TRACE nova.all return import_class(import_value)(*args, **kwargs)
2013-09-07 21:03:10.556 31017 TRACE nova.all File "/usr/local/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 409, in __init__
2013-09-07 21:03:10.556 31017 TRACE nova.all self._session, self._cluster_name)
2013-09-07 21:03:10.556 31017 TRACE nova.all File "/usr/local/lib/python2.7/dist-packages/nova/virt/vmwareapi/vm_util.py", line 691, in get_cluster_ref_from_name
2013-09-07 21:03:10.556 31017 TRACE nova.all "ClusterComputeResource", ["name"])
2013-09-07 21:03:10.556 31017 TRACE nova.all File "/usr/local/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 573, in _call_method
2013-09-07 21:03:10.556 31017 TRACE nova.all return temp_module(*args, **kwargs)
2013-09-07 21:03:10.556 31017 TRACE nova.all File "/usr/local/lib/python2.7/dist-packages/nova/virt/vmwareapi/vim_util.py", line 200, in get_objects
2013-09-07 21:03:10.556 31017 TRACE nova.all specSet=[property_filter_spec], options=options)
2013-09-07 21:03:10.556 31017 TRACE nova.all File "/usr/local/lib/python2.7/dist-packages/nova/virt/vmwareapi/vim.py", line 172, in vim_request_handler
2013-09-07 21:03:10.556 31017 TRACE nova.all raise error_util.VimFaultException(fault_list, excep)
2013-09-07 21:03:10.556 31017 TRACE nova.all VimFaultException: Server raised fault: ''

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
namewr
Solved:
Last query:
Last reply:
Revision history for this message
Vui Lam (vui) said :
#1

Hi, did you resolve the startup issue? If not, please report the driver error log again. It appears that the important part of of the backtrace was truncated from the initial report. Also, did you have any cluster configured on your vCenter?

Revision history for this message
namewr (namewr-hack) said :
#2

The problem is due to a bug inside the VCDriver.
Since VCDriver is unable to handle Vcenter whose version is below 4.1, I am patching it to use different method.