Editing or creating a Source "Network/Compute Profile" throws an error "NSX-T config was not found for VC uuid <vCenter-id>" or "JSONObject["vcUrl"] not found" - HCX
search cancel

Editing or creating a Source "Network/Compute Profile" throws an error "NSX-T config was not found for VC uuid <vCenter-id>" or "JSONObject["vcUrl"] not found" - HCX

book

Article ID: 406808

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • Unable to edit the "Network Profile" in Source HCX UI. Editing it throws an error "NSX-T config was not found for VC uuid <vCenter-id>"

  • Unable to create a "Compute Profile" where Pre-deployment Validation fails with error "Unable to generate connection rules. JSONObject["vcUrl"] not found"

  • NSX is registered with Source HCX in admin page i.e. <https://<hcx-ip>:9443

  • Review of the HCX app.log confirms the following specific error signatures during the task execution:

    • java.lang.RuntimeException: NSX-T config was not found for VC uuid ########-####-####-####-##########

    • JSONException: JSONObject["vcUrl"] not found

Environment

VMware HCX 4.11.x

VMware HCX 9.1.1

Cause

This error occurs when there is no NSX Manager installed on the source/on-premises environment, but an NSX Manager is incorrectly registered with the source/on-premises HCX Manager in the admin page.

Resolution

  1. Log in to the HCX Appliance Management interface at https://<HCX-IP>:9443 using the admin credentials.

  2. Locate the NSX section and click Delete to remove the current NSX registration

    Note: This does not delete any configurations in NSX itself; it only removes the registration link in HCX

  3. Navigate to the Services tab (or Troubleshooting > Service Actions)

  4. Service restart sequence for 4.11.x is as follows (Wait for each service to return to a "Running" state.):

    • Click STOP on the three (3) HCX Services in the following order:

      1. Web Service

      2. Migration Planning Service

      3. Application Service

    • Click START on the three (3) HCX Services in the following order:

      1. Application Service

      2. Migration Planning Service

      3. Web Service

  5. Service restart sequence for 9.1.1 is as follows (Wait for each service to return to a "Running" state.):

    • Click STOP on the three (3) HCX Services in the following order:

      1. Migration Planning Service

      2. Web Service

      3. Application Service

    • Click START on the three (3) HCX Services in the following order:

      1. Application Service

      2. Web Service (Should automatically trigger a start on the Migration Planning Service)

      3. Migration Planning Service

  6. If the environment requires NSX integration, return to the Configuration tab and re-register the NSX Manager

    • Best Practice: Always use the Fully Qualified Domain Name (FQDN) of the NSX Manager rather than the IP address to ensure certificate and UUID alignment

  7. Log in to the standard HCX User Interface (https://<HCX-IP>)

  8. Navigate to Infrastructure > Interconnect > Network Profiles/Compute Profiles

  9. Retry the previously failed workflow

Additional Information