Virtual Machines in a Partial or None status in VMware Aria Automation 8.18.x
search cancel

Virtual Machines in a Partial or None status in VMware Aria Automation 8.18.x

book

Article ID: 392196

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

In VMware Aria Automation 8.18.x, users may encounter an issue where the status of a virtual machine (VM) shows as "Partial" even though the VM is not present in vCenter. This typically occurs when a deployment involves multiple resources, including multiple virtual machines, associated disks, and networks, and the deployment fails for any  reason. In such cases, Aria Automation marks the VM's status as "Partial" despite its absence from vCenter.

For example, the following API response might be observed: 

  • To run and validate the deployment through the API, navigate to the Swagger UI:
    https://<your_FQDN>/automation/api-docs
  • The API you’ll be using belongs to the Deployment API section.
  • Use the following API /deployment/api/deployments/{deploymentId} and Replace {deploymentId} with your actual deployment ID.
"id": "5xxxd4c-1491-xxxxx8250d7f",
      "name": "Cloud_vSxxe_Machine_1:allocate:4xxxxx3a6a1",
      "type": "Cloud.vSphere.Machine",
      "properties": {
        "resourceName": "Cloxd_vSpxxe_Mxxchine_1-mcxxxx0"
      },
      "createdAt": "2xx5-03-1xT14xx0:1xxxZ",
      "origin": "DEPLOYED",
      "dependsOn": [
        "Cloxx_vSpherxxrk_1"
      ],
      "state": "PARTIAL"
    },

Environment

Aria Automation 8.18.x

Cause

This behavior occurs when a deployment involves multiple resources, such as multiple virtual machines, disks, and networks. If the deployment fails for any reason, some resources may be created while others remain in a pending state. As a result, Aria Automation marks the deployment status as "Partial" because not all resources were successfully provisioned.

Resolution

This is an expected behavior in Aria Automation. Broadcom Engineering team is aware of this issue and is actively working on a fix for future releases.

If you wish to safely remove such deployments, you can confirm the status of the virtual machines via the API. You can use the following API in the Swagger UI to verify whether the VM is present in vCenter:

https://VRA_FQDN/deployment/api/deployments/{deploymentId}/resources/{resourceId}

With the deployment ID and resource ID, you can check the status of the VM using the above API,  and confirm  it manually on vCenter . If the VM is not found, you can proceed with safely removing the deployment from Aria Automation.

Additional Information

While encountering VMs with a "Partial" status in Aria Automation is expected behavior during failed deployments, you can rely on the API to confirm the presence of resources in vCenter and take appropriate actions for removal.

For further assistance, please refer to the official VMware Aria Automation documentation or contact Broadcom support.

https://techdocs.broadcom.com/us/en/vmware-cis/aria/aria-automation/8-18/aria-automation-api-programming-guide-on-prem-8-18.html