Skip to content

autoscale runner + two jobs in parallel as first job = certificate error

Summary

Using the autoscale runner with docker+machine runs into an unrecoverable error state when it receives two jobs simultaneously after first start.

this is since docker-machine cli is not meant to run in parallel, see upstream bug; https://github.com/docker/machine/issues/3634

GitLab.com incidents:

Steps to reproduce

create a fresh autoscale runner with docker+mashine executer run a pipeline with two jobs in parallel

Actual behavior

All docker+machines fail with: ERROR: Error creating machine: Error checking the host: Error checking and/or regenerating the certs: There was an error validating certificates for host

Expected behavior

no error

Used GitLab Runner version

Running with gitlab-runner 11.4.0 (8af42251)