Invalid OffPeakPeriods value, no such file or directory.
Summary
I can't use GitLab runner 10.7. I've the following error: FATAL: Invalid OffPeakPeriods value: open /usr/local/go/lib/time/zoneinfo.zip: no such file or directory
.
I've found a related issue #2303 (closed). But the thing in my case it's that I change noting in my configuration, and the error appear directly after I updated to runner 10.7.
Steps to reproduce
In my case I use GitLab Runner for autoscaling with Docker Machine and the manager is installed as a Docker service. Since I updated the GitLab runner to 10.7, it crash with an error, but I didn't change nothing on my configuration.
Actual behavior
GitLab runner crash with FATAL: Invalid OffPeakPeriods value: open /usr/local/go/lib/time/zoneinfo.zip: no such file or directory
error.
Expected behavior
Having GitLab runner run normally.
Relevant logs and/or screenshots
gitlab-runner_1 | 2018-04-23T08:16:02.336629645Z Starting multi-runner from /etc/gitlab-runner/config.toml ... builds=0
gitlab-runner_1 | 2018-04-23T08:16:02.336661974Z Running in system-mode.
gitlab-runner_1 | 2018-04-23T08:16:02.336667140Z
gitlab-runner_1 | 2018-04-23T08:16:02.336671295Z FATAL: Invalid OffPeakPeriods value: open /usr/local/go/lib/time/zoneinfo.zip: no such file or directory
Environment description
I use GitLab Runner for autoscaling with Docker Machine and the manager is installed as a Docker service. Since I updated the GitLab runner to 10.7, it crash with an error, but I didn't change nothing on my configuration.
root@shared-runners-manager-1:/opt/gitlab-ci-runner# docker info
Containers: 2
Running: 1
Paused: 0
Stopped: 1
Images: 4
Server Version: 18.03.0-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: cfd04396dc68220d1cecbe686a6cc3aa5ce3667c
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.4.0-119-generic
Operating System: Ubuntu 16.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 992.2MiB
Name: shared-runners-manager-1
ID: 4BNF:5E64:LJ7Q:3B6A:AQP3:ALND:75BC:UG2S:SL3U:VRJ7:RJU7:OQHX
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Used GitLab Runner version
root@shared-runners-manager-1:/opt/gitlab-ci-runner# docker-compose images
Container Repository Tag Image Id Size
---------------------------------------------------------------------------------------
gitlabcirunner_gitlab-runner_1 gitlab/gitlab-runner latest 61be8b654b47 350 MB
gitlabcirunner_registry_1 registry 2 d1fd7d86a825 31.7 MB