Ask Your Question
0

Error encountered during initialization of driver: VMwareVcVmdkDriver

asked 2014-10-13 02:05:20 -0600

Vinoth gravatar image

Hi, I am working to integrate vmware datastore with icehouse openstack cinder. I followed this link for reference. I got stuck with the following errors in cinder-voloume.log

ERROR cinder.volume.manager [req-334b2af9-acfe-4976-893e-4fdc1be7dc26 - - - - -] Error encountered during initialization of driver: VMwareVcVmdkDriver

DEBUG cinder.openstack.common.service [-] backdoor_port = None log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941

DEBUG cinder.openstack.common.service [-] backup_api_class = cinder.backup.api.API log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941

ERROR cinder.volume.manager [req-334b2af9-acfe-4976-893e-4fdc1be7dc26 - - - - -] vmware_host_ip not set.

TRACE cinder.volume.manager Traceback (most recent call last):

TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 242, in init_host TRACE cinder.volume.manager
self.driver.do_setup(ctxt) TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/vmware/vmdk.py", line 1171, in do_setup TRACE cinder.volume.manager
super(VMwareVcVmdkDriver, self).do_setup(context)

TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/vmware/vmdk.py", line 198, in do_setup TRACE cinder.volume.manager raise exception.InvalidInput(_("%s not set.") % param) TRACE cinder.volume.manager InvalidInput: vmware_host_ip not set.


This is the configuration I included in cinder.conf file:

[vmware]

vmware_api_retry_count=10

vmware_host_ip =192.168.1.15

vmware_host_password =**

vmware_host_username =Administrator

vmware_host_version=5.5

vmware_image_transfer_timeout_secs=7200

vmware_max_objects_retrieval=100

vmware_task_poll_interval=5

volume_folder = cinder-volumes

wsdl_location = http://opt/stack/vmware/SDK/vsphere-w...

osapi_volume_extension = cinder.api.contrib.standard_extensions


could anyone help me with solution to this problem ? Thanks in Advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-01-06 09:14:19 -0600

sinder255248 gravatar image

Looking at: http://docs.openstack.org/icehouse/config-reference/content/vmware-vmdk-driver.html (http://docs.openstack.org/icehouse/co...)

The above should be under [DEFAULT], not [vmware] and I can't see the driver specified in your above cinder.conf:

volume_driver=cinder.volume.drivers.vmware.vmdk.VMwareVcVmdkDriver

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-10-13 02:05:20 -0600

Seen: 822 times

Last updated: Oct 13 '14