Validate Migration Task is failing with error "Unable to find a Service Mesh for the given placement details and services"
search cancel

Validate Migration Task is failing with error "Unable to find a Service Mesh for the given placement details and services"

book

Article ID: 378740

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • The following error is shown when validating migration task:

  • The following error message observed in the log /common/logs/admin/web.log:
    [https-jsse-nio-8443-exec-1, Ent: HybridityAdmin, , TxId: TxId: ########-####-####-####-############] ERROR c.v.v.h.m.v.CommonQuickValidationUtil- Error in evaluating source placement details reason: java.lang.RuntimeException: Unable to resolve compute details for VirtualMachine vm-731162
    [https-jsse-nio-8443-exec-1, Ent: HybridityAdmin, , TxId: TxId: ########-####-####-####-############]] ERROR c.v.h.i.util.InterconnectUtil- Unable to resolve compute details for VirtualMachine vm-731161
    org.codehaus.jettison.json.JSONException: JSONObject["resourcePool"] not found.
  • The VM that you are trying to migrate is located in a resource pool which does not have permissions:

Environment

HCX

Cause

The issue is caused due to lack of permissions for HCX Account to access the resource pool.

Resolution

Make sure that the resource pool where the VM resides has Administrator permissions for HCX user group.

  • Go to the resource pool
  • Select the user/group from Permissions tab
  • Click on Edit and change the role to Administrator: