After upgrading NSX-T from 2.5.x to 3.0.x/3.1.x. T0 gateway status changed to Failed and the following error is received in the /var/log/proton/nsxapi.log.
Errors:
<timestamp>: Field level validation errors: {value "<IP>/24" of property advanced_config.internal_transit_network violates format 'ipv4-cidr-block'}
VMware NSX-T Data Center
Using any REST API Tool:
- Get tier0 config using API GET https://<MANAGER_IP>/policy/api/v1/infra/tier-0s/<TIER0_NAME>
- Amend tier0 config using API PATCH https://<MANAGER_IP>/policy/api/v1/infra/tier-0s/<TIER0_NAME> with payload having corrected subnet config. Complete payload should be send which was received in GET API but with corrected subnet and without double quotes.
Impact/Risks: