VMware {code} Community
Srini3012
Contributor
Contributor

Plugin is not showing up in vcenter server appliance 6.0

Hi all...

I want to deploy my plugin on to vcenter server appliance 6.0. I am putting the plugin folder "packagename-version" in this path "/etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity/" but plugin is not showing up.

This plugin is working fine with vcenter server appliance 5.5. I have registered in MOB also.

In vcenter server appliance 6.0 if i register the plugin through MOB with proper web server credentials ,it downloads the package and extracts it,but not able to view the plugin when in vcenter.

Pls help

Regards

Srini

0 Kudos
11 Replies
laurentsd
VMware Employee
VMware Employee

Copying your plugin files to this internal path is not a solution.  If there is a problem during deployment the Virgo log should tell you what it is.  Search for your plugin package id and/or bundle names.

0 Kudos
Srini3012
Contributor
Contributor

I tried deploying through virgo also in my local development eclipse setup .It deploys successfully and i see no error logs.Also the same package is successfully deployed in vcenter server appliance 5.5.Wil check the error logs in vcenter server appliance also? But is there any other workaround?

Even the sample examples plugin is also unsuccessful in 6.0 and everything is fine in 5.5

0 Kudos
Peter_Ivanov
VMware Employee
VMware Employee

Hi Srini,

The following path


etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity/


is used by the web client to download the plugins that are registered in VC's extension manager.

First you should verify that your extension is actually there. Check the VC MOB. Let me know if you need more details on that.

As Laurent pointed out you should not copy anything manually to that folder.

However you can verify that after you login to the web client, your plugin will get automatically downloaded to that location. So you should start from there.

Then if your plugin appears in that folder, but still doesn't show up in the UI, then look for the web client server logs:

/storage/log/vmware/vsphere-client/logs/vsphere_client_virgo.log


There might be an exception while deploying your plugin.


0 Kudos
Srini3012
Contributor
Contributor

I have registered the plugin through MOB.I am putting the folder manually just for testing purpose,not for production,i just want to see the plugin in vcenter server appliance 6.0 in a system where there is no development environment.

0 Kudos
Peter_Ivanov
VMware Employee
VMware Employee

If you have registered correctly the plugin in the MOB it should be downloaded automatically by the Web Client into the same folder.

So please try this one:

  1. delete the folder you have created under   /etc/vmware/vsphere-client/vc-packages
  2. logout/login the web client
  3. check if your plugin is downloaded in   /etc/vmware/vsphere-client/vc-packages

If it is not there, then there is a problem with your MOB registration. Common mistake is to host the plugin on HTTP site (and not HTTPS).

Please let me know the results of the above steps. You can also attach the virgo log file for me to investigate.

0 Kudos
Srini3012
Contributor
Contributor

Thanks Laurents and Peter..

Had some permission denied issue,gave permission to the plugin folder and there was some error regarding the jar i had included,fixed that.

Its working now.Thank you

0 Kudos
Srini3012
Contributor
Contributor

Hi Laurents and Peter,

Is there any method to upload files to vcenter server appliance 6.0?

My goal is to keep the plugin .zip file in appliance itself,I have a python script which registers the plugin through MOB and the url to download the ".zip file",i wil give the appliance IP.

Is this the right approach ? I don't want to keep the zip file in some webserver as i want my plugin to work even without internet.

In near future ,i am also want to keep some vib files which i want to transfer to host through my plugin,for that case where should the vibs be kept?

0 Kudos
laurentsd
VMware Employee
VMware Employee

As a rule of thumb you are responsible for hosting your own data on some server.

The work-around for installing a plugin without a web server is documented in docs/SDK-Tutorial.html, see below.

Also, plugins can store local files as long as it they don't take too much disk space.  There is an example in the GlobalView sample, see getGlobalViewDataFolder() in GlobalServiceImpl.java for the proper location of plugin files.

Installation without a web server

The normal installation requires your plugin-package .zip file to be accessible from a web server. If this is not possible here is a work-around:

  • Define the vCenter extension data as described above but leave a dummy value for the url (it cannot be empty).
  • Have your installer program copy the plugin-package folder directly in the local cache vc-packages/vsphere-client-serenity/ (*)
    That folder name must be [extension-key]-[extension-version], for instance com.vmware.samples.globalview-6.0.0.543
    That folder must contain the plugin-package.xml file and the plugins sub-folder with .war and .jar files.
  • The dummy url won't be used because the plugin-package files already exist in the local cache.
0 Kudos
Srini3012
Contributor
Contributor

Thanks Peter ,there was no problem with MOB registration,it was something related to permission of the folder and some external jar dependency.Its working fine now.

Thank you

0 Kudos
Srini3012
Contributor
Contributor

Thanks Laurents , will give this a try.

Is there any installer that vmware recommends or any installer is fine? Any documentation in this regard would be helpful.

0 Kudos
pablocpw
Contributor
Contributor

Hi folks, verify that the permission for Administrator user is set under SolutionUsers Group.

It was the issue to my environment.

0 Kudos