Unable to get HCX version information via API "<hcx-mgr ip/fqdn>/api/admin/global/config/hcx"
search cancel

Unable to get HCX version information via API "<hcx-mgr ip/fqdn>/api/admin/global/config/hcx"

book

Article ID: 407953

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • The following HCX Appliance Management APIs are currently failing with 404 error code.
    /api/admin/global/config/vcenter
    
    /api/admin/global/config/nsx
    
    ​/api​/admin​/global​/config​/hcx

 

Environment

VMware HCX

Cause

  • These HCX APIs are not consumed by HCX-MGR 4.11.x. 

Resolution

  • Use the following POST API to gather HCX/NSX/vCenter version information instead.
    curl "<source/target HCX MGR FQDN/IP>/hybridity/api/service/inventory/cloud/list" 
      -H "Accept: application/json" 
      -H "Content-Type: application/json" 
      -H "x-hm-authorization: <X-HM AUTH TOKEN" 
      --data-raw "{"filter":{"cloud":{"remote":true,"local":true}}}"

 

Additional Information