SCV backup fails when cannot find datastore(s)
Applies to
SnapCenter Plug-in for VMware vSphere (SCV)
Issue
- Backup fails with the following error seen in the Job Details:
Unable to discover resources on SCV: Storage discovery failed, received error during operation: java.lang.NullPointerException. Please refer to operation logs for more details
- Error is seen in
vmcontrol_<job_ID>
log:
DEBUG snapcenter-vmware.ntdomain.educ.gov.il --- [qtp474675244-16] c.n.a.d.StorageDiscoveryManager : SmObject is Datastore:datastore-<moref_ID> Name:<datastore_name>
DEBUG snapcenter-vmware.ntdomain.educ.gov.il --- [qtp474675244-16] c.n.a.d.StorageDiscoveryManager : SmObject is SmVMWareSANDataStore
DEBUG snapcenter-vmware.ntdomain.educ.gov.il --- [qtp474675244-16] c.n.a.d.StorageDiscoveryManager : [JobId:17444] Retrieving Datastore by moref: Datastore:datastore-<moref_ID>
DEBUG snapcenter-vmware.ntdomain.educ.gov.il --- [qtp474675244-16] c.n.a.d.StorageDiscoveryManager : [JobId:17444] Did not find the Datastore by Moref: Datastore:datastore-<moref_ID>, returning null