Error "ValidationException DELETE_HUB_CONTAINING_VMS" when detaching the cluster resource pool from PvDC
search cancel

Error "ValidationException DELETE_HUB_CONTAINING_VMS" when detaching the cluster resource pool from PvDC

book

Article ID: 377240

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Unable to detach resource pool from PvDC

         Error: "ValidationException DELETE_HUB_CONTAINING_VMS"

  • From the /opt/vmware/vcloud-director/logs/vcloud-container-debug.log, the following entries are seen: 

    20##-##-## 13:06:42,184 | ERROR | task-service-activity-pool-21 | ComputeHubSetImpl | Cannot remove compute hub moref://d8e0####-####-####-####-########8095/ResourcePool#resgroup-####### containing VMs. Evacuate all VMs on this hub and try again. | requestId=53f0####-####-####-####-                          ######3abcaa,request=POST <vcd url>/api/admin/extension/providervdc/f21f####-####-####-####-########a762/##

Environment

VMware Cloud Director 10.x

Cause

This issue occurs because of stale VM entries attached to that resource pool in the Cloud Director database which prevents the deletion of the resource pool.

Resolution

This is a known issue which can affect all versions of VMware Cloud Director.

Workaround:

Contact technical support and note this Knowledge Article ID (377240) in the problem description. For more information, see How to Submit a Support Request