Problem to solve
Today I started getting the following errors in the logs when running tasks on my local gitlab-runner instance connected to gitlab.com:
Jun 27 15:17:07 vesho docker[379590]: ERROR: Job failed (system failure):
error during connect: Get "https://184.72.163.13:2376/v1.24/info":
remote error: tls: unknown certificate authority (docker.go:958:1s)
duration_s=109.616854734 job=7202449094 project=10176871 runner=KkF5hGxd
Then in the GitLab task log I have this:
Running with gitlab-runner 17.1.0 (fe451d5a)
on vesho-autoscaler-public KkF5hGxd, system ID: r_Hn18yAGIixfO
Preparing the "docker+machine" executor
01:14
ERROR: Failed to remove network for build
ERROR: Preparation failed: error during connect: Get "https://184.72.163.13:2376/v1.24/info": remote error: tls: unknown certificate authority (docker.go:958:1s)
Will be retried in 3s ...
ERROR: Failed to remove network for build
ERROR: Preparation failed: error during connect: Get "https://54.224.151.177:2376/v1.24/info": remote error: tls: unknown certificate authority (docker.go:958:1s)
Will be retried in 3s ...
ERROR: Failed to remove network for build
ERROR: Preparation failed: error during connect: Get "https://54.224.151.177:2376/v1.24/info": remote error: tls: unknown certificate authority (docker.go:958:1s)
Will be retried in 3s ...
ERROR: Job failed (system failure): error during connect: Get "https://54.224.151.177:2376/v1.24/info": remote error: tls: unknown certificate authority (docker.go:958:1s)
The runner configuration is as follows:
[[runners]]
name = "vesho-autoscaler-public"
url = "https://gitlab.com/"
id = XXXXXXX
token = "XXXXXXX"
token_obtained_at = 2022-11-10T15:40:28Z
token_expires_at = 0001-01-01T00:00:00Z
executor = "docker+machine"
limit = 3
[runners.cache]
MaxUploadedArchiveSize = 0
[runners.docker]
host = "tcp://docker:2375"
tls_verify = false
image = "docker:latest"
privileged = true
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/cache"]
cache_dir = "/cache"
extra_hosts = ["docker:172.17.0.2"]
shm_size = 0
services_limit = 1
[runners.machine]
IdleCount = 0
IdleScaleFactor = 0.0
IdleCountMin = 0
IdleTime = 1800
MaxBuilds = 10
MachineDriver = "amazonec2"
MachineName = "cimachine-%s"
MachineOptions = [
"engine-opt=bip=172.17.0.1/24",
"amazonec2-ami=ami-0b9a603c10937a61b",
"amazonec2-access-key=XXXXXXX",
"amazonec2-secret-key=XXXXXXX",
"amazonec2-region=us-east-1",
"amazonec2-vpc-id=vpc-XXXXXXX",
"amazonec2-subnet-id=subnet-XXXXXXX",
"amazonec2-zone=a",
"amazonec2-use-private-address=false",
"amazonec2-tags=runner-manager-name,gitlab-aws-autoscaler,gitlab,true,gitlab-runner-autoscale,true",
"amazonec2-security-group=gitlab-ci-runner",
"amazonec2-instance-type=c6a.2xlarge",
"amazonec2-root-size=40",
"amazonec2-request-spot-instance=false",
"amazonec2-spot-price="
]
This worked well earlier this week (I’m not sure when was the previous build, but it was this week).
Versions
Please select whether options apply, and add the version information.
- Self-managed
- GitLab.com SaaS
- Self-hosted Runners
Versions
- GitLab: gitlab.com
- GitLab Runner, if self-hosted: I’m running the official docker images, which I pulled today trying to work around the problem and it reports itself in the logs like so:
Runtime platform arch=amd64 os=linux pid=7 revision=fe451d5a version=17.1.0