Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use v0.16.2-gitlab.19 to support docker 23+ #539

Open
pflorek opened this issue Feb 6, 2023 · 4 comments
Open

use v0.16.2-gitlab.19 to support docker 23+ #539

pflorek opened this issue Feb 6, 2023 · 4 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@pflorek
Copy link
Member

pflorek commented Feb 6, 2023

@danielbayerlein I open this to track until we get all follow-up errors resolved

Since yesterday the GitLab Runner is not working anymore, because there was an update at Docker.

With Docker 23.0.0 release (which happened today), installation of Docker doesn't create an /etc/docker directory anymore by default.

The latest docker-machine version (v0.16.2-gitlab.19) solves this issue.

https://gitlab.com/gitlab-org/ci-cd/docker-machine/-/merge_requests/102 https://gitlab.com/gitlab-org/gitlab-runner/-/issues/29594 https://gitlab.com/gitlab-org/gitlab-runner/-/issues/29593

relates to #533

@danielbayerlein
Copy link
Collaborator

@pflorek FYI: The lastest version (v0.2.362) works for me.

@pflorek
Copy link
Member Author

pflorek commented Feb 6, 2023

Upgraded to v0.16.2-gitlab.19 and failure to provision runner instances using docker+machine with spot instances https://gitlab.com/gitlab-org/ci-cd/docker-machine/-/issues/100

pflorek added a commit that referenced this issue Feb 6, 2023
- add docker machine version
- add engine install url
- bump dependencies

https://gitlab.com/gitlab-org/ci-cd/docker-machine/-/issues/100#note_1264215659

follow up #533

workaround #539
@pflorek
Copy link
Member Author

pflorek commented Feb 6, 2023

It seems the latest working docker+machine version also with spot instances is v0.16.2-gitlab.15. If we pass also engineInstallURL as mentioned in #533 then all our runners are working again.

Tested it on a runner by reinstalling

curl -L https://gitlab-docker-machine-downloads.s3.amazonaws.com/v0.16.2-gitlab.15/docker-machine-`uname -s`-`uname -m` > /tmp/docker-machine && install /tmp/docker-machine /usr/bin/docker-machine

and set /etc/gitlab-runner/config.toml

  MachineOptions = [
    "engine-install-url=https://releases.rancher.com/install-docker/20.10.sh",

and a restart

gitlab-runner restart

I think this could be a workaround #540

@pflorek
Copy link
Member Author

pflorek commented Feb 7, 2023

@pflorek remember to remove value override for engineInstallUrl

@pflorek pflorek added good first issue Good for newcomers help wanted Extra attention is needed labels Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants