Closed thepowercoders closed 3 months ago
Hi,
Thanks for reporting. Added to the backlog and internal tracking ID for this request is: INFRAANO-1616.
Hi @thepowercoders I am unable to reproduce this issue. Could you provide an example of the declaration you used?
Hi @thepowercoders
Since we haven't received any updates from you, we will close the issue for now. Please feel free to reopen it anytime if you encounter the problem again.
Thanks
Environment
Summary
The AS3 API occasionally returns a "200 OK" when a declaration is sent to the
/mgmt/shared/appsvcs/declare
endpoint using thebigip_as3
resource. However, in the response body. there has actually been a failure and a multi-response is returned. However, the terraform provider does not pick up on this and assumes the declaration had loaded successfully when it has not - so a Terraform apply returns a successful response. If a Terraform plan is then performed again, the`bigip_as3
resource reports that the same updates are needed - but again it fails and does not realize - so is stuck forever planning changes which it thinks applies successfully, but which don't.Steps To Reproduce
Steps to reproduce the behavior:
Create a declaration where you are updating multiple partitions - typically
/Common
as well as your own partition. This can be done if you are using options likeshareAddresses
in the Service_HTTPS class orshareNodes
in the PoolMember class.Ensure there is an error in the configuration in your main partition (in the below example I am trying to create an address list as the source address of my virtual server but my virtual server name is too long - this problem is detailed here) :
Observe a 200 OK Response with an embedded failure:
Expected Behavior
The
bigip_as3
resource should detect that the AS3 declaration has failed and report the failure back to Terraform.Actual Behavior
Terraform apply returns a successful response. If a Terraform plan is then performed again, the
`bigip_as3
resource reports that the same updates are needed - but again it fails and does not realize - so is stuck forever planning changes which it thinks applies successfully, but which don't.