Ask Your Question

Revision history [back]

Hai, I am trying Vmware integration openstack in my lab. I have vcenter(5.5) environment ready in my lab environment. Then I started my icehouse setup following this document. For nova installation I used " apt-get install nova-compute-vmware" which install all vmware packages(including python-suds). Then I added the following lines in nova.conf file.

[DEFAULT]

compute_driver=vmwareapi.VMwareVCDriver

[vmware] host_ip=192.168.1.15

host_username=Administrator@vsphere.l...

host_password=*****

cluster_name=lab

Then restarting the nova-compute service throws following error:

ERROR nova.virt.driver [-] Unable to load the virtualization driver

TRACE nova.virt.driver Traceback (most recent call last):

TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 1305, in load_compute_driver

TRACE nova.virt.driver virtapi)

TRACE nova.virt.driver ImportError: No module named vmwareapi

So I commanted the #[vmware] line in nova.conf file. Then restarted the service. This tme nova-compute service is up&running but throws error as follows;

INFO nova.virt.driver [-] Loading compute driver 'vmwareapi.VMwareVCDriver'

CRITICAL nova.virt.vmwareapi.driver [-] Unable to connect to server at None, sleeping for 1 seconds

TRACE nova.virt.vmwareapi.driver Traceback (most recent call last):

TRACE nova.virt.vmwareapi.driver URLError: urlopen error [Errno -2] Name or service not known

P.S:- I am using Esxi 5.5 version & vcenter 5.5. So I skipped the Procedure 2.1. Mirror WSDL from vCenter (or ESXi) steps while following this document.

Could anyone help me to resolve this issuse?