HTTP 500 error when changing SSO domain in VMware HCX
search cancel

HTTP 500 error when changing SSO domain in VMware HCX

book

Article ID: 432581

calendar_today

Updated On:

Products

VMware HCX VMware vSphere ESXi

Issue/Introduction

  • When attempting to change the default SSO domain from vsphere.local\Administrators to example.com\Administrators in the HCX UI, the operation fails with the following banner error:
    Http failure response for https://<HCX-Manager-FQDN>:9443/api/admin/global/config/roleMappings: 500 OK

  • In the HCX_UI when logged in as admin under Configuration --> vCenter Server -> vCenter.example.com is configured while in Configuration --> SSO --> psc.example.com is configured 
  • HCX Manager : /common/logs/appliance-management/appliance-management.log , in the below snippet you would see the FQDN of  a load balancer returned 

    <timestamps> UTC [https-jsse-nio-9443-exec-3, , ] DEBUG o.s.web.servlet.DispatcherServlet- Failed to complete request: java.lang.Exception: SSO  psc.example.com provided in 'SSO' section is not configured to any Lookup Service urls [" psc_loadbalancer.example.com"] registered to VCenters configured in 'vCenter' section

Environment

VMware HCX 4.11.x

Cause

This can occur  in an legacy environment where the vCenter is configured to PSC load balancer

Resolution

This is a known issue impacting VMware HCX.

Workaround : 

  1. Log in to the HCX Manager Admin UI (https://<hcx-ip-or-fqdn>:9443).
  2. Navigate to Configuration > SSO.
  3. Change the SSO FQDN from the PSC FQDN to the PSC Load Balancer FQDN.
  4. Save the configuration and restart the HCX services.
  5. Retry the role mapping update in the HCX UI.

Additional Information

 For further assistance, see Contact Broadcom Support.