Git Integration and Polyglot Scripting becomes unavailable & Workflows fails with Error "Wrapped java.lang.IllegalStateException: Polyglot scripting is not supported with the current license."
search cancel

Git Integration and Polyglot Scripting becomes unavailable & Workflows fails with Error "Wrapped java.lang.IllegalStateException: Polyglot scripting is not supported with the current license."

book

Article ID: 374571

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • After upgrading an Automation Orchestrator deployment, that uses an Advanced legacy license, access to advanced features such as Git integration and multi-language support is lost.
  • Running workflows in vRO produces the following error "Wrapped java.lang.IllegalStateException: Polyglot scripting is not supported with the current license." 
    Wrapped java.lang.IllegalStateException: Polyglot scripting is not supported with the current license. (Workflow:<Workflow Name> / <item name> (item1)#2)

  • The problem exists only in Aria Automation deployments entitled with an Advanced license.
  • vco logs show this error message:

    2024-10-10T18:05:26.754Z WARN vco [host='vco-app-<random>-<uid>' thread='licenseComplianceScheduler-1' user='' org='' trace=''] {} com.vmware.o11n.service.license.retriever.LicenseComplianceRetriever - Error occurred during license compliance retrieval.
  • Running below command you will see a Legacy vRealize or vCloud Automation license. 
    root@vrahostname [ ~ # vracli license
    Key                                                Product                                                Valid    Expiration    Error
    -----------------------------                   -------------------------------                     -------   ------------      -------
    XXXXX-XXXXX-XXXXX-XXXXX       VMware vCloud Automation Center   True


Environment

Aria Orchestrator 18.17.x, 8.18.0
vSphere 7.x subscribed to VMC for licensing

Cause

Aria Automation's Orchestration capabilities for Advanced licenses are mis-configured in 8.18.0 due to which Orchestrator licensing check process fails when vCenter does not return any vCenter assets assigned license before falling back to checking for the manual licensing.

Resolution

Resolution: This issue is resolved in VMware Aria Automation 8.18.1.
Follow either of the resolution:

  1. Use a vSphere instance for vSphere Authentication which has a valid license for the polyglot scripting feature assigned to the vCenter asset.
  2. Upgrade to 8.18.1 and assign a manual license which is valid for the polyglot scripting feature. 8.18.1 should no longer fail before falling back to checking the manually set license.

Workaround:

Prerequisites:
 1) Take simultaneous virtual machine snapshots without memory, with quiescing for each appliance in the cluster.
 2) You have access to root username and password.
 3) You have access to SSH utilities such as PuTTy.

Procedure:
 1) Download the file titled sr66285.tar.gz
 2) SSH into one appliance in the cluster.
 3) Upload this file to the appliance using a transfer utility such as WinSCP or an equivalent.
 4) Run the following command:
(tar -xvf sr66285.tar.gz -C /tmp && chmod a+x /tmp/66285-patch.sh && /tmp/66285-patch.sh); rm -f /tmp/66285-patch.sh
 5) Wait for 15 minutes for services to fully restart.
 6) Login to Aria Automation Orchestrator using a new browser session.
 7) Verify the issue is resolved by validating that Git Integration and Polyglot Scripting are now available.

Additional Information

 

 

Attachments

sr66285.tar.gz get_app