SCV backup fails after changing the datastore from upper to lower case letters in vSphere
Applies to
- SnapCenter Plug-in for VMware vSphere (SCV)
- Datastore (DS) backup
Issue
- After changing the DS(s) names from upper to lower case, the backup fails at the discovery stage where SCV still looks for the DS upper case name:
DEBUG snapvm-app-pl1 --- [p852445367-5193] c.n.a.d.StorageDiscoveryManager : SmObject is Datastore:datastore-moref Name:<DS_IN_UPPER_CASE>
DEBUG snapvm-app-pl1 --- [p852445367-5193] c.n.a.d.StorageDiscoveryManager : [JobId:127993] Retrieving Datastore by moref: Datastore:datastore-moref
DEBUG snapvm-app-pl1 --- [p852445367-5193] c.n.a.d.StorageDiscoveryManager : [JobId:127993] Did not find the Datastore by Moref: Datastore:datastore-moref, returning null
DEBUG snapvm-app-pl1 --- [p852445367-5193] c.n.a.m.DatastoreStorageDetailsCache : JobId + 127993 count reduced to 0, removing from cache
ERROR snapvm-app-pl1 --- [p852445367-5193] c.n.a.s.p.DiscoverResourcesManager : [JobId:127993] Storage discovery failed, received error during operation: java.lang.NullPointerException. Please refer to operation logs for more details
- The same issue is seen if the DS(s) names from lower to upper case.