puneeth-sai
Contributor
Contributor

Unable to deploy sample remote plugin for the vSphere Client (plugin does not appear in vSphere cli)

I tried to deploy sample remote plugin for vSphere Client as they provided sample in  vsphere-client-sdk. It got registered successfully to vCenter. But the plug-in does not appear in the vSphere Client.

versions I used :

vSphere Client version 7.0.2.00000
sdk : vsphere-client-sdk-7.0.2.00000

 

And checked the logs and found below error :

Updated extensions: com.vmware.sample.remote:1.0.0
Deleted extensions: none
[2022-02-16T05:08:04.074Z] [ERROR] plugin-discovery-bus-thread com.vmware.vise.vim.extension.discovery.VcPackagesDiscoverer Error creating a VcRemotePluginPackageInfo from extension with id com.vmware.sample.remote:1.0.0. The passed extension didn't contain valid data java.lang.IllegalArgumentException: The specified thumbprint 555db10de0333e10ab1ef4866261f07f93fef69b for extension with key com.vmware.sample.remote, version 1.0.0 was not produced with any of the allowed algorithms [SHA-1, SHA-256].
at com.vmware.vise.vim.extension.discovery.VcPackagesDiscoverer.populatePackageInfo(VcPackagesDiscoverer.java:345)
at com.vmware.vise.vim.extension.discovery.VcPackagesDiscoverer.buildRemotePackage(VcPackagesDiscoverer.java:264)
at com.vmware.vise.vim.extension.discovery.VcPackagesDiscoverer.buildDiscoveredVcPackages(VcPackagesDiscoverer.java:223)
at com.vmware.vise.vim.extension.VcExtensionManager.handleExtensionUpdate(VcExtensionManager.java:406)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:87)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:144)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:72)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

It would be helpful If i get any help.

Screen shots are attached below.

Reply
0 Kudos
stoevm
VMware Employee
VMware Employee

Hi puneeth-sai

The thumbprint must be in a colon separated format. 
Namely the thumbprint that you provided 

555db10de0333e10ab1ef4866261f07f93fef69b 

should look like this 

55:5D:B1:0D:E0:33:3E:10:AB:1E:F4:86:62:61:F0:7F:93:FE:F6:9B

Reply
0 Kudos
maxx232
Contributor
Contributor

I have a similar problem. But Thumbprint is spelled correctly
vSphere Client version 
7.0.3.00700
sdk : vsphere-client-sdk-7.0.3.00000

'

./extension-registration.sh -action registerPlugin --key com.pmc.maxview.maxviewvsphere -url https://vsphere.local/sdk --username administrator@vsphere.local -password 124fgh --version 1.0.0 --vcenterServerThumbprint C8:A0:24:39:B7:10:E1:F9:7B:87:E0:F5:36:AA:C4:48:98:17:EE:82 --pluginUrl https://vsphere.local/catalog/maxView-plugin.zip -serverThumbprint serverThumbprint
'

Reply
0 Kudos
maxx232
Contributor
Contributor

Sorry.
I realized that serverThumbprint is not specified.
Everything is working

Reply
0 Kudos