Error: "Unable to execute a NetAPP API" reported for NetApp share discovery post upgrade to DI 6.5.1/6.6

book

Article ID: 100061030

calendar_today

Updated On:

Description

Error Message

commd0.0.log
2023-10-06 15:42:24 INFO:    #{93} [ConfigUtils.doFilerOp] [CMD] [C:\Program Files\DataInsight\/bin/netapp_util.exe, -i, 4, -v, CIFSSVM, -f, xxx.xxx.xxx.xxx, -o, D:\DataInsight\data\collector\discover_shares\discover_shares_xxx.xxx.xxx.xxx_1696624944730]
2023-10-06 15:42:24 INFO:    #{93} [ConfigUtils.doFilerOp] Reading response from D:\DataInsight\data\collector\discover_shares\discover_shares_xxx.xxx.xxx.xxx_1696624944730 (80 bytes)
2023-10-06 15:42:24 INFO:    #{93} [ConfigUtils.doFilerOp] code: OTHER
message: "Unable to execute a NetApp API"
filerVersion: "9.x.Px"

netapp_util.0.log

2023-10-06 15:42:24 INFO: V-378-0-0: #{12156} Product Version 6.6.0.19500
2023-10-06 15:42:24 INFO: V-378-1318-1000: #{12156} [__initlog: 399] Logging Initialized successfully
2023-10-06 15:42:24 INFO: V-378-1318-1026: #{12156} [__parse: 1182] User: user
2023-10-06 15:42:24 INFO: V-378-1318-1027: #{12156} [__parse: 1192] Domain: domain
2023-10-06 15:42:24 INFO: V-378-1318-1028: #{12156} [__parse: 1201] Password: xx
2023-10-06 15:42:24 INFO: V-378-1318-1029: #{12156} [__parse: 1207] filer: xxx.xxx.xxx.xxx
2023-10-06 15:42:24 INFO: V-378-1318-1048: #{12156} [__doit: 1313] Operation code: NTAP_GET_CMOD_SHARES_N_EXPORTS
2023-10-06 15:42:24 INFO: V-378-1318-26015: #{12156} Netapp Version: 9.x.x.
2023-10-06 15:42:24 INFO: V-378-1318-26257: #{12156} Use REST API : false
2023-10-06 15:42:24 INFO: V-378-1318-2285: #{12156} [open_cmod_conn: 2767] CMode NetApp[xxx.xxx.xxx.xxx] system version is [9.x.x].
2023-10-06 15:42:24 ERROR: V-378-1318-1056: #{12156} [main: 1377] Error in performing desired action
2023-10-06 15:42:24 INFO: V-378-1318-1058: #{12156} [main: 1384] netapp_util exit code: 4

The DI Web Console reports the below:

Requested operation could not be completed
Details: CIFS server discovery failed: Unable to execute a NetApp API

Cause

Rest API Support is added in version 6.5.1 as well as 6.6 to support NetApp versions 9:11.x or higher.  

In the code, during the ZAPI to Rest API migration, when DI switched to ZAPI calls for ONTAP Versions > 9.6 and < 9.11.1, some of the variables were not properly initialized, causing the error Code: Other Message: "Unable to execute a NetAPP API" while performing a share discovery on the filer. 

This issue is seen in the following NetApp Versions.

  • ONTAP 9.7.x
  • ONTAP 9.8.x
  • ONTAP 9.10.x
  • ONTAP 9.11.x
  • ONTAP 9.12.x

Resolution

A supported hotfix has been made available for this issue. Please contact Veritas Technical Support to obtain this fix. This hotfix has not yet gone through any extensive Q&A testing. Consequently, if you are not adversely affected by this problem and have a satisfactory temporary workaround in place, we recommend that you wait for the public release of this hotfix.

Veritas Technologies LLC currently plans to address this issue by way of a patch or hotfix to the current version of the software. Please note that Veritas Technologies LLC reserves the right to remove any fix from the targeted release if it does not pass quality assurance tests. Veritas’ plans are subject to change and any action taken by you based on the above information or your reliance upon the above information is made at your own risk.

Please contact your Veritas Sales representative or the Veritas Sales group for upgrade information including upgrade eligibility to the release containing the resolution for this issue.

Issue/Introduction

For Veritas Data Insight (DI), post upgrading to 6.5.1 or 6.6, there are instances of NetApp shares' discovery failure with error: Code: Other Message: "Unable to execute a NetAPP API".

Additional Information

JIRA: CFT-5827 JIRA: CFT-5859