将vCenter Server升级到7.0后、在vCenter Web界面中看不到SCV插件
适用场景
- NetApp Data Broker (NDB) 1.0.X
- VMware vCenter Server 7.0
问题描述
- 将vCenter Server升级到7.0后、适用于VMware vSphere的SnapCenter 插件(SCV)在vCenter Web界面中不可见。
- 在尝试升级后在vCenter UI中看不到SCV的解决方案 时、步骤13失败、并显示以下错误。
Registration failed!: Unable to connect to vCenter Server. Please check if vCenter Server and Port are correct.
示例:
vmcontrol.log
注册失败时显示以下错误。
示例:
2020-12-08 21:11:32.350 DEBUG w9108 --- [ qtp32374789-16] c.n.a.u.CryptoUtil : Unsupported configuration to decrypt the given message.
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at com.netapp.aegis.util.CryptoUtil.decrypt(CryptoUtil.java:161)
at com.netapp.aegis.util.CryptoUtil.decrypt(CryptoUtil.java:124)
at com.netapp.aegis.sms.provider.GetHostInfoManager.registerVcenterServer(GetHostInfoManager.java:382)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
:
2020-12-08 21:11:32.366 DEBUG w9108 --- [ qtp32374789-16] c.n.a.s.p.GetHostInfoManager : Exception while trying to get old service instance: VI SDK invoke exception:org.dom4j.DocumentException
java.rmi.RemoteException: VI SDK invoke exception:org.dom4j.DocumentException
at com.vmware.vijava.vim25.ws.XmlGenDom.fromXML(XmlGenDom.java:76)
at com.vmware.vijava.vim25.ws.WSClient.invoke(WSClient.java:93)
at com.vmware.vijava.vim25.ws.VimStub.retrieveServiceContent(VimStub.java:1434)
at com.vmware.vijava.vim25.mo.ServiceInstance.init(ServiceInstance.java:173)
at com.vmware.vijava.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:99)
at com.vmware.vijava.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:90)
at com.netapp.aegis.vsphere.VsphereService.getVsphereServiceInstance(VsphereService.java:100)
:
2020-12-08 21:11:32.366 DEBUG w9108 --- [ qtp32374789-16] c.n.a.v.VsphereService : [JobId:0] Invalid arguments, can't retrieve session from null vSphere serviceInstance!
2020-12-08 21:11:32.366 DEBUG w9108 --- [ qtp32374789-16] c.n.a.v.VsphereService : vSphereServiceURL is : https://XX.XX.XX.XX:443/sdk
2020-12-08 21:11:32.376 DEBUG w9108 --- [ qtp32374789-16] c.n.a.v.VsphereService : VI SDK invoke exception:org.dom4j.DocumentException
2020-12-08 21:11:32.377 ERROR w9108 --- [ qtp32374789-16] c.n.a.m.VserverStore : VI SDK invoke exception:org.dom4j.DocumentException
java.rmi.RemoteException: VI SDK invoke exception:org.dom4j.DocumentException
at com.vmware.vijava.vim25.ws.XmlGenDom.fromXML(XmlGenDom.java:76)
at com.vmware.vijava.vim25.ws.WSClient.invoke(WSClient.java:93)
at com.vmware.vijava.vim25.ws.VimStub.retrieveServiceContent(VimStub.java:1434)
at com.vmware.vijava.vim25.mo.ServiceInstance.init(ServiceInstance.java:173)
at com.vmware.vijava.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:99)
at com.vmware.vijava.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:90)
at com.netapp.aegis.vsphere.VsphereService.getVsphereServiceInstance(VsphereService.java:100)
:
2020-12-08 21:11:32.377 ERROR w9108 --- [ qtp32374789-16] c.n.a.m.VserverStore : Unable to connect to vCenter Server. Please check if vCenter Server and Port are correct.
2020-12-08 21:11:32.377 ERROR w9108 --- [ qtp32374789-16] c.n.a.s.p.GetHostInfoManager : Unable to connect to vCenter Server. Please check if vCenter Server and Port are correct.
com.netapp.nvpf.api.model.ApiException: Unable to connect to vCenter Server. Please check if vCenter Server and Port are correct.
at com.netapp.aegis.model.VserverStore.validateVSphereConfiguration(VserverStore.java:125)
at com.netapp.aegis.model.VserverStore.setVSphereConfiguration(VserverStore.java:158)
at com.netapp.aegis.sms.provider.GetHostInfoManager.registerVcenterServerWithHostInfo(GetHostInfoManager.java:482)
at com.netapp.aegis.sms.provider.GetHostInfoManager.registerVcenterServer(GetHostInfoManager.java:398)