Any workflow in Aria Orchestrator that involves vCenter operations fails with the Error: "TypeError: Cannot read property 'id' from undefined."
search cancel

Any workflow in Aria Orchestrator that involves vCenter operations fails with the Error: "TypeError: Cannot read property 'id' from undefined."

book

Article ID: 392016

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • The workflow fails with the following error:

    • TypeError: Cannot read property "id" from undefined

  • The workflow, which previously executed successfully, started failing after a decommissioned vCenter instance was referenced

Environment

  • Aria Automation 8.x

  • Aria Orchestrator 8.x

Cause

  • The workflow error is caused by lingering deployments associated with the decommissioned vCenter server

  • Even though the vCenter was removed from Assembler > Infrastructure > Connections > Cloud Accounts and Assembler > Infrastructure > Configure > Cloud Zones, instances of the decommissioned vCenter remained in active deployments

  • The workflow attempts to access properties (specifically, "id") of the decommissioned vCenter, which are no longer available, leading to the "undefined" error

Resolution

  • Identify Deployments: In Service Broker, navigate to Deployments and filter by Cloud Accounts to locate deployments associated with the decommissioned vCenter

  • Delete Deployments: Delete all deployments that reference the decommissioned vCenter

  • Rerun Workflow: Rerun the custom workflow

Additional Information