跳转到主内容

SCV 无法添加 SVM(API 调用失败)

Views:
115
Visibility:
Internal
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

适用于

  • SnapCenter Plug-in for VMware vSphere (SCV) 4.4 及更高版本
  • ONTAP 9

问题

  • SCV 因类似以下示例的错误而无法添加/更新存储系统。

示例:

Failed to add/update storage system information: Failed to connect to storage system 192.xxx.xxx.xxx.\nAPI invoke failed.. Connection refused

  • ProtectionService.log 显示行,如下例所示。

示例: 

Command starts: Invoke-NcEmsAutosupportLog - -StorageSystem <SVM> -AppVersion 4.7 -EventSource SnapCenter VMware OVA Software -Category Error -ComputerName <COMPUTERNAME> -EventDescription Unable to discover resources on SCV: Unable to get storage details for datastore <DATASTORE> with managed object reference <DATASTORE>. Storage system(s) may need to be added, also ensure that the associated host is in a connected state. -EventId 1002 -LogLevel 3 -AutoSupport False
 

2020-08-13 15:48:23.592 -05:00 [DBG] [ServiceName:Storage] [RequestId:ac1052aa-836b-4485-8c32-6813b5048baa] [CorrId:] [JobId:0] Connecting to <SVM or CLUSTER> via HTTPS
2020-08-13 15:48:23.592 -05:00 [ERR] [ServiceName:Storage] [RequestId:ac1052aa-836b-4485-8c32-6813b5048baa] [CorrId:] [JobId:0] API invoke failed. at NetApp.DataProtection.Storage.CommandAPI.ConnectNcController.ConnectHTTP(IController filer, DataProtectionCredential credentials)
at NetApp.DataProtection.Storage.CommandAPI.ConnectNcController.Connect(String name)
2020-08-13 15:48:23.592 -05:00 [ERR] [ServiceName:Storage] [RequestId:ac1052aa-836b-4485-8c32-6813b5048baa] [CorrId:] [JobId:0] Failed to run a command NetApp.DataProtection.Storage.CommandAPI.ConnectNcController, Exception:API invoke failed.
API invoke failed.
2020-08-13 15:48:23.592 -05:00 [DBG] [ServiceName:Storage] [RequestId:ac1052aa-836b-4485-8c32-6813b5048baa] [CorrId:] [JobId:0] ex.InnerException.InnerException.Message : Connection refused Connection refused
2020-08-13 15:48:23.592 -05:00 [INF] [ServiceName:Storage] [RequestId:ac1052aa-836b-4485-8c32-6813b5048baa] [CorrId:] [JobId:0] End InitializeONTAP
2020-08-13 15:48:23.592 -05:00 [DBG] [ServiceName:Storage] [RequestId:ac1052aa-836b-4485-8c32-6813b5048baa] [CorrId:] [JobId:0] InitializeONTAP() throw exception: Connection refused
2020-08-13 15:48:23.592 -05:00 [ERR] [ServiceName:Storage] [RequestId:ac1052aa-836b-4485-8c32-6813b5048baa] [CorrId:] [JobId:0] Failed to connect to the storage system example.mgmt.netapp.com
Please check the storage system name, IP address, or the specified credentials and the network connectivity., Exception:System.Exception: Connection refusedat SnapDrive.Nsf.Core.Storage.StorageConnection.Initialize(SDStorageSystemId storageSystemId)
2020-08-13 15:48:23.592 -05:00 [INF] [ServiceName:Storage] [RequestId:ac1052aa-836b-4485-8c32-6813b5048baa] [CorrId:] [JobId:0] End Initialize
2020-08-13 15:48:23.592 -05:00 [ERR] [ServiceName:Storage] [RequestId:ac1052aa-836b-4485-8c32-6813b5048baa] [CorrId:] [JobId:0] Failed to connect to storage system <SVM or CLUSTER>
Connection refused
 
  • Job_###.log 

2023-09-15 11:17:48.206 +10:00 [ERR] API invoke failed. at NetApp.DataProtection.Storage.CommandAPI.ConnectNcController.ConnectHTTP(IController filer, DataProtectionCredential credentials) at NetApp.DataProtection.Storage.CommandAPI.ConnectNcController.Connect(String name) 
2023-09-15 11:17:48.206 +10:00 [ERR] Failed to run a command NetApp.DataProtection.Storage.CommandAPI.ConnectNcController, Exception:API invoke failed. 
2023-09-15 11:17:48.208 +10:00 [ERR] Failed to get resource from the resource pool, Exception:System.NullReferenceException: Object reference not set to an instance of an object. at SnapDrive.Nsf.Common.Infrastructure.Storage.ResourcePool`2.GetResource(I identity)

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

This is an internal KB article and its content should not be copy/pasted and shared with people outside of NetApp. Always seek Duty Manager authentication of caller for password reset requests. If you need further assistance post a question in Knowledge Xchange