由于名称解析问题,SCV 备份发现资源失败
适用于
SnapCenter Plug-in for VMware vSphere (SCV)
问题描述
- SCV 备份作业无法发现资源,出现错误:
The backup job <JOB_ID> has completed on primary
Status: failed
Task failures
Task 'Discovering Resources' failed with error: Unable to discover resources on SCV: Failed to get the storage system for host resource : Name : /<NFS_VOLUME>, Type: SDNASDir
- 发送以下通知,
Unable to discover resources on SCV: Unable to get storage details for datastore <datastore> with managed object reference datastore-XXXX. Storage system(s) may need to be added, also ensure that the associated host is in a connected state.,
wfe_<JOB_ID>.log表示Unable to discover resources on SCV: Failed to get the storage system for host resource
INFO snapcenter --- [ Thread-3] c.n.w.m.WorkflowExecutor : Activity - Discovering Resources, Starting
DEBUG snapcenter --- [ Thread-3] c.n.w.u.LogHelper : Starting discover resources activity
DEBUG snapcenter --- [ Thread-3] c.n.w.r.SCVBackupServiceImpl : Discovering resources on SCV
DEBUG snapcenter --- [ Thread-3] c.n.w.r.u.RestClientUtil : Connecting to scv url: https://localhost:8144/scbr/smcoreplugin/discoverResources
ERROR snapcenter --- [ Thread-3] c.n.w.r.SCVBackupServiceImpl : Unable to discover resources on SCV: Failed to get the storage system for host resource : Name : <NFS_VOLUME>, Type: SDNASDir
DEBUG snapcenter --- [ Thread-3] c.n.w.u.LogHelper : Exception in discover resources com.netapp.wfe.model.ApiException: Unable to discover resources on SCV: Failed to get the storage system for host resource : Name : <NFS_VOLUME>, Type: SDNASDir
vmcontrol_<JOB_ID>.log表示使用 NFS LIF IP 的Failed to get the storage system for host resource
DEBUG snapcenter --- [tp1825027294-18] c.n.a.d.VsphereDiscoveryManager : Datastore type is NFS
DEBUG snapcenter --- [tp1825027294-18] c.n.a.m.DatastoreStorageDetailsCache : Calling GetNasStorageInfo with NFS LIF <IP> and exportPath <NFS_VOLUME>
..
ERROR snapcenter --- [tp1825027294-18] c.n.a.s.c.SnapManagerStorageServiceImpl : Failed to get the storage system for host resource : Name : <NFS_VOLUME>, Type: SDNASDir
ERROR snapcenter --- [tp1825027294-18] c.n.a.m.DatastoreStorageDetailsCache : Failed to get the storage system for host resource : Name : <NFS_VOLUME>, Type: SDNASDir
ERROR snapcenter --- [tp1825027294-18] c.n.a.s.p.DiscoverResourcesManager : [JobId:<JOB_ID>] com.netapp.nvpf.api.model.ApiException: Failed to get the storage system for host resource : Name : <NFS_VOLUME>, Type: SDNASDir
ERROR snapcenter --- [tp1825027294-18] c.n.a.s.p.DiscoverResourcesManager : Encountered error while processing discover resources. Error: Failed to get the storage system for host resource : Name : <NFS_VOLUME>, Type: SDNASDir
com.netapp.nvpf.api.model.ApiException: Failed to get the storage system for host resource : Name : <NFS_VOLUME>, Type: SDNASDir
ProtectionService-<YYYYMMDD>.log报告错误:Failed to run a command NetApp.DataProtection.Storage.CommandAPI.ConnectNcController, Exception:System.Net.Sockets.SocketException (00000005, 0xFFFDFFFF): Name or service not known
at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, Boolean justAddresses, AddressFamily addressFamily, Nullable`1 startingTimestamp)
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)- 在与备份作业不同的时间,
ProtectionService.log报告错误:
[WRN] [Storage] [TID:11] [RID:] [CID:] [JID:-1] Failed to resolve <IP_ADDRESS> byHostEntry, Exception:System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (00000005, 0xFFFDFFFF): Name or service not known
at System.Net.Dns.InternalGetHostByAddress(IPAddress address)
at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
at SnapDrive.Nsf.Common.Infrastructure.Storage.NetworkResourceIdCache.ResolveWithDns(String hostName)- 在与备份作业不同的时间,