Automation Orchestrator actions fail when trying to deploy VMs with runtime python:3.10 is not supported
search cancel

Automation Orchestrator actions fail when trying to deploy VMs with runtime python:3.10 is not supported

book

Article ID: 374609

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

In Aria Automation version 8.17.0 and later, users may encounter an issue when attempting to deploy virtual machines using a Python library within Aria Automation. The error message displayed is:

ERROR: Could not find a version that satisfies the requirement "library name"=="x.x.x" (from versions: none)
ERROR: No matching distribution found for "library name"=="x.x.x"

Environment

Aria Automation 8.17

Resolution

To resolve the issue, follow these steps:

  1. Access the vCO Pod:

    Run the following command in VRA:

    kubectl -n prelude exec -it $(kubectl get pod -n prelude -l app=vco-app -o jsonpath="{.items[0].metadata.name}") -c vco-polyglot-runner -- bash
  2. Run Docker Command:

    Execute the Docker command to start a container with the appropriate Python runtime:

    docker run --rm -it --entrypoint /bin/bash --network host vmware/vco-polyglot-python:3.10.11
  3. Update Repository URL:

    Modify the repository URL in your environment configuration to point to your third-party repository. 

    https://'ThirdPartyRepoURL'/repository/pypi-common-hosted/simple/ --trusted-host 'ThirdPartyRepoURL' --extra-index-url https://pypi.org/simple/

Note: Ensure that you replace 'ThirdPartyRepoURL' with the actual URL provided by your third-party repository.