HTTP 500 Error When Changing from the default SSO domain to customized SSO Domain
search cancel

HTTP 500 Error When Changing from the default SSO domain to customized SSO Domain

book

Article ID: 432581

calendar_today

Updated On:

Products

VMware HCX

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
    <timestamps> UTC [https-jsse-nio-9443-exec-3, , ] 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.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] with root cause
    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
            at com.vmware.hybridity.admin.config.RoleConfigRestController.getVsphereServerConfig(RoleConfigRestController.java:212)
            at com.vmware.hybridity.admin.config.RoleConfigRestController.validateAndGetVcConnection(RoleConfigRestController.java:183)
            at com.vmware.hybridity.admin.config.RoleConfigRestController.updateRoles(RoleConfigRestController.java:90)
            at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

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 : 

  • HCX_UI when logged in as admin under Configuration --> SSO change from psc.example.com to psc_loadbalancer.example.com