FS#67621 - [containerd] Docker fails with "ttrpc: closed: unknown"

Attached to Project: Community Packages
Opened by Katie Volz (iggyvolz) - Monday, 17 August 2020, 18:18 GMT
Last edited by Morten Linderud (Foxboron) - Monday, 17 August 2020, 22:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 15
Private No

Details

Description:
Using Arch's containerd 1.4.0-1, an attempt to instantiate a docker image fails with "ttrpc: closed: unknown". Issue does not appear with previous 1.3.4 or 1.4.0 downloaded directly from the package maintainer

Upstream report: https://github.com/containerd/containerd/issues/4483

Steps to reproduce:
1. Using containerd 1.4.0, docker 19.03.12-ce
2. Run docker run -it hello-world

Produces:
docker: Error response from daemon: ttrpc: closed: unknown.
ERRO[0003] error waiting for container: context canceled
This task depends upon

Closed by  Morten Linderud (Foxboron)
Monday, 17 August 2020, 22:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.4.0-2
Comment by Joshua Ellithorpe (quest) - Monday, 17 August 2020, 18:50 GMT
Can confirm this is happening to me as well!
Comment by Sigbjorn Helset (sigbjorn) - Monday, 17 August 2020, 19:18 GMT
Same here, also downgrade containerd-1.3.4-2 resolves the problem
Comment by Fred Richards (flrichar) - Monday, 17 August 2020, 19:28 GMT
Same happened here, issue seems to be with containerd-shim,

Aug 17 13:45:56 tor systemd[1]: systemd-coredump@5-5281-0.service: Succeeded.
Aug 17 13:45:56 tor systemd-coredump[5282]: Process 5280 (containerd-shim) of user 0 dumped core.

Stack trace of thread 5280:
#0 0x000000000046ba82 n/a (/usr/bin/containerd-shim + 0x6ba82)
Aug 17 13:45:55 tor dockerd[3675]: time="2020-08-17T13:45:55.971432212-04:00" level=error msg="stream copy error: reading from a closed fifo"
Aug 17 13:45:55 tor dockerd[3675]: time="2020-08-17T13:45:55.958749168-04:00" level=error msg="stream copy error: reading from a closed fifo"
Aug 17 13:45:55 tor containerd[3663]: time="2020-08-17T13:45:55.958016059-04:00" level=error msg="failed to kill shim" error="ttrpc: closed: unknown"
Comment by Alexander Solovyov (avs) - Monday, 17 August 2020, 20:19 GMT
Same problem here, downgrading resolves the problem.
Comment by Morten Linderud (Foxboron) - Monday, 17 August 2020, 20:28 GMT
Please refrain from saying "me too" and use the vote button.
Comment by Morten Linderud (Foxboron) - Monday, 17 August 2020, 21:42 GMT
I have pushed 1.4.0-2 to [community], please test it.

Comment by Julien (weimdall) - Monday, 17 August 2020, 22:13 GMT
1.4.0-2 fixed the issue on my side
Comment by Daniel Wilhelm (shieldwed) - Monday, 17 August 2020, 22:22 GMT
Thanks for the quick fix. This just solved the issue on my server as well.

Loading...