Error "Internal Server Error - Non elastic VDC cannot have VMs in non-primary hubs" when modifying VM configuration in VCD
book
Article ID: 402394
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
"Internal Server Error - Non elastic VDC cannot have VMs in non-primary hubs" error occurs during the following tasks when the Organization VDC includes more than one resource pool:
Modifying VM configuration, such as the VM description
Powering on or off the VM
Environment
VMware Cloud Director 10.x
Cause
An Organization VDC cannot use the resources in both/multiple clusters when the elastic setting is disabled.
Resolution
Enable the Organization VDC's elasticity in the "Allocation Model" section of the "Allocation" tab. Once the elasticity setting for the Organization VDC is enabled, the VM should be managed properly in VCD.
On the Provider Portal, Click on Resources tab
Under Cloud Resources, click Organization VDCs
Select the desired VDC, click Allocation
Click Edit, enable the toggle for "Elasticity"
Ensure that the "Make Allocation pool Organization VDCs elastic" option is enabled, as outlined below:
On the Provider Portal, click on the Administration Tab.
Under the Settings tab, click General.
On the section for Other click the Edit button.
Enable the toggle for Make Allocation Pool Organization VDC's elastic.
Click Save.
Wait for a few minutes for the new change to be applied.