nova-compute fails to use vmwareapi drivers
Hi,
I have installed Grizzly on Ubuntu server 12.04. Trying to configure nova-compute to use vmwareapi drivers. The nova-compute service fails to start with either ESX or VC driver. I am having ESXi 5.1.0 (799733) and VC 5.1.0a (880472). Both ESXi & VC have valid license and web access enabled. The sdk is copied on to the compute host in /var/var/lib/tomcat6/webapps/vmware/SDK. I am able to access the wsdl location from any host on the network. Portgroup with bridge interface br100 is created.
nova.config parameters
compute_driver=vmwareapi.VMwareVCDriver instance_name_template=instance-%08x api_paste_config=/etc/nova/api-paste.ini vmwareapi_host_ip=10.115.200.155 vmwareapi_host_username=root vmwareapi_host_password=vmware vmwareapi_cluster_name=osdeploy vmwareapi_wsdl_loc=http://10.115.200.178:8080/vmware/SDK/vsphere-ws/wsdl/vim25/vimService.wsdl
nova-compute.log
INFO nova.virt.driver [-] Loading compute driver 'vmwareapi.VMwareVCDriver' INFO nova.manager [-] Skipping periodic task _periodic_update_dns because its interval is negative CRITICAL nova.virt.vmwareapi.driver [-] In vmwareapi:_create_session, got this exception: <urlopen error="" [errno="" 111]="" econnrefused=""> CRITICAL nova [-] <urlopen error="" [errno="" 111]="" econnrefused=""> TRACE nova Traceback (most recent call last): TRACE nova File "/usr/bin/nova-compute", line 83, in <module> TRACE nova db_allowed=False) TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 534, in create TRACE nova db_allowed=db_allowed) TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 413, in __init__ TRACE nova self.manager = manager_class(host=self.host, args, *kwargs) TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 353, in __init__ TRACE nova self.driver = driver.load_compute_driver(self.virtapi, compute_driver) TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 930, in load_compute_driver TRACE nova virtapi) TRACE nova File "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py", line 51, in import_object_ns TRACE nova return import_class(import_value)(args, *kwargs) TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 348, in __init__ TRACE nova super(VMwareVCDriver, self).__init__(virtapi) TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 145, in __init__ TRACE nova api_retry_count, scheme=scheme) TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 417, in __init__ TRACE nova self._create_session() TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 454, in _create_session TRACE nova raise exception.NovaException(excep) TRACE nova NovaException: <urlopen error="" [errno="" 111]="" econnrefused="">
The same happens for 'vmwareapi.VMwareESXDriver'. Any guess what could be wrong? Am I missing something?