SCV backup fails with "Unable to get storage details for datastore 'datastore' with managed object reference datastore-XX"
Applies to
- SnapCenter Plug-in for VMware vSphere (SCV)
- Storage is registered to SCV
Issue
- SCV backup fails with "
Unable to get storage details for datastore <datastore> with managed object reference datastore-XX
" Job_XX.log
shows the following error:
[ERR] Failed to run a command NetApp.DataProtection.Storage.CommandAPI.ConnectNcController, Exception:System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (00000001, 11): Resource temporarily unavailable
at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, Boolean justAddresses, AddressFamily addressFamily, ValueStopwatch stopwatch)
at System.Net.Dns.GetHostAddresses(String hostNameOrAddress, AddressFamily family)
at NetApp.Ontapi.NaServer..ctor(String name, String uri, Int32 port)
at NetApp.DataProtection.Storage.CommandAPI.ConnectNcController.Connect(String name)
at SnapDrive.Nsf.Core.Storage.StorageConnection.InitializeONTAP(SDStorageSystemId storageSystemId)
[DBG] InitializeONTAP() throw exception: Failed to connect to storage system. Please check the connectivity between host and storage system.
wfe_XX.log
show the following error:
c.n.a.d.VsphereDiscoveryManager : Unable to get storage details for datastore <datastore> with managed object reference datastore-XX. Storage system(s) may need to be added, also ensure that the associated host is in a connected state.
c.n.a.s.p.DiscoverResourcesManager : [JobId:XX] com.netapp.nvpf.api.model.ApiException: Unable to get storage details for datastore <datastore> with managed object reference datastore-XX. Storage system(s) may need to be added, also ensure that the associated host is in a connected state.
c.n.a.s.p.DiscoverResourcesManager : Encountered error while processing discover resources. Error: Unable to get storage details for datastore <datastore> with managed object reference datastore-XX. Storage system(s) may need to be added, also ensure that the associated host is in a connected state.
com.netapp.nvpf.api.model.ApiException: Unable to get storage details for datastore <datastore> with managed object reference datastore-XX. Storage system(s) may need to be added, also ensure that the associated host is in a connected state.
at com.netapp.aegis.discovery.VsphereDiscoveryManager.populateNfsDsData(VsphereDiscoveryManager.java:325)
at com.netapp.aegis.discovery.VsphereDiscoveryManager.populateVMDataForNewDS(VsphereDiscoveryManager.java:1653)
at com.netapp.aegis.discovery.VsphereDiscoveryManager.constructBackupEntities(VsphereDiscoveryManager.java:1243)
at com.netapp.aegis.discovery.VsphereDiscoveryManager.gatherDisks(VsphereDiscoveryManager.java:1143)
at com.netapp.aegis.discovery.VsphereDiscoveryManager.addDsInfo(VsphereDiscoveryManager.java:1069)
at com.netapp.aegis.backup.BackupMetadataManager.discoverMetdataInfo(BackupMetadataManager.java:820)
at com.netapp.aegis.discovery.StorageDiscoveryManager.discoverVirtualEntities(StorageDiscoveryManager.java:326)
at com.netapp.aegis.sms.provider.DiscoverResourcesManager.discoverResources(DiscoverResourcesManager.java:251)
at jdk.internal.reflect.GeneratedMethodAccessor119.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source
- It resolved naturally over time.