Change or add Users groups under HCX Role Mapping to provide them with access to the HCX UI (directly or through the HCX vSphere plugins).
Symptoms:
When trying to change the change or add a User group to HCX Role Mapping from the appliance management interface you get a red banner with a similar error:
Invalid UserGroup configured. Usergroup <Old_Domain>/Administrators does not exist in VC <vCenter's_IP_or_FQDN>
2023-10-11 20:18:47.141 UTC [https-jsse-nio-9443-exec-9, , ] 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: Invalid UserGroup configured. Usergroup <Old_Domain>/Administrators does not exist in VC <vCenter's_IP_or_FQDN>.] with root cause
java.lang.Exception: Invalid UserGroup configured. Usergroup <Old_Domain>/Administrators does not exist in VC <vCenter's_IP_or_FQDN>.
at com.vmware.hybridity.admin.config.RoleConfigRestController.validateUserGroupInVc(RoleConfigRestController.java:255)
VMware HCX
The old domain is no longer available, making the PUT API call use a mix between the new list of groups and the old list of groups.
This will be fixed in future releases of HCX
Workaround:
.
Paste the content into a text editor and make sure that the groups under the "System Administrator" and the "Enterprise Administrator" sections match.
Impact/Risks:
If the group is not longer available and it was the only group, users might not be able to access HCX and it's components. Service Meshes and their Appliances will continue to work without interruption, but new changes or updates cannot be performed.
User are not able to remove stale user groups.