升级SCV后、SCV备份失败、并出现java.lang.NullPointerException
适用场景
问题描述
- 升级前成功备份的选择控制阀 失败,并显示错误:
Storage discovery failed, received error during operation: java.lang.NullPointerException. Please refer to operation logs for more details.
vmcontrol_<JobID>.log
报告错误:
DEBUG <HOSTNAME> --- [qtp474675244-16] c.n.a.d.StorageDiscoveryManager : [JobId:<JOB_ID>] Starting Discovering Datastores
DEBUG <HOSTNAME> --- [qtp474675244-16] c.n.a.d.StorageDiscoveryManager : SmObject is Datastore:datastore-<MoRef_ID> Name:<DATASTORE_NAME>
DEBUG <HOSTNAME> --- [qtp474675244-16] c.n.a.d.StorageDiscoveryManager : SmObject is SmVMWareNASDataStore
DEBUG <HOSTNAME> --- [qtp474675244-16] c.n.a.d.StorageDiscoveryManager : [JobId:<JOB_ID>] Retrieving Datastore by moref: Datastore:datastore-<MoRef_ID>
DEBUG <HOSTNAME> --- [qtp474675244-16] c.n.a.d.StorageDiscoveryManager : [JobId:<JOB_ID>] Did not find the Datastore by Moref: Datastore:datastore-<MoRef_ID>, returning null
DEBUG <HOSTNAME> --- [qtp474675244-16] c.n.a.m.DatastoreStorageDetailsCache : JobId + <JOB_ID> count reduced to 0, removing from cache
ERROR <HOSTNAME> --- [qtp474675244-16] c.n.a.s.p.DiscoverResourcesManager : [JobId:<JOB_ID>] Storage discovery failed, received error during operation: java.lang.NullPointerException. Please refer to operation logs for more details.