OTV: Issues registering OTV to vCenter after implementing CA signed certificate
Applies to
ONTAP Tools for VMware vSphere (OTV)
Issue
When replacing VSC's (Virtual Storage Console) self signed certificate with a certificate signed by a CA (certificate authority), the following issues are seen:
- Discovery tasks tied to VSC / OTV appear as Recent Tasks in the vSphere HTML5 UI as expected
- However OTV menus and icons do not appear in the vSphere HTML5 UI
- When reviewing registered OTV extensions via VMware's Managed Object Browser (MOB) at
https://<vcenter>/mob/?moid=ExtensionManager
, thecom.netapp.vsch5
extension is missing - During registration, OTV's out.log shows the following Null Pointer Exception when updating the vSphere extension:
16:14:24.139 [timerFactory-1] INFO com.netapp.nvpf.container.vsphere.VSphereExtensionRegistrationManager - Updated vSphere extension definition (key: com.netapp.nvpf) with vCenter server at https://192.168.0.31:443/sdk.
16:14:24.145 [timerFactory-1] DEBUG com.netapp.common.util.ConfigProperty - UTIL-00100: Application property server.host is not defined
16:14:24.145 [timerFactory-1] DEBUG com.netapp.nvpf.container.ServerProperties - VSC returninig pureIPv4 : 192.168.0.31
16:14:24.238 [timerFactory-1] WARN com.netapp.nvpf.container.vsphere.VSphereExtensionRegistrationManager - Failed to register or update vSphere extension.
java.lang.NullPointerException: null
at com.netapp.nvpf.container.vsphere.HTMLClientExtensionBuilder.getSSLThumbPrint(HTMLClientExtensionBuilder.java:107)
at com.netapp.nvpf.container.vsphere.HTMLClientExtensionBuilder.build(HTMLClientExtensionBuilder.java:57)
at com.netapp.nvpf.container.vsphere.VSphereExtensionRegistrationManager$1.execute(VSphereExtensionRegistrationManager.java:182)
at org.apache.commons.collections.functors.ClosureTransformer.transform(ClosureTransformer.java:73)
at com.netapp.nvpf.container.vsphere.ServiceInstanceManager.withServiceInstance(ServiceInstanceManager.java:53)
at com.netapp.nvpf.container.vsphere.ServiceInstanceProvider.withServiceInstance(ServiceInstanceProvider.java:73)
at com.netapp.nvpf.container.vsphere.ServiceInstanceProvider.withServiceInstance(ServiceInstanceProvider.java:90)
at com.netapp.nvpf.container.vsphere.ServiceInstanceProvider.withAdminServiceInstance(ServiceInstanceProvider.java:219)
at com.netapp.nvpf.container.vsphere.ServiceInstanceProvider.withAdminServiceInstance(ServiceInstanceProvider.java:197)
at com.netapp.nvpf.container.vsphere.VSphereExtensionRegistrationManager.registerOrUpdateExtension(VSphereExtensionRegistrationManager.java:67)
at com.netapp.nvpf.container.vsphere.VSphereExtensionRegistrationManager.tryAndWarnExtensionRegistration(VSphereExtensionRegistrationManager.java:247)
at com.netapp.nvpf.container.vsphere.VSphereCredentialFileWatcher.onChange(VSphereCredentialFileWatcher.java:45)
at com.netapp.nvpf.container.vsphere.VSphereCredentialFileWatcher.checkForChange(VSphereCredentialFileWatcher.java:39)
at com.netapp.nvpf.container.vsphere.VSphereCredentialFileWatcher.run(VSphereCredentialFileWatcher.java:51)