After upgrading VMware Cloud Director to version 10.6.0.1, the following behavior is observed:
/opt/vmware/vcloud-director/logs/vcloud-container-debug.log
file when the VM power-on task fails:Internal Server Error - Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.vmware.vcloud.fabric.compute.model.VRPModel########-####-####-#########]
VMware Cloud Director 10.6.0.1
The operation fails due to a StaleObjectStateException when attempting to add the missing resource pool during the VM power-on process.
This is a known issue affecting VMware Cloud Director version 10.6.0.1.
This issue has been fixed in VMware Cloud Director version 10.6.1 version that can be downloaded on Broadcom Download Portal
Workaround:
1) Log in to the VMware Cloud Director Provider portal.
2) Navigate to Organization VDCs under Resources.
3) Select the VDC where the VMs are failing to power on.
4) In the left panel, click Allocation and then select Edit.
5) Choose one of the following options:
6) Save the changes.
7) Once the settings are updated, go to the VMware Cloud Director tenant portal and try powering on the VM again.