Optional sleep before ssh-keyscan
- Terraform hands state information to GCP and does not wait for the
provisioned nodes to settle. Any machine contacting a cluster node
before the provisioning settles is blocked by GCP. We can mitigate
this behavior by adding an optional sleep before running
ssh-keyscan
that may be configured via theKEYSCAN_WAIT_SECONDS
environment variable. This is a short term mitigation until gitlab-org/gitlab-orchestrator#151 (closed)
Closes gitlab-org/omnibus-gitlab#5267 (closed)
Closes gitlab-org/omnibus-gitlab#5270 (closed)
Related gitlab-org/gitlab-orchestrator#151 (closed)
Signed-off-by: Robert Marshall rmarshall@gitlab.com
Closes #5267