Hello, following the configuration guide on this website: http://netapp.github.io/openstack-deploy-ops-guide/juno/content/cinder.7mode.iscsi.configuration.html, I am unable to get the connection working. We have inbound and outbound CHAP authentication (the interface says we can't use the same user/pass for in/out auth) set and I can login to the share using iscsiadm. But in the cinder.conf file, there is only 1 user field and 1 password field. Here is my cinder.conf:
[root@radv-ctrl ~]# cat /etc/cinder/cinder.conf | grep -v ^$ | grep -v ^#
[DEFAULT]
verbose = True
rpc_backend = rabbit
rabbit_host = radv-ctrl
rabbit_password = password
auth_strategy = keystone
my_ip = 172.16.243.1
control_exchange = cinder
notification_driver = cinder.openstack.common.notifier.rpc_notifier
enabled_backends=RADV_CINDER
[BRCD_FABRIC_EXAMPLE]
[CISCO_FABRIC_EXAMPLE]
[database]
connection = mysql://cinder:password@radv-ctrl/cinder
[fc-zone-manager]
[keymgr]
[keystone_authtoken]
auth_uri = http://radv-ctrl:5000/v2.0
identity_uri = http://radv-ctrl:35357
admin_tenant_name = service
admin_user = cinder
admin_password = password
[matchmaker_redis]
[matchmaker_ring]
[oslo_messaging_amqp]
[profiler]
[ssl]
[RADV_CINDER]
volume_backend_name=RADV_CINDER
volume_driver=cinder.volume.drivers.netapp.common.NetAppDriver
netapp_server_hostname=radv-cinder
netapp_server_port=3260
netapp_storage_protocol=iscsi
netapp_storage_family=ontap_7mode
netapp_login=root
netapp_password=password
And here is the error I'm getting when I restart openstack-cinder-volume:
2015-02-05 13:08:25.140 26615 INFO cinder.volume.manager [req-174d8ba7-a910-461e-ae4e-b9b8193e1446 - - - - -] Starting volume driver NetAppDriver (1.0.0)
2015-02-05 13:08:25.144 26615 ERROR cinder.volume.manager [req-174d8ba7-a910-461e-ae4e-b9b8193e1446 - - - - -] Error encountered during initialization of driver: NetAppDriver
2015-02-05 13:08:25.145 26615 ERROR cinder.volume.manager [req-174d8ba7-a910-461e-ae4e-b9b8193e1446 - - - - -] NetApp api failed. Reason - Unexpected error:<urlopen error [Errno 111] ECONNREFUSED>
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager Traceback (most recent call last):
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 250, in init_host
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager self.driver.do_setup(ctxt)
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/iscsi.py", line 145, in do_setup
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager self._do_custom_setup()
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/iscsi.py", line 1179, in _do_custom_setup
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager (major, minor) = self._get_ontapi_version()
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/iscsi.py", line 370, in _get_ontapi_version
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager res = self.client.invoke_successfully(ontapi_version, False)
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/api.py", line 215, in invoke_successfully
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager result = self.invoke_elem(na_element, enable_tunneling)
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/api.py", line 203, in invoke_elem
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager raise NaApiError('Unexpected error', e)
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager NaApiError: NetApp api failed. Reason - Unexpected error:<urlopen error [Errno 111] ECONNREFUSED>
2015-02-05 13:08:25.145 26615 TRACE cinder.volume.manager
2015-02-05 13:08:25.479 26615 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on radv-ctrl:5672
2015-02-05 13:08:25.497 26615 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on radv-ctrl:5672
To me, that reads like an authentication error. I tried setting up the shares with no authentication, but it seems those fields are required in cinder.conf. So I setup only inbound CHAP auth and still get the same error in Cinder's volume.log. I also commented out the port but no change, same error. Any clues? Thanks in advance for your help!
Chris