Ask Your Question
2

cinder vmware

asked 2014-10-08 05:19:17 -0500

Qiang gravatar image

We are using Cinder with vCenter of Vmware, and our conf as following:

volume_driver = cinder.volume.drivers.vmware.vmdk.VMwareVcVmdkDriver
storage_availability_zone = storage-vmware
vmware_host_ip = 10.11.21.11
vmware_host_username = root
vmware_host_password = xxxxxxx
volume_name_template = volume-%s
volume_group = stack-volumes
vmware_host_version  = 5.5
osapi_volume_extension = cinder.api.contrib.standard_extensions
vmware_volume_folder = cinder-volumes

but we are facing following error in the log, how to fix it ? thanks.

   ******************************************************** log_opt_values /usr/lib/python2.7/dist-
packages/oslo/config/cfg.py:1951
    2014-10-08 18:13:32.713 26851 ERROR suds.client [-] <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:ns0="urn:pbm" 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/">
       <SOAP-ENV:Header>
          <vcSessionCookie>&quot;5208f58e-bbc8-5501-51c2-a37c7d316770&quot;</vcSessionCookie>
       </SOAP-ENV:Header>
       <ns1:Body>
          <ns0:PbmRetrieveServiceContent>
             <ns0:_this type="PbmServiceInstance">ServiceInstance</ns0:_this>
          </ns0:PbmRetrieveServiceContent>
       </ns1:Body>
    </SOAP-ENV:Envelope>
    2014-10-08 18:13:32.716 26851 ERROR cinder.openstack.common.loopingcall [-] in dynamic looping call
    2014-10-08 18:13:32.716 26851 TRACE cinder.openstack.common.loopingcall Traceback (most recent call last):

    2014-10-08 18:13:32.716 26851 TRACE cinder.openstack.common.loopingcall   File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/loopingcall.py", line 123, in _inner
    2014-10-08 18:13:32.716 26851 TRACE cinder.openstack.common.loopingcall     idle = self.f(*self.args, **self.kw)
    2014-10-08 18:13:32.716 26851 TRACE cinder.openstack.common.loopingcall   File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/vmware/api.py", line 82, in _func
    2014-10-08 18:13:32.716 26851 TRACE cinder.openstack.common.loopingcall     raise excep
    2014-10-08 18:13:32.716 26851 TRACE cinder.openstack.common.loopingcall Exception: (503, u'Service Unavailable')
    2014-10-08 18:13:32.716 26851 TRACE cinder.openstack.common.loopingcall
    2014-10-08 18:13:32.717 26851 ERROR cinder.volume.manager [req-672e07b6-14dc-4daa-8ac9-7e534fa7e1dc - - - - -] Error encountered during initialization of driver: VMwareVcVmdkDriver
    2014-10-08 18:13:32.718 26851 ERROR cinder.volume.manager [req-672e07b6-14dc-4daa-8ac9-7e534fa7e1dc - - - - -] (503, u'Service Unavailable')
    2014-10-08 18:13:32.718 26851 TRACE cinder.volume.manager Traceback (most recent call last):
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-10-09 22:54:35 -0500

Vinoth gravatar image

Include "vmware_wsdl_location = <path_to_vimservice.wsdl_file>" in your cinder.conf file.

also install "apt-get install python-suds " for nova to handle VMwareVmdkDriver

edit flag offensive delete link more
0

answered 2015-04-12 21:19:57 -0500

job gravatar image

I have the same error message with Juno in Ubuntu 14. "vmware_wsdl_location" and python-suds are already there in t cinder.conf and the OS

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-08 05:19:17 -0500

Seen: 521 times

Last updated: Oct 09 '14