Comments (6)
@geerlingguy Thanks for the quick fix and the investigations! 👍
from ansible-role-docker.
Yeah, I'm also getting that with Docker 18.09 on 18.04, CentOS 7, Debian 9, and basically everywhere. I think something in 18.09 is blowing everything up.
Looking in the logs, I see:
Nov 12 22:55:11 instance systemd[1]: Starting containerd container runtime...
-- Subject: Unit containerd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit containerd.service has begun starting up.
Nov 12 22:55:11 instance systemd[1]: Starting Docker Application Container Engine...
-- Subject: Unit docker.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has begun starting up.
Nov 12 22:55:11 instance systemd[1]: containerd.service: control process exited, code=exited status=1
Nov 12 22:55:11 instance systemd[1]: Failed to start containerd container runtime.
-- Subject: Unit containerd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit containerd.service has failed.
--
-- The result is failed.
Nov 12 22:55:11 instance systemd[1]: Dependency failed for Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has failed.
--
-- The result is dependency.
Nov 12 22:55:11 instance systemd[1]: Job docker.service/start failed with result 'dependency'.
Nov 12 22:55:11 instance systemd[1]: Unit containerd.service entered failed state.
Nov 12 22:55:11 instance systemd[1]: containerd.service failed.
Nov 12 22:55:11 instance systemd[1]: Stopped Docker Application Container Engine.
-- Subject: Unit docker.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has finished shutting down.
So... there's some dependency issue in 18.09 :/
from ansible-role-docker.
Related: containerd/containerd#2772
from ansible-role-docker.
And the fix is here: containerd/containerd#2776
See also: docker/for-linux#475
It seems like we might just need to wait for a new release? Otherwise I'd have to either hack the containerd unit file, or get that modprobe command to work.
from ansible-role-docker.
So... I don't know what to do currently. I could patch around this at least temporarily using the hack overriding the ExecStartPre
command as suggested in the docker/for-linux issue linked in the previous comment, but that feels annoying and pointless since the next release will fix this issue.
But I hate failing builds, and I'm now up to 5 public GitHub projects and 2 private ones which have failing builds... and I hate failing builds.
from ansible-role-docker.
Also possibly related?
from ansible-role-docker.
Related Issues (20)
- Run playbook HOT 1
- Idempotence test failed HOT 3
- feature: use ansible facts HOT 3
- Amazon Linux 2023 support HOT 1
- docker-compose-plugin install fails on arch HOT 6
- geerlingguy.docker was NOT installed successfully HOT 4
- error in first run during check if there are any users to add to docker group HOT 3
- Failure when adding docker repository HOT 7
- GPG keys should not be saved to `/apt/trusted.gpg.d` / Do not use `apt-key` HOT 2
- Playbook Fails with error when uninstalling HOT 2
- Reload system config at start HOT 2
- ansible.builtin.include has been removed Error while installing docker role HOT 2
- no /etc/docker/daemon.json ? HOT 1
- Fix min_ansible_version type HOT 1
- Update docker version HOT 2
- No luck with this role on ubuntu-24.04-minimal-cloudimg-amd64.img HOT 1
- ERROR "No package matching 'containerd.io' is available" at remote host "ubuntu 20.04" HOT 1
- Failure when docker repo is already present but not enabled
- Recent role update does not remove previous versions of the apt key, and so duplicate apt keys are created on Debian HOT 1
- Encountering "Error while fetching server API version: Not supported URL scheme http+docker" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-docker.