vRO vCenter Server plug-in for vSphere 7.0 service releases - Technical preview

vRO vCenter Server plug-in for vSphere 7.0 service releases - Technical preview

Summary

This is a drop-in replacement of the implementation of the vCenter Server plug-in for vRealize Orchestrator

This technical preview plugin implementation is designed to be compatible with vCenter Server 7.0 API

Plugin versioning and interoperability with vSphere vCenter servers

  • The plugin core functionality (connectivity, inventory) is compatible with vSphere with version 5.5 and above.
  • vSphere API version exposed in the scripting API is 7.0
    • That means that all API methods, properties and types introduced in vSphere 7.0 are made available to vRO scripting content developers and will work if supported by the vSphere server product. For convenience in this new version of the plugin all the methods and properties are annotated in their description (visible in vso.xml and API explorer ) with version tag, e.g '@since vSphere API 5.5'


Interoperability with vRO

The plugin is compatible with vRO version 7.3 and newer.

Install procedure

Few of the workflows are changed to reflect the minor incompatible changes in the API, so these will be overwritten during install.
The plugin can be installed in the standard way

Previously released versions (newest at the bottom)

Version 6.5.0.5817435

  • Fixing in bulk fetching of objects based on queries - plugin factory 'findAll' method now uses default set of properties to be pre-loaded
  • Fixes in 'Convert independent disks' workflow

Version 6.5.0.6216831

  • Fixes in construction of instances of scripting types based on VLSI basic types , e.g - VcKeyAnyValue'
  • Fixes in 'data' objects serialization process

Version 6.5.0.6374976

  • Fixes in vlsi client resources finalization to prevent leaking of vlsi monitoring threads

Version 6.5.0.6471915

  • Fixes in deserialization of 'Any' attributes, causing failures in "Clone, Windows with single NIC and Credentials" and dependent workflows

Version 6.5.0.7037717

  • Rest API query specifications implementation moved to plugin, resulting in performance improvements in case such a query is used (XaaS Blueprint forms etc.)

Version 6.5.0.7208762

  • Additional fixes to plugin's Rest API query specifications implementation

Version 6.5.0.7720419

  • Fixes in the Object fetching functionality
  • Update VMODL definitions for the plugin with a newer version
  • Fixing compatibility issues with vRO 7.3
  • Fixing Malformed URI exception when executing the workflow "Get virtual machines by name with PC"

Version 6.5.0.9407750

  • VcKeyAnyValue issue with values of type array of string

Version 6.5.0.10376265 (VMC fix - KB 59459)

  • Fixes in cache update logic
  • Fixes in connection validation against newer versions of vSphere servers
  • Enable explicit preloading of properties for set of managed objects

Version 6.5.0.11809518

  • Fixes in  reconnection logic to vSphere servers in case of restart

Version 6.5.0-12316907 (built 2019-02-14)

  • Adds CertificateManager to the management objects available in the plug-in. You can access it through:
    var certManager = sdkConnection.certificateManager;

Version 6.5.0.

  • Extending logging in 'Copy file to Guest' functionality

Version 6.5.0-13863019 (built 2019-05-29)

  • Maintenance thread causes memory leak
  • Performance improvements - plugin finders now load all the needed properties. This improves the loading of multiple object used as output parameters

Version 6.5.0-14070255 (built 2019-07-02)

  • Fixes in the 'Copy file from/to Guest' connection establishment (PKIX failures)

Version 6.5.0-14137330 (built 2019-07-11)

  • Fixed serialization of non-findable plugin objects (e.g. VcAlarmState, SnapshotInfo, etc) into workflow attributes
  • Fixed a possible NullPointerException when old vm snapshots are removed along with child snapshots

Version 6.5.0-14534446 (built 2019-08-30)

  • Skipping non-existing values when converting Method name values received from the Property Collector
  • Fixing problems with maintaining sessions when the number of vCenter servers is greater than 25
  • Fixing memory leaks

Version 6.5.0-15013492 (built 2019-11-04)

  • Fixed "cert parameter is required" error in "Register vCenter Orchestrator as a vCenter Server extension" workflow for vRO 8.0

Version 6.5.0-15225986 (built 2019-12-03)

  • Compatibility with vSphere 6.7u3 API

Version 6.5.0-15464295 (built 2020-01-15)

  • Fixed problem with caching of hosts in ESXi cluster

Version 6.5.0-16613969 (built 2020-07-21)

  • Fixed compatibility with VMC M11 release (June 2020 release)

Version 6.5.0-16904859 (built 2020-09-16)

  • Fixed issue loading endpoint configurations when there is issue in one of them
  • Fixed workflow Remove old snapshots to ignore erroneous ESX hosts

Technical preview version with 7.0

Version 7.0.0-18048864 (built 2021-05-19)

  • Added support for vSphere 7.0 API. Now plugin exposes scripting SDK with vSphere 7.0 API. Support for vSphere 6.7 API is included.

Version 7.0.0-18331293 (built 2021-07-16)

  • List NSX networks in plugin's inventory

Version 7.0.0-18362600 (built 2021-07-22)

  • Fix regression in getRelocateSpec action (minor)

 

Attachments
Comments

Whats new with this update today?

Never mind I see your message in this thread now Re: Orchestrator 7.2 to 7.3 upgrade breaks some scripting

I updated my VC plugin to the latest version o11nplugin-vsphere-6.5.0-7646854.vmoapp.zip and it breaks the VC plugin. My vCenter inventory is gone and if I try to add it back I get:

Add a vCenter Server instance/item3', state: 'failed', business state: 'Connection validation failed', exception: 'ReferenceError: "VcPlugin" is not defined. (Workflow:Add a vCenter Server instance / Validate (item2)#1)'

workflow: 'Add a vCenter Server instance' (f246b7b5-fe89-4da5-a640-36ffc6874069)

|  'attribute': name=hostAndPort type=string value=vcenter-1.purecloud.com:443

|  'attribute': name=errorCode type=string value=ReferenceError: "VcPlugin" is not defined. (Workflow:Add a vCenter Server instance / Validate (item2)#1)

|  'attribute': name=serviceUrls type=Array/string value=#{#string#vcenter-1.purecloud.com:443#;#string#https://vcenter-1.purecloud.com:443/pbm#;#string#https://vcenter-1.purecloud.com:443/sms/sdk#}#

|  'attribute': name=certificateImportException type=string value=

|  'input': name=enabled type=boolean value=true

|  'input': name=host type=string value=vcenter-1.purecloud.com

|  'input': name=port type=number value=443

|  'input': name=path type=string value=/sdk

|  'input': name=sessionPerUser type=boolean value=false

|  'input': name=userName type=string value=cody

|  'input': name=password type=SecureString value=__NULL__

|  'input': name=domain type=string value=

|  'input': name=ignoreCertificateWarnings type=boolean value=true

|  'input': name=httpPort type=number value=null

|  'input': name=pbmUrl type=string value=https://vcenter-1.purecloud.com:443/pbm

|  'input': name=smsUrl type=string value=https://vcenter-1.purecloud.com:443/sms/sdk

|  'output': name=newInstance type=VC:SdkConnection value=null

*** End of execution stack.

I used vRO 7.3. I tried deploying a new vRO and upgraded to this plugin and got the same result.

Is there something required beyond a simple upload and restart to get this working? Thanks!

It look like we have an issue with compatibility of new builds with  vRo 7.3 platform. I removed the problem version from this page. We are working on a fix.

Awesome, thanks!

Hi, i have vRO 7.3.1 and imported some workflows from a 7.2 installation i have. The vCenter i have is 6.5 U2 6.5.0.20000 Build 9451637  and current vCenter plugin is VC 6.5.0.7720419. I notice some odd behaviours, just not all the time or not against all VMs, for example, if i try to run action to getVmGuestFamily i get a Timeout waiting for getting VM Guest Family on a running OS for a particular VM, but not all. I thought it was a problem with the VM but it shows running VMtools and is started. Also i see odd behaviour when for example quering VMtools state.  Do you know if there is any documented issue with vRO 7.3.1 and/or vCenter plugin is VC 6.5.0.7720419?

VMC customers with vRA/vRO 7.3 - 7.5 should use plugin #10376265 or newer

We are running vRO 7.4 and connecting to vCenter 6.7 update 2, is this plugin compatible vCenter 6.7's?

Yes, just used it to connect with vCenter 6.7u2a.

Hi

I have cloud foundation which has been upgraded to 3.7.2

I have used this to deploy vRealize Automation in its load balanced manner successfully.

vRA is 7.5 and vCenter Server 6.7 Update 2a

However using the catalogue to do the initial setup to deploy the vCenter vRealize Orchestration Plugin.

I have tried replacing the vro-plugin.zip with both the o11nplugin-vsphere-6.5.0-13863019.vmoapp.zip and vco-plugin-7.4.0.13701555 in /usr/lib/vro/downloads by stopping the vro-service service replacing and renaming the zip with permission/owners and starting the vro-server.

Then tried doing the initial setup but it still fails with the error:

(unusable: com.vmware.vim.vmomi.client.exception.VmomiProtocolException: com.vmware.vim.vmomi.core.exception.UnmarshallException: Type 'ServiceContent' contains unrecognized property 'siteInfoManager')

Hi

I have cloud foundation which has been upgraded to 3.7.2

I have used this to deploy vRealize Automation in its load balanced manner successfully.

vRA is 7.5 and vCenter Server 6.7 Update 2a

However using the catalogue to do the initial setup to deploy the vCenter vRealize Orchestration Plugin.

I have tried replacing the vro-plugin.zip with both the o11nplugin-vsphere-6.5.0-13863019.vmoapp.zip and vco-plugin-7.4.0.13701555 in /usr/lib/vro/downloads by stopping the vro-service service replacing and renaming the zip with permission/owners and starting the vro-server.

Then tried doing the initial setup but it still fails with the error:

(unusable: com.vmware.vim.vmomi.client.exception.VmomiProtocolException: com.vmware.vim.vmomi.core.exception.UnmarshallException: Type 'ServiceContent' contains unrecognized property 'siteInfoManager')

I tried to configure vRA/vRO 7.5 with VCSA 6.7 U2 and I got this error "com.vmware.vim.vmomi.core.exception.UnmarshallException: Type 'ServiceContent' contains unrecognized property 'storageQueryManager'". When I updated to version 6.5.0-14070255 just worked. Thank you!

I have the same issue.  I have been trying, for the past 2 days, to find a resolution.  When you say that you upgraded to version 6.5.0-14070225, what exactly did you upgrade and how?  Thanks!!

VCSA 6.7u2
vRA/vRO 7.5

vROps 7.0.0

to upgrade the plugin

download the plugin and unzip it

you need to go to your vRealize orchestrator control center

URL is https://orchestratorservername.domain.net:8283/vco-controlcenter

login as root

click manage plugins

browse to the plugin you downloaded and unzipped

and click upload

wait for the services to restart

you should have installed a proxy agent on one of the IIS servers - Install the vSphere Agent

the endpoint name you set in procedure above need to match the endpoint name you specify if using vRA either vCenter or the vCenter hostname generally.

you can then run a orchestrator workflow to connect to vSphere

vco > workflows > library > vCenter > configuration > Add a vCenter Server Instance (generally select no for the session question).

vco > workflows > library > vCenter > configuration > Register vCenter Orchestrator as a vCenter Server extension

you should then be able to see the connection in:

vco > inventory > vSphere vCenter Plug-in

Absolutely brilliant.  It corrected the issue.  Thank you so much!!! 

Hello islavov,

Is it possible to have release dates of vCenter plug-in we can see on this page?

Thanks in advance Smiley Wink

Hey all,

anyone able to set the VBS option for VMs?

Still missing the "configSpec.flags.vbsEnabled" option.

Thanks in advance

Hi,

If I'm not mistaken, 'vbsEnabled' property was added in vSphere 6.7 API, but vRO vCenter plug-in is built against vSphere 6.5 API level, which means it doesn't support the features that came with API version 6.7. So you have to wait until there is an updated  plug-in supporting API version 6.7.

Hi Boda201110141,

Have you found a way to implement the vbs flag througth an orchestrator workflow?

The only way I found was to use powershell, I also had to create a module to execute the powershell remotely to avoid kerberos duble hop, sinceI also need to copy windows patches from our share to the vms, you can check it here: https://communities.vmware.com/thread/634794

Can you please share if you found a way of setting the option directly througth an workflow.

Thanks.

Maybe I'm missing something, but where is the actual site for Plugin-Download?

It is here. Had some issues uploading the file.

Just to verify, this is compatible with vRA 7.5 / vRO 7.5?  And how come none of the plugins show up on the compatibility matrix?

VMware Compatibility Guide - vco

Thank you, I was able to download.

for two hours I tried to register and... see this &%ç*"%*ç plugin in my vsphere client (flex) version 6.5 U2 from an vRO 8.1.... NO chance,... nothing

I downloaded/uploaded it to data/usr/lib/vco/downloads, check the chmod.... then try to register vco as extension (what is the "External address to advertise this Orchestrator." I have no F***** idea Smiley Happy) I tried with the fqdn of my vRO server, with port, without port, without putting ANY external adresses.... Try to restart the vRO appliance, my vcsa,... both,.... NOTHING HAPPEND!!!!! it didn't download this plugin to /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity .... close to uninstall it and try to find another "orchestrator software....

so if someone has a "GOOD" documentation step-by-step to register this extension and get this plugin inside flexclient work.... you will become my best friend....

I think you're confusing this plugin with another one. This plugin is only for vro and allows you to add a vcenter to vro. It does not expose vro in vcenter to run workflows within vcenter. You might be looking for one of these:

Technical Preview of Orchestrator plug-in for vSphere Web Client

or for the html5 client in 6.7:

vRealize Orchestrator Plug-in for vSphere Client - Beta

So which one of these allows VCO7.6 to support connections to vCenter 7.0? I was told that 6.5.0-16904859 does the trick, but I'm skeptical given that none of its bullet points explicitly call this out.

I think I was the one who pointed you here and I believe the fix was applied here:

 

Version 6.5.0-15225986 (built 2019-12-03)

  • Compatibility with vSphere 6.7u3 API

I can confirm it works... no need to be skeptical.  

Has there been an update to allow connection to vCenter 7.0 ? I keep getting the following error connecting to a 7.0 vCenter:

 

unusable: java.lang.RuntimeException: Incorrect type of token class com.vmware.o11n.security.auth.sso.oauth.ExtendedOAuthToken. Please ensure vRO is configured with vSphere authentication

to allow connection to vCenter 7.0 an Upgrade to vRO 8.3 worked for me. 

Plugin Version: 6.5.0.17494695

I had to re-register Vcenter as Authentication Provider

The plugin in version 6.5.0.16904859 allows vRO 7.6 to connect with vCenter 7.0, at least up until verison 7.0.1 build-16858589, which was what I could test with.

Better documentation is definetly the thing needed here, how is anyone supposed to know this can work with the inconsistent versioning and lack of documentation updates??

Could the latest 6.5 build be left attached to this page (As the 6.5 builds have worked with vRO back to 7.3 version) ?

Does Version 7.0.0-18048864 (built 2021-05-19) work on vRO 7.3?

Unfortunately it is not possible to have two binaries  attached. We are working on publishing the latest 6.5 version in marketplace. This version has been verified on vRO 7.5. vRO 7.3 is EOL.

Version history
Revision #:
6 of 6
Last update:
‎07-26-2021 09:23 AM
Updated by: