"Machine already belongs to a deployment" failure when trying to onboard machines in Aria Automation
book
Article ID: 314703
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
Symptoms:
When attempting to onboard machines in Aria Automation you get error:
Machine [<VMNAME1>] already belongs to a deployment. Machine [<VMNAME2>] already belongs to a deployment.
Error : "Onboard process failed. Review your resources and try onboarding again."
Under Cloud Assembly > Resources > Virtual Machines the machines do not show as 'Managed' or 'Deployed' but rather as 'Discovered' machines.
No Deployment appears to have them as resources in the Aria Automation UI.
When you create the Onboarding plan, create a deployment, the machines to be onboarded are not found
Environment
VMware Aria Automation 8.x
Cause
This can happen if the VM is still tied to the onboarding plan and needs a cleanup.
Resolution
To resolve the issue, clean up the machine's custom properties via Orchestrator workflow to ensure there are no references to a deployment:
Prerequisites:
You have backups of the VMware Aria Automation 8.x appliance(s).
You must back up all VMware Aria Automation appliances at the same time — simultaneously for all nodes.
If you are making the snapshots manually, you must start the snapshots of the second and third node no more than 40 seconds after you start the snapshots for the first node.
When you back up the VMware Aria Automation appliance, disable in-memory snapshots and enable quiescing (quiescing is a requirement only for version 8.9 and newer).
Procedure: Remove the stale entries using the Orchestrator workflow:
1. Download the code.vmware.kb.346013.unregister.vm.minimal.package package file.
Attached to KB.
2. Import in to Orchestrator, populate the 'config' configuration element with required values. Note: binding to configuration element may have to be set manually using bind to configuration option
3. Fill in the appropriate information to execute the workflow.