When attempting to add Management Gateway Firewall rules for HTTPS service in HCX, the operation fails with the following validation error:
Validation for entity with HCX Inbound failed for Constraints [mgw_group_communication_constraint_2:
if sourceGroups excludes [/infra/domains/mgw/groups/VCENTER],
destinationGroups includes [/infra/domains/mgw/groups/VCENTER]]
This error occurs when creating both user-defined and custom groups for HTTPS service in the firewall rules. The issue prevents the addition of necessary HTTPS management firewall rules for HCX.
To validate this issue, check if creating a Management Gateway Firewall rule with HTTPS service selected consistently produces the validation error shown above.
The validation failure occurs due to stale HCX management entries present in the SDDC configuration database. These obsolete entries conflict with new rule creation attempts, causing the constraint validation to fail when defining HTTPS services in the Management Gateway Firewall.
Since the stale entries exist in the backend system configuration, they require specialized cleanup by the service team. Contact Broadcom Support with the following information:
The Broadcom Support team will coordinate with the HCX service team to remove the stale entries from the SDDC database.
See additional information for help with creating a case with Broadcom
For additional information on creating a support case see