HCX Network Profile creation failed with the error: "Unable to create Network Profile"
search cancel

HCX Network Profile creation failed with the error: "Unable to create Network Profile"

book

Article ID: 400898

calendar_today

Updated On: 06-16-2025

Products

VMware HCX

Issue/Introduction

Attempted to create a 'network profile', but returns an error: 'Unable to create Network Profile'

 

/common/logs/admin/ app.log

####-##-## ##:##:##.### UTC [NSXService_SvcThread-428, Ent: HybridityAdmin, , TxId: ########-####-####-####-0498da994156] 
ERROR c.v.v.h.s.n.NsxTInventorySyncJob- Failed to update NsxT Inventory
org.codehaus.jettison.json.JSONException: JSONObject["vcuuid"] not found.
        at org.codehaus.jettison.json.JSONObject.get(JSONObject.java:426)
        at org.codehaus.jettison.json.JSONObject.getString(JSONObject.java:562)
        at com.vmware.hybridity.adapters.nsxtransformers.NsxConfigurationBuilder.getVcUuidForNsxtUuid(NsxConfigurationBuilder.java:159)
        at com.vmware.vchs.hybridity.service.nsxservice.NsxTInventorySyncJob.fetchNsxtEntities(NsxTInventorySyncJob.java:353)
        at com.vmware.vchs.hybridity.service.nsxservice.NsxTInventorySyncJob.run(NsxTInventorySyncJob.java:115)
        at com.vmware.vchs.hybridity.messaging.LoggingJobWrapper.run(LoggingJobWrapper.java:41)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)

 

 

 

Environment

HCX

Cause

The NsxTInventorySyncJob failed to update the NSX-T inventory stored by HCX. 

Resolution

Removing the NSX entry from HCX Manager on-prem (https://hcx-ip-or-fqdn:9443) cleared the NSX-T inventory table from HCX DB.