"Unable to create Network Profile" error in HCX 9.0
search cancel

"Unable to create Network Profile" error in HCX 9.0

book

Article ID: 419215

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • You are trying to create a Network Profile and the following error is displayed: "Unable to create Network Profile"
  • The following error is observed in /common/logs/admin/app.log
    <timestamps> UTC [NSXService_SvcThread-41, Ent: HybridityAdmin, , TxId: ########-####-####-####-########] ERROR c.v.v.h.s.n.NsxTInventorySyncJob- Error while syncing the segments. Failed NSX-T request : {
     "url": "https://<NSX-IP/FQDN>/policy/api/v1/infra/segments",
     "method": "GET"
    }
    Got response : {
     "status": "failure",
     "statusCode": 403,
     "details": "",
     "result": {
        "httpStatus": "FORBIDDEN",
        "error_code": 401,
        "module_name": "common-services",
        "error_message": "User is not authorized to perform this operation on the application. Please contact the system administrator to get access."
     }
    }
    <timestamps> UTC [NSXService_SvcThread-41, 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.

Environment

VMware HCX 9.0

Cause

The user registered for NSX on the HCX Management appliance (https://<hcx-manager>:9443) does not have the right permissions.

Resolution

Grant the correct permissions to the NSX user registered on the HCX appliance management interface at <https://hcx-ip-or-fqdn:9443>.

Additional Information

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