ONTAP Discussions

Unable to add filer to OVM

MONITOR_LINUX
8,117 Views

Receiving the following when try to add my filer to OVM. 

 

[2014-07-23 16:54:31 10855] INFO (SCSIPlugin:1754) NetApp Storage type: ONTAP 8 - 7MODE
[2014-07-23 16:54:31 10855] ERROR (SCSIPlugin:1844) NetApp Data ONTAP Failure: failed
[2014-07-23 16:54:31 10855] ERROR (SCSIPlugin:1845) NetApp Data ONTAP Failure: This API is no longer supported. Use license-v2-list-info instead.

[2014-07-23 16:54:31 10855] INFO (storageplugin:125) Exception: 'NetApp Data ONTAP Failure: failed'
[2014-07-23 16:54:31 10855] 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 190, in storage_plugin_getCapabilities
    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 248, in getCapabilities
    lic_res = StoragePlugin._call_ontap_(ss_record, lic_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'

 

BTW - I was able to add another filer in another OVM environment in my DR data center a couple of months back with no issues.

13 REPLIES 13

nkarthik
8,092 Views

Hello,

If your OnTAP is 8.2.1 onwards, please download 2.0.2 version from http://mysupport.netapp.com/NOW/download/tools/ntap_plugin_ovm/download.shtml,     you can reach this link when you follow download link.

What is the OnTAP version and mode(I hope it's 7 mode)? Please send me the /var/log/ovs-agent.log to explore more about the issue.

Can you please send me the customer name, which will help us to identify the market trend?

Regards,

Karthikeyan.N

(nkarthik@netapp.com)

MONITOR_LINUX
8,092 Views

I am using 2.0.2 version and it is 7 mode

nkarthik
8,092 Views

please send me the /var/log/ovs-agent.log file to nkarthik@netapp.com if not possible to send here?

Regards

Karthikeyan.N

(nkarthik@netapp.com)

GVERHEIJENXRX
8,093 Views

I have same error after upgrade Oracle VM 3.2.2 to 3.3.1 :

Here errors ins ovs-agent.log

[root@nldvnr01ovms01 netapp]# [2014-07-31 12:57:14 27051] DEBUG (service:75) call start: storage_plugin_validate('oracle.netapp.SCSIPlugin.StoragePlugin', {'admin_user': 'root', 'admin_host': '13.206.238.100', 'uuid': '0004fb00000900000ee5940844d3985a', 'admin_passwd': '******', 'access_host': '', 'storage_type': 'SAN', 'vol_groups': [{'vol_total_sz': '412316860416', 'vol_name': 'ovms_nfs1', 'vol_used_sz': '187654148096', 'vol_free_sz': '224662691840', 'vol_alloc_sz': '325093101568'}, {'vol_total_sz': '34359738368', 'vol_name': 'training', 'vol_used_sz': '15084560384', 'vol_free_sz': '19275177984', 'vol_alloc_sz': '15084560384'}, {'vol_total_sz': '2153120792576', 'vol_name': 'omnicast1', 'vol_used_sz': '2071401914368', 'vol_free_sz': '81692819456', 'vol_alloc_sz': '2071401914368'}, {'vol_total_sz': '2153120792576', 'vol_name': 'omnicast2', 'vol_used_sz': '2048712536064', 'vol_free_sz': '104408207360', 'vol_alloc_sz': '2048712536064'}, {'vol_total_sz': '18038865920', 'vol_name': 'pcc', 'vol_used_sz': '8124772352', 'vol_free_sz': '9913712640', 'vol_alloc_sz': '20150677504'}, {'vol_total_sz': '439804653568', 'vol_name': 'apps', 'vol_used_sz': '18319429632', 'vol_free_sz': '421485223936', 'vol_alloc_sz': '128270589952'}, {'vol_total_sz': '439804653568', 'vol_name': 'ux001', 'vol_used_sz': '203256856576', 'vol_free_sz': '236547772416', 'vol_alloc_sz': '313208016896'}, {'vol_total_sz': '1649267441664', 'vol_name': 'xen001', 'vol_used_sz': '1196401815552', 'vol_free_sz': '452812775424', 'vol_alloc_sz': '1196401815552'}, {'vol_total_sz': '329853489152', 'vol_name': 'sabre', 'vol_used_sz': '204403892224', 'vol_free_sz': '125448663040', 'vol_alloc_sz': '424306216960'}, {'vol_total_sz': '399431958528', 'vol_name': 'sablun080', 'vol_used_sz': '358072250368', 'vol_free_sz': '41359687680', 'vol_alloc_sz': '358072250368'}, {'vol_total_sz': '206158430208', 'vol_name': 'sabdev', 'vol_used_sz': '66946600960', 'vol_free_sz': '139211767808', 'vol_alloc_sz': '135666077696'}, {'vol_total_sz': '137438953472', 'vol_name': 'sablun049', 'vol_used_sz': '120063430656', 'vol_free_sz': '17375506432', 'vol_alloc_sz': '120063430656'}, {'vol_total_sz': '25769803776', 'vol_name': 'pcclun031', 'vol_used_sz': '17255600128', 'vol_free_sz': '8514203648', 'vol_alloc_sz': '17255600128'}, {'vol_total_sz': '604731396096', 'vol_name': 'ux008', 'vol_used_sz': '468253245440', 'vol_free_sz': '136477233152', 'vol_alloc_sz': '963033477120'}, {'vol_total_sz': '2638827909120', 'vol_name': 'users01', 'vol_used_sz': '2147282886656', 'vol_free_sz': '491549052928', 'vol_alloc_sz': '2806989860864'}, {'vol_total_sz': '309237645312', 'vol_name': 'ux002', 'vol_used_sz': '159979786240', 'vol_free_sz': '149256753152', 'vol_alloc_sz': '263059001344'}, {'vol_total_sz': '3298534883328', 'vol_name': 'backup_vmdks', 'vol_used_sz': '1085949583360', 'vol_free_sz': '2212585287680', 'vol_alloc_sz': '1085949583360'}, {'vol_total_sz': '280515051520', 'vol_name': 'template01', 'vol_used_sz': '33711673344', 'vol_free_sz': '246803378176', 'vol_alloc_sz': '33711673344'}, {'vol_total_sz': '555392958464', 'vol_name': 'prod13', 'vol_used_sz': '316781342720', 'vol_free_sz': '238610980864', 'vol_alloc_sz': '316781342720'}, {'vol_total_sz': '555392958464', 'vol_name': 'dev01', 'vol_used_sz': '198229110784', 'vol_free_sz': '357163331584', 'vol_alloc_sz': '198229110784'}, {'vol_total_sz': '555392958464', 'vol_name': 'prod01', 'vol_used_sz': '246026301440', 'vol_free_sz': '309365608448', 'vol_alloc_sz': '246026301440'}, {'vol_total_sz': '555392958464', 'vol_name': 'prod03', 'vol_used_sz': '334335156224', 'vol_free_sz': '221051211776', 'vol_alloc_sz': '334335156224'}, {'vol_total_sz': '555392958464', 'vol_name': 'prod05', 'vol_used_sz': '366898049024', 'vol_free_sz': '188494860288', 'vol_alloc_sz': '366898049024'}, {'vol_total_sz': '555392958464', 'vol_name': 'prod07', 'vol_used_sz': '325277765632', 'vol_free_sz': '230114656256', 'vol_alloc_sz': '325277765632'}, {'vol_total_sz': '610931834880', 'vol_name': 'prod09', 'vol_used_sz': '333518696448', 'vol_free_sz': '277413105664', 'vol_alloc_sz': '333518696448'}, {'vol_total_sz': '555392958464', 'vol_name': 'prod11', 'vol_used_sz': '379306426368', 'vol_free_sz': '176084893696', 'vol_alloc_sz': '379306426368'}, {'vol_total_sz': '555392958464', 'vol_name': 'vpc01', 'vol_used_sz': '238327447552', 'vol_free_sz': '317064634368', 'vol_alloc_sz': '238327447552'}, {'vol_total_sz': '439804653568', 'vol_name': 'appvres', 'vol_used_sz': '4115177472', 'vol_free_sz': '435689476096', 'vol_alloc_sz': '114066337792'}, {'vol_total_sz': '274877906944', 'vol_name': 'template_SnapMirror', 'vol_used_sz': '9350258688', 'vol_free_sz': '265527648256', 'vol_alloc_sz': '9350258688'}, {'vol_total_sz': '549755813888', 'vol_name': 'prod2_Snapmirror', 'vol_used_sz': '121452400640', 'vol_free_sz': '428303413248', 'vol_alloc_sz': '121452400640'}, {'vol_total_sz': '994633895936', 'vol_name': 'prod3_SnapMirror', 'vol_used_sz': '439985418240', 'vol_free_sz': '554648477696', 'vol_alloc_sz': '550500294656'}, {'vol_total_sz': '549755813888', 'vol_name': 'prod1_SnapMirror', 'vol_used_sz': '302513901568', 'vol_free_sz': '247241912320', 'vol_alloc_sz': '302513901568'}, {'vol_total_sz': '1105148772352', 'vol_name': 'prod4_SnapMirror', 'vol_used_sz': '577809002496', 'vol_free_sz': '527339769856', 'vol_alloc_sz': '577809002496'}, {'vol_total_sz': '74356621312', 'vol_name': 'snaptest', 'vol_used_sz': '10943156224', 'vol_free_sz': '63413465088', 'vol_alloc_sz': '10943156224'}, {'vol_total_sz': '206158430208', 'vol_name': 'ux009', 'vol_used_sz': '10508271616', 'vol_free_sz': '195650158592', 'vol_alloc_sz': '79227748352'}], 'storage_server_id': 'filer1venray', 'access_grps': [{'grp_name': 'VMWARE', 'grp_entries': ['0x2100001b329e86f1', '0x21000024ff04591b', '0x21000024ff04594d', '0x21000024ff04595c', '0x21000024ff04595d', '0x21000024ff045964', '0x21000024ff04596f', '0x21000024ff0459d8'], 'grp_modes': ['vmware']}, {'grp_name': 'ORACLEVM', 'grp_entries': ['0x2100001b320e8bce', '0x2100001b320e9acc', '0x21000024ff0552f8', '0x21000024ff055342', '0x21000024ff05537a', '0x21000024ff0556fd'], 'grp_modes': ['linux']}, {'grp_name': 'Citrix', 'grp_entries': ['0x21000024ff045956', '0x21000024ff04595e'], 'grp_modes': ['linux']}, {'grp_name': 'sawo', 'grp_entries': ['0x10000000c95d3192', '0x10000000c95d3345'], 'grp_modes': ['openvms']}, {'grp_name': 'sawa', 'grp_entries': ['0x10000000c95d334b', '0x10000000c95d336c'], 'grp_modes': ['openvms']}, {'grp_name': 'pcc01', 'grp_entries': ['0x10000000c95d33b4', '0x10000000c95d33fc'], 'grp_modes': ['openvms']}, {'grp_name': 'pcc02', 'grp_entries': ['0x10000000c94c0466', '0x10000000c95d3261', '0x10000000c95d33df'], 'grp_modes': ['openvms']}, {'grp_name': 'sabtest', 'grp_entries': ['0x10000000c93fbaa6', '0x10000000c94c0466', '0x21000024ff0552f8', '0x21000024ff055342', '0x21000024ff05537a', '0x21000024ff0556fd'], 'grp_modes': ['openvms']}], 'name': '0004fb00000900000ee5940844d3985a'})

[2014-07-31 12:57:14 27051] INFO (storageplugin:109) storage_plugin_validate(oracle.netapp.SCSIPlugin.StoragePlugin)

[2014-07-31 12:57:14 27051] ERROR (service:97) catch_error: No module named NaElement

Traceback (most recent call last):

  File "/usr/lib64/python2.6/site-packages/agent/lib/service.py", line 95, in wrapper

    return func(*args)

  File "/usr/lib64/python2.6/site-packages/agent/api/storageplugin.py", line 187, in storage_plugin_validate

    return storage_plugin(impl_name, *params)

  File "/usr/lib64/python2.6/site-packages/agent/api/storageplugin.py", line 112, in storage_plugin

    plugin_class = plugin_mgr.getPlugin(impl_name)

  File "/opt/storage-connect/PluginManager.py", line 188, in getPlugin

    plugin = self.getPluginManagerClass(plugin_name)

  File "/opt/storage-connect/PluginManager.py", line 157, in getPluginManagerClass

    plugin_mod = __import__(plugin_mod_name, globals(), locals(), class_name)

  File "/opt/storage-connect/plugins/oracle/netapp/SCSIPlugin.py", line 36, in <module>

    from NaElement import *

ImportError: No module named NaElement

--------

Result of python test:

root@nldvnr01ovms01 netapp]# cd /opt/storage-connect/plugins/oracle/netapp

[root@nldvnr01ovms01 netapp]# ls

COPYING  __init__.py  __init__.pyc  SCSIPlugin.py  SCSIPlugin.pyc

[root@nldvnr01ovms01 netapp]# python SCSIPlugin.py

Traceback (most recent call last):

  File "SCSIPlugin.py", line 36, in <module>

    from NaElement import *

ImportError: No module named NaElement

[root@nldvnr01ovms01 netapp]#

GVERHEIJENXRX
8,093 Views

Oracle VM plugin 2.0.1 version was working with Oracle VM 3.2.8 ( Netapp Ontap  Release 8.1.2 7-Mode )

Oracle VM plugin 2.0.1 failed after upgrade to Oracle VM 3.3.1

Downloaded and installed Oracle VM plugin 2.0.2 ... This also fails

Please help

Ger Verheijen

nkarthik
6,254 Views

Hello,

can you please check the NaServer.py,NaErrno.py,  NaElement.py files are in "/usr/lib64/python2.4/" folder? if not please copy them from /opt/storage-connect/plugins/oracle/netapp. if NaServer.py,NaErrno.py,  NaElement.py are not in /opt/storage-connect/plugins/oracle/netapp means something wrong with the installation. your issue is solvable.

Regards,

Karthikeyan.N

GVERHEIJENXRX
6,254 Views

Problem solved with help of Karthikeyan.

Seems that new Oracle VM Server 3.3.1 uses "/usr/lib64/python2.6" not "/usr/lib64/python2.4"

We also received some new .py files and aftre the were copied to the correct folders all was OK

Thanks

MONITOR_LINUX
8,093 Views

We have decided to remove the netapp plugin. It doesnt give us any additional benefits that we cant already do from the filer itself. It seems like this was not vetted very well between oracle and netapp.

GVERHEIJENXRX
8,093 Views

@MONITOR_LINUX,

So you only use the Oracle Generic SCSI Plugin  for the netapp filer ?

MONITOR_LINUX
8,093 Views

yes we are solely using the generic plugin.

GVERHEIJENXRX
8,093 Views

what are the risks changing this in a production environment ?

MONITOR_LINUX
6,254 Views

I would not recommend it. In order to remove the plugin, you have to remove all stores. That means deleting everything off of the store, which you do not want to do. If you have another hypervisor in the environment, you could temporarily v2v the virtual machines. Fortunately for us we do not have OVM in production yet and only had two VM's in our non-prod environment.

nkarthik
6,254 Views

Hello MONITOR_LINUX,

The issue is solved, can you please make it answered. Please let me know, if you still need help.

Regards,

Karthikeyan.N

(nkarthik@netapp.com)

Public