Adding Log Management pre-check failed with result status: Failed for ResourcePool:resgroup
search cancel

Adding Log Management pre-check failed with result status: Failed for ResourcePool:resgroup

book

Article ID: 452575

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

Adding Log Management component failed with below error in the task pane:
Platform Health Check. Status: FAILED Platform Health Check Error [platform-vmsp-platform-validate-resources-vsphere-resources : unable to validate vSphere objects: unable to resolve resourcePool identifier ResourcePool:resgroup-#####: ServerFaultCode: The object 'vim.ResourcePool:resgroup-#####' has already been deleted or has not been completely created] [VCFMS-HEALTH-002]

Verified that the expected resource pool for service runtime is missing from vCenter.


Environment

  • VCF Operations 9.1.x
  • Log Management 9.1.x

Cause

The specific resource pool referenced by the vmsp control plane was missing or had been deleted from the vCenter inventory.

Resolution

To resolve the issue manually recreate the missing resource pool in the vCenter cluster and update the same within the vmsp-platform.

  1. Log in to the VMSP control plane as vmware-system-user and switch to the root user.
    sudo -i
  2. Check the existing configuration to review the current resource pool details by running the following command:
    kubectl get pd -n vmsp-platform -o yaml
  3. Edit the pd configuration to update the Resource Pool and the Resource Pool ID in the vmsp yaml file to strictly match the new Resource Pool from vCenter by running the following command:
    kubectl edit pd -n vmsp-platform

  4. Save the configuration and the pd service gets restarts automatically when the yaml file is saved.
  5. Retry the Log Management adding task.