HCX Network Profile creation fails with the "Unable to create Network Profile"
search cancel

HCX Network Profile creation fails with the "Unable to create Network Profile"

book

Article ID: 400898

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • The following error message is seen in HCX UI > Infrastructure > Interconnect > Network Profiles > Create Network Profile:
    "Unable to create Network Profile"


  • The following error message is seen in the log file /common/logs/admin/app.log:
    <timestamp> UTC [https-jsse-nio-8443-exec-1, Ent: HybridityAdmin, , TxId: TxId: ########-####-####-####-##########] INFO  c.v.h.n.v.NetworkValidationHandler- Validating with vCenterInstanceUuid : ########-####-####-####-##########
    <timestamp> UTC [https-jsse-nio-8443-exec-1, Ent: HybridityAdmin, , TxId: TxId: ########-####-####-####-##########] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet]- Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: NSX-T config was not found for VC uuid ########-####-####-####-##########] with root cause
    java.lang.RuntimeException: NSX-T config was not found for VC uuid ########-####-####-####-##########
    <timestamp> UTC [NSXService_SvcThread-428, Ent: HybridityAdmin, , TxId: ########-####-####-####-############] ERROR c.v.v.h.s.n.NsxTInventorySyncJob- Failed to update NsxT Inventory org.codehaus.jettison.json.JSONException: JSONObject["vcuuid"] not found.

     

  • The HCX Manager has NSX configured either Connector or a Cloud.

Cause

The current scenario can happen in two situations:

  1. The HCX Manager has a vCenter server configured in the HCX Appliance Manager configuration page that is not in the Computer Managers configuration page in the NSX Manager.
  2. The HCX Manager is configured with an NSX Global Manager instead of a Local Manager

Resolution

  1. Ensure that HCX Manager is properly connected to a vCenter that is also connected to the NSX Manager.
    NSX UI > System > Fabric > Compute Managers:


  2. NSX Global Managers are not supported in the HCX environment. Hence, configured the HCX Manager with the Local NSX Manager.

Additional Information