SCV datastore storage discovery failure
Applies to
SnapCenter Plugin for VMware (SCV)
Issue
SCV backup operations fail with the following error returned in the
vmcontrol_<Job ID>.log:c.n.a.d.VsphereDiscoveryManager : Unable to get storage details for datastore <DATASTORE NAME> with managed object reference <datastore-###>. Storage system(s) may need to be added, also ensure that the associated host is in a connected state.SCV
Job-<Job ID>.log[DBG] Running Command Get-NcVol controller name : <SVM NAME>, vserver :[INF] End GetConfigSettingZAPIRetryCount[INF] Begin RunCommand[INF] End IsForceFsx[DBG] invoking Get-NcVol command[INF] Begin GetSALCommandRenewRetryCount[INF] End GetSALRunCommandRetryInterval[DBG] [Request URL]: https://<SVM NAME>/api/storage/volumes?nas.path=%2<VOLUME NAME>&ignore_unknown_fields=true&fields=name,clone.parent_snapshot.name,nas.export_policy.name,aggregates.name,aggregates.uuid,uuid,nas.junction_parent.name,nas.path,svm.name,style,type,snapmirror.is_protected,nas.security_style,space.physical_used,space.afs_total,space.used,guarantee.type,state,snapshot_locking_enabled[INF] Begin GetSALRunCommandRetryInterval[INF] Command: Get-NcVol Force ZAPI: false[INF] Is REST supported for the command: True[INF] Begin IsForceZAPI[DBG] [Request Method]: GET[INF] Job Patched[INF] JobTask Patched: 10241[INF] JobTask Created[INF] JobTask Created: 10242[DBG] [Response StatusCode]: OK[ERR] API exception: System.ArgumentException: Record doesn't exist[INF] End RunCommand[ERR] The specified volumes do not exist in storage system.[DBG] [Response]: {"records": [],"num_records": 0,"_links": {"self": {"href": "/api/storage/volumes?nas.path=%2<VOLUME NAME>&ignore_unknown_fields=true&fields=name,clone.parent_snapshot.name,nas.export_policy.name,aggregates.name,aggregates.uuid,uuid,nas.junction_parent.name,nas.path,svm.name,style,type,snapmirror.is_protected,nas.security_style,space.physical_used,space.afs_total,space.used,guarantee.type,state,snapshot_locking_enabled"}}}[INF] Begin CleanUpIfStale[INF] End GenerateGetVolumesResult[INF] Begin GenerateGetVolumesResult[ERR] API exception: System.Exception: Record doesn't exist[INF] End GetVolumes[INF] End GatherNfsExportVolumeDetails[
ERR] Record doesn't existRecord doesn't exist[INF] End Convert[INF] End BuildNfsExportToStorageSystemPathsMap[DBG] SDGetStorageResponse : SDGetStorageResponse :Result : SDGetStorageResult : HostResource : /<VOLUME NAME>[DBG] Ignoring exception: Record doesn't exist[DBG] invoking Get-NcVol command-done[INF] End RunCommand