terraform-aws-gitlab-runner icon indicating copy to clipboard operation
terraform-aws-gitlab-runner copied to clipboard

Race condition around elastic IP

Open davidnortonjr opened this issue 3 years ago • 1 comments
trafficstars

We have enable_eip = true, and it seems to cause a race condition when rolling out a deployment on the GitLab Runner ASG. If the new instance tries to assign the IP before the old instance has shut down / released it, then it fails to come up cleanly and does not pick up jobs.

I'm not sure the best way to solve this, but perhaps either (or both):

  1. a retry / backoff for assigning the EIP in eip.tpl
  2. some sort of health check to automatically restart/replace the instance as a whole if it never comes up cleanly

davidnortonjr avatar Feb 12 '22 17:02 davidnortonjr

Sorry cannot help, hope someone in the community can. We are not using EIP.

npalm avatar Feb 27 '22 13:02 npalm

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.

github-actions[bot] avatar Mar 17 '23 02:03 github-actions[bot]

This issue was closed because it has been stalled for 15 days with no activity.

github-actions[bot] avatar Apr 02 '23 02:04 github-actions[bot]