[ ########-####-####-####-############ ] The entity <vApp Name> is in an invalid state for operation poweroff.This issue arises when the VM’s power state is manually changed directly in vCenter instead of being managed through the VCD interface. VCD relies on a synchronised database of VM states with vCenter. Changing the power state directly in vCenter creates a mismatch, leading to the "invalid state" error.
To resolve the issue, follow the steps below:
For example:
This behavior is by design to ensure data consistency between VCD and vCenter.
Always manage the power states of VMs that are part of vApps through the VCD interface.
Avoid making direct power state changes in vCenter for VMs managed by VCD.