"Cannot change immutable field: tier1_lr" error when updating some of the existing Load Balancer virtual services
book
Article ID: 320524
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
Symptoms:
- Editing and saving a virtual service of an existing Load Balancing section of an Edge Gateway fails with the following error:
Cannot change immutable field: tier1_lr
- On /opt/vmware/vcloud-director/logs/vcloud-container-debug.log you have entry similar the one reported below:
com.vmware.vcloud.common.network.NsxAlbApiException: Cannot change immutable field: tier1_lr at com.vmware.vcloud.fabric.net.nsxalb.NsxAlbRestTemplateErrorHandler.handleError(NsxAlbRestTemplateErrorHandler.java:45)
- The error is not seen for new virtual services.
Environment
VMware Cloud Director 10.5.1
VMware Cloud Director for Service Provider 10.x
Cause
This issue occurs due to a change introduced in the 10.5.1 release of Cloud Director.
- The format of tier1_lr has been changed from UUID to /infra/tier-1s/UUID.
- Any pool created before the change will have just the UUID in the tier1_lr field.
- Updating any property in the pool, sets the tier1_lr using the newer format causing it to fail in NSX-ALB.
Resolution
The issue has been resolved in Cloud Director 10.5.1.1 available at Broadcom Downloads .
Workaround:
If you are unable to upgrade to 10.5.1.1, the only workaround is to recreate the affected entities.
Additional Information
Impact/Risks:
Users are unable to update any existing load balancer pool created before Cloud Director version 10.5.1.
Feedback
thumb_up
Yes
thumb_down
No