If I register an extension with vCenter with version number 0.0.1 and then later upgrade it to 0.0.2, How can I revert back to the older version (0.0.1)? I ask this as we may sometimes we need to move back to an older version. I noticed that even after removing the extension completely from ExtensionManager, Virgo does not delete the downloaded plugin package from vc-packages folder. Upon registering the older version again, Virgo downloads the older package but uses the newer version. I see the following logs
[2015-01-13 19:07:57.716] [INFO ] vc-service-pool-342 com.vmware.vise.vim.extension.VcExtensionManager Downloading plugin package from https://10.12.60.241/plugin/<companyname>.zip (no proxy defined) [2015-01-13 19:07:58.702] [INFO ] vc-service-pool-342 com.vmware.vise.vim.extension.VcExtensionManager Done downloading plugin package from https://10.12.60.241/plugin/<companyname>.zip [2015-01-13 19:07:59.063] [INFO ] vc-service-pool-342 com.vmware.vise.vim.extension.VcExtensionManager Done expanding plugin package to C:\ProgramData\VMware\vSphere Web Client\vc-packages\vsphere-client-serenity\com.<companyname>-0.0.189015 [2015-01-13 19:07:59.081] [INFO ] vc-service-pool-342 com.vmware.vise.extensionfw.ExtensionManager Use the plugin package com.<companyname>:0.0.189107 instead of the older com.<companyname>:0.0.189015 [2015-01-13 19:07:59.081] [INFO ] vc-service-pool-342 com.vmware.vise.extensionfw.ExtensionManager Plugin package com.<companyname>:0.0.189107 is already added in ExtensionManager, skip.
The only way I see it happening is that we delete all packages from the vc-packages folder and restart the virgo server. Is there an alternative way?
Thanks,
Virat