SCV SVMの追加に失敗する(APIの呼び出しに失敗する)
- Views:
- 129
- Visibility:
- Public
- Votes:
- 0
- Category:
- snapcenter
- Specialty:
- snapx<a>SVM</a><a>2009192233</a>
- 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に、次の例のような行が表示されます。
例:
2023-09-15 07:17:53.320 +10:00 [DBG] [Storage] [TID:123] [RID:0HMN25N3IVS52:00000002] [CID:] [JID:-1] Command starts: Invoke-NcEmsAutosupportLog - -StorageSystem vsavirt01.aus.aunty.abc.net.au -AppVersion 4.7 -EventSource SnapCenter VMware OVA Software -Category Error -ComputerName NUCPSTOSVC01.aus.aunty.abc.net.au -EventDescription Unable to discover resources on SCV: Unable to get storage details for datastore NMIVIRT01_T2_01 with managed object reference datastore-4263529. 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 example.mgmt.netapp.com 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 example.mgmt.netapp.com.
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)