When saving the NSX-T cloud configuration in the Avi load balancer, you may encounter an error indicating a duplicate value for a Tier-1 logical router.
The error message will appear similar to this:
Error in updating cloud nsxt-t: {'nsxt_configuration': ... 'tier1_lrs': FieldValueError("Field check for tier1_lrs failed : Unique constraints 'tier1_lr_id' has duplicated value: ('/infra/tier-1s/your-t1-router',)")}
This error prevents the NSX-T cloud configuration from being saved successfully.
VMware NSX-T
This issue is caused by attempting to configure more than one data network segment for a single Tier-1 logical router within the NSX-T cloud connector in Avi.
The system enforces a constraint that allows only one data segment to be explicitly defined per Tier-1 router in this section.
Resolution:
To resolve this error, you must correct the data network configuration: Navigate to the Data Networks section of your NSX-T cloud configuration in the Avi UI. Identify the Tier-1 logical router that is duplicated and delete the extra entry, ensuring only one data segment is assigned to that specific Tier-1 router.
Workaround: