OpenStack Discussions

unable to start cinder with netapp service

bajay
3,959 Views

Hi

I am trying to start netapp volume service along with devstack. I have followed the instructions as per the readme document. But i am not able to start cinder service.

/etc/cinder/cinder.conf

contains

-

volume_driver=cinder.volume.netapp.NetAppCmodeISCSIDriver

netapp_wsdl_url="http://10.226.221.78:8080/dfm.wsdl"

netapp_server_hostname=10.226.221.78

netapp_server_port=8088

netapp_login=root

netapp_password=netapp

netapp_storage_service="openstack_service"

Getting the following error

Traceback (most recent call last):

  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 336, in fire_timers

    timer()

  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 56, in __call__

    cb(*args, **kw)

  File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main

    result = function(*args, **kwargs)

  File "/opt/stack/cinder/cinder/service.py", line 88, in run_server

    server.start()

  File "/opt/stack/cinder/cinder/service.py", line 159, in start

    self.manager.init_host()

  File "/opt/stack/cinder/cinder/volume/manager.py", line 95, in init_host

    self.driver.check_for_setup_error()

  File "/opt/stack/cinder/cinder/volume/netapp.py", line 1067, in check_for_setup_error

    luns = self.client.service.ListLuns()

  File "/usr/local/lib/python2.7/dist-packages/suds/client.py", line 299, in __getattr__

    return getattr(port, name)

  File "/usr/local/lib/python2.7/dist-packages/suds/client.py", line 403, in __getattr__

    return getattr(m, name)

  File "/usr/local/lib/python2.7/dist-packages/suds/client.py", line 494, in __getattr__

    return self[name]

  File "/usr/local/lib/python2.7/dist-packages/suds/client.py", line 507, in __getitem__

    raise MethodNotFound, qn

MethodNotFound: Method not found: 'DfmService.DfmPort.ListLuns'

2012-11-21 05:12:17 CRITICAL cinder [-] Method not found: 'DfmService.DfmPort.ListLuns'

Regards,

Ajay

1 ACCEPTED SOLUTION

GERNETAPP
3,959 Views

I make it work just replace the following line in the cinder.conf file:

volume_driver=cinder.volume.netapp.NetAppCmodeISCSIDriver , replace it with:

volume_driver=cinder.volume.netapp.NetAppISCSIDriver

Kind regards,

View solution in original post

3 REPLIES 3

esker
3,959 Views

Hello,

I believe there's an essential component missing in your installation (required for the C-mode Cinder provider to function correctly).  I'll contact you directly to work through this and post back here w/ the resolution.

Thanks!

GERNETAPP
3,959 Views

Hi,

I'm having the same issue, when i want to start the cinder service. Do you know what could be the issue here? i had almost the same configuration file with differente addresses and of course differente Storage Service from DFM.

Thanks in advance,

Best Regards,

GERNETAPP
3,960 Views

I make it work just replace the following line in the cinder.conf file:

volume_driver=cinder.volume.netapp.NetAppCmodeISCSIDriver , replace it with:

volume_driver=cinder.volume.netapp.NetAppISCSIDriver

Kind regards,

Public