Closed Ganeshrockz closed 9 months ago
Happy to merge this quickly but we need to look into why the acceptance tests didn't catch this.
Happy to merge this quickly but we need to look into why the acceptance tests didn't catch this.
I am pretty sure something changed recently in ECS. I have never seen a single acceptance test run fail with this error until last week. Right now I am pretty much able to reproduce this everytime I trigger the same suite of acceptance tests. I am also constantly seeing this error whenever trying to deploy the examples present in this repo.
Changes proposed in this PR:
consul-ecs-control-plane
returns back a500
thecurl
command treats it a successful response and returns a non zero code. Here's an example of the sameThis caused the
consul-dataplane
container to start up before the consul binary became available in the shared volume. In an ideal world, consul-dataplane should only start up after the control-plane container writes the Consul ECS binary to the shared volume and returns back a200
response code for the/consul-ecs/health
endpoint.This PR fixes the same by adding a
-f
flag to curl.How I've tested this PR:
Manual deployment
How I expect reviewers to test this PR:
Checklist: