Subscribe

Problems with adding iSCSI Storage Array

[ Edited ]

Hi!

 

I have tried to add iSCSI storage array using Netapp OCS Plugin 2.0.1 with Oracle VM for x86 3.2.6. From the network point of view everything should be fine. I can reach the iSCSI ports, management port, but all the time i get this kind of error message:

 

 

(01/17/2014 08:11:28:302 AM)
OVMAPI_B000E Storage plugin command [storage_plugin_validate] failed for storage server [0004fb0000090000744e5fa8ae14488f] failed with [com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: storage_plugin_validate to server: server.domain.example failed. OVMAPI_4004E Server Failed Command: storage_plugin_validate oracle.netapp.SCSIPlugin.StoragePlugin, Status: OSCPlugin.OperationFailedEx:'NetApp Data ONTAP Failure: failed' [Fri Jan 17 08:11:28 EET 2014] [Fri Jan 17 08:11:28 EET 2014]] OVMAPI_4010E Attempt to send command: storage_plugin_validate to server: server.domain.example failed. OVMAPI_4004E Server Failed Command: storage_plugin_validate oracle.netapp.SCSIPlugin.StoragePlugin, Status: org.apache.xmlrpc.XmlRpcException: OSCPlugin.OperationFailedEx:'NetApp Data ONTAP Failure: failed' [Fri Jan 17 08:11:28 EET 2014] [Fri Jan 17 08:11:28 EET 2014] [Fri Jan 17 08:11:28 EET 2014]
 
Any ideas how to fix issue?
 

Re: Problems with adding iSCSI Storage Array

Hello Tommi Sohlberg,

it look like something missing, can you please provide the following to troubleshoot the issue.

1. Is it 7 mode or cluster mode?. and what is the Ontap Version?

2. please send me the /var/log/ovs-agent.log* files

3. Get status of the iSCSI service, whether or not it is running?

4. Is the user is vsadmin or some other? please check the user has api access to interact with storage controller?

5. In OVM Server, Enable multipath using "multipathd --enable" , Try 'iscsiadm' to login to the Storage controller and check you can see the NetApp storage LUNs are visible in ovm server.

Regards,

Karthikeyan.N

Re: Problems with adding iSCSI Storage Array

Hi!

Thanks for your reply:

1) 7 mode, Ontap 8.1.3

2) check below

3) iScsi service is running

4) I have tried to do this with root account just for verifying it's possible to do.

5) Multipath is enabled and I'm able to login storage controller (Login to [iface: default, target: iqn.1992-08.com.netapp:sn.1874373572, portal: %iSCSI IP%,3260] successful.)

ovs-agent.log

  File "/opt/storage-connect/plugins/oracle/netapp/SCSIPlugin.py", line 176, in validate
    na_res = StoragePlugin._call_ontap_(ss_record, na_cmd)
  File "/opt/storage-connect/plugins/oracle/netapp/SCSIPlugin.py", line 1846, in _call_ontap_
    raise OperationFailedEx(_("NetApp Data ONTAP Failure: %s" % na_res.results_status()))
OperationFailedEx: 'NetApp Data ONTAP Failure: failed'
[2014-01-20 07:36:24 27111] DEBUG (service:74) call start: storage_plugin_validate('oracle.netapp.SCSIPlugin.StoragePlugin', {'admin_user': 'root', 'admin_host': 'e0m Ip address', 'uuid': '0004fb0000090000d2f6df919266332b', 'admin_passwd': '******', 'storage_type': 'iSCSI', 'chap': False, 'access_descriptors': [{'passwd': '******', 'username': '', 'access_host': 'storage ip', 'access_port': 3260}], 'name': '0004fb0000090000d2f6df919266332b'})
[2014-01-20 07:36:24 27111] INFO (storageplugin:109) storage_plugin_validate(oracle.netapp.SCSIPlugin.StoragePlugin)
[2014-01-20 07:36:24 27111] INFO (SCSIPlugin:152) validate - start
[2014-01-20 07:36:24 27111] ERROR (SCSIPlugin:1844) NetApp Data ONTAP Failure: failed
[2014-01-20 07:36:24 27111] ERROR (SCSIPlugin:1845) NetApp Data ONTAP Failure: (111, 'Connection refused')

[2014-01-20 07:36:24 27111] INFO (storageplugin:125) Exception: 'NetApp Data ONTAP Failure: failed'
[2014-01-20 07:36:24 27111] ERROR (service:96) catch_error: 'NetApp Data ONTAP Failure: failed'
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/agent/lib/service.py", line 94, in wrapper
    return func(*args)
  File "/usr/lib64/python2.4/site-packages/agent/api/storageplugin.py", line 187, in storage_plugin_validate
    return storage_plugin(impl_name, *params)
  File "/usr/lib64/python2.4/site-packages/agent/api/storageplugin.py", line 120, in storage_plugin
    result = plugin_method(*params)
  File "/opt/storage-connect/plugins/oracle/netapp/SCSIPlugin.py", line 176, in validate
    na_res = StoragePlugin._call_ontap_(ss_record, na_cmd)
  File "/opt/storage-connect/plugins/oracle/netapp/SCSIPlugin.py", line 1846, in _call_ontap_
    raise OperationFailedEx(_("NetApp Data ONTAP Failure: %s" % na_res.results_status()))
OperationFailedEx: 'NetApp Data ONTAP Failure: failed'

Re: Problems with adding iSCSI Storage Array

Hello,

  Can you try with the right password?. In the log, it failed with "access denied" error. Do you have private network for iscsi?  Please also try with public IP at the registration wizard and please send me the register screen shot and ifconfig, route -n result from OVM servers.

Regards,

Karthikeyan.N

Re: Problems with adding iSCSI Storage Array

Hello,

password is right. I have double checked that and done some tests too for validating it really works. Yes we have private networks for iscsi. What do you mean with Public IP? We have not allocated any public IPs for NetApp...Just for your information, everything works if I use Generic iSCSI plugin, but not with the Netapp one.

Tommi

Re: Problems with adding iSCSI Storage Array

Hello Tommi,

can you please try the following link

https://communities.netapp.com/docs/DOC-32221

Still if not works, can you please send the same kind of outputs from your setup to nkarthik@netapp.com

Regards,

Karthikeyan.N

Re: Problems with adding iSCSI Storage Array

Hi i am not able to access the link it says access denied.

 

I am having a similar issue and would like to get access to the link for solution document.