Error "Internal Server Error - Non elastic VDC cannot have VMs in non-primary hubs" when modifying VM configuration in VCD
search cancel

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.
    1. On the Provider Portal, Click on Resources tab
    2. Under Cloud Resources, click Organization VDCs
    3. Select the desired VDC, click Allocation 
    4. Click Edit, enable the toggle for "Elasticity"
  • Ensure that the "Make Allocation pool Organization VDCs elastic" option is enabled, as outlined below:
    1. On the Provider Portal, click on the Administration Tab.
    2. Under the Settings tab, click General.
    3. On the section for Other click the Edit button.
    4. Enable the toggle for Make Allocation Pool Organization VDC's elastic.
    5. Click Save.
    6. Wait for a few minutes for the new change to be applied.