-
-
Notifications
You must be signed in to change notification settings - Fork 794
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
Containerd service split in 18.09+ #1062
Comments
With
|
Seeing the same issue here. |
Is there any way this could get escalated? |
I think this is what had killed a large number of my nodes when I updated to using the latest cookbook. The rollback was painful to say the least :( |
Yes @isuftin, be careful as it's going to be restarting Docker (which will nuke the running containers). Always make sure to pin your cookbooks versions so you don't run into that issue and carefully review the changes, test on a single node etc. I'd also advise on moving forward rather than a rollback if you can do that. @tas50 this issue can be closed also. |
Closed via #1080 |
Cookbook version
4.9.1
Chef-client version
14.8.12
Platform Details
Ubuntu 16.04
Scenario:
systemctl
management of the docker system is broken with 18.09+ because the upstream packaged changes to the systemd unit files are lost. This cookbook manages the systemd unit files in both/lib
and/etc
and after upgrading to a docker-ce version new enough with a split containerd service important service constraints are lost.Steps to Reproduce:
Converge a
docker_service
resource with version18.09.1
login to the host and run
Notice that
containerd
is no longer running and normal docker operations now failObviously this is a constructed case one would not follow but these services are expected to be bound together.
Expected Result:
Stopping containerd should stop docker
Starting docker should ensure containerd is running
Actual Result:
The containerd and docker services no longer are bound together from their systemd unit files.
The change in the
docker.service
included in the packages can be seen at https://gist.github.com/whiteley/71d65a1d18e35a0377e3f5ef3fcdf793/revisions#diff-79d698a60144caa9130d53c67f9586a6 and I believe the most relevant change to be that in line 4 where theBindsTo=containerd.service
is added.The text was updated successfully, but these errors were encountered: