Application Services Version: 3.44.0 (also tested on 3.36.0 with BIG-IQ 8.2)
BIG-IP Version: 8.3.0
Summary
When I deploy an application with a custom virtualAddress, the deployment works fine. If I change the IP address in the Service_Address class under virtualAddress, I receive the following error:
status: 422: /declare failed with status of 422, Failed to send declaration: /declare failed with status of 422, declaration failed The Service Address virtualAddress property cannot be modified. Please delete /CaaS-Clusters_iten/custom-address and recreate it.
If I send in the same declaration with the modified IP address AND also modify the virtual-address name, the configuration is updated properly.
AS3 should realize that, in order to fulfill this request, the virtual server needs to be deleted, the virtual address needs to be deleted, and then both objects added back. The workaround is to either change the Service_Address class' name (for example, custom-address-new) or delete the application and re-deploy.
Actual Behavior
The error above is received and no updates are made to the configuration.
Environment
Summary
When I deploy an application with a custom virtualAddress, the deployment works fine. If I change the IP address in the Service_Address class under virtualAddress, I receive the following error:
status: 422: /declare failed with status of 422, Failed to send declaration: /declare failed with status of 422, declaration failed The Service Address virtualAddress property cannot be modified. Please delete /CaaS-Clusters_iten/custom-address and recreate it.
If I send in the same declaration with the modified IP address AND also modify the virtual-address name, the configuration is updated properly.
Steps To Reproduce
Steps to reproduce the behavior:
Submit the following declaration:
Observe the following successful response:
Now, change the virtualAddress value and re-submit.
Expected Behavior
AS3 should realize that, in order to fulfill this request, the virtual server needs to be deleted, the virtual address needs to be deleted, and then both objects added back. The workaround is to either change the Service_Address class' name (for example, custom-address-new) or delete the application and re-deploy.
Actual Behavior
The error above is received and no updates are made to the configuration.