-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
journald restart crashes containerd #580
Comments
We've also got this issue. Our docker version is 17.03.0-ce. |
Fixed by: #930 |
liusdu
pushed a commit
to liusdu/moby
that referenced
this issue
Oct 30, 2017
- bump containerd: - containerd: ignore SIGPIPE to fix containerd/containerd#580 - Feature: Support combining partial images into completed one (mr 504) - Bugfix: Make accel name prefix "anon_[cli|img]_accel_" reserved (mr 499 fix DTS2017052504931) - Bugfix: check accel input arguments (mr 493 fix DTS2017050408086) - Bugfix: devmapper: remove broken device when start daemon (mr 494 fix DTS2017051611286) - Bugfix: Adding support for docker max restart time (mr 507 fix DTS2017052704554) - Bugfix: Fix race between sandbox.delete() and SetKey() (mr 497 fix DTS2017051700511) - Bugfix: Typo:change contianer -> container (mr 510 fix DTS2017052704554) - Backport: Moving the UDS file out of /var/lib/docker and into /run/ (mr 498) Signed-off-by: Lei Jitang <leijitang@huawei.com>
liusdu
pushed a commit
to liusdu/moby
that referenced
this issue
Oct 30, 2017
bump to v1.11.2.31 - bump containerd: - containerd: ignore SIGPIPE to fix containerd/containerd#580 - Feature: Support combining partial images into completed one (mr 504) - Bugfix: Make accel name prefix "anon_[cli|img]_accel_" reserved (mr 499 fix DTS2017052504931) - Bugfix: check accel input arguments (mr 493 fix DTS2017050408086) - Bugfix: devmapper: remove broken device when start daemon (mr 494 fix DTS2017051611286) - Bugfix: Adding support for docker max restart time (mr 507 fix DTS2017052704554) - Bugfix: Fix race between sandbox.delete() and SetKey() (mr 497 fix DTS2017051700511) - Bugfix: Typo:change contianer -> container (mr 510 fix DTS2017052704554) - Backport: Moving the UDS file out of /var/lib/docker and into /run/ (mr 498) Signed-off-by: Lei Jitang <leijitang@huawei.com> See merge request docker/docker!515
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is closely related to moby/moby#19728 :
journald restart crashes Docker
daemon and containerd's stderr point to the same socket if their logs are managed by journald:
restart journald service, daemon will ignore SIGPIPE and some docker operation will work properly, while all docker logs are missing, because it's trying to write its log into a broken pipe. Containerd for now still get SIGPIPE, and may get killed. The wired thing is that docker did not start a new containerd.
after journald restart, docker and containerd are still there and docker run works fine. but docker rm will block forever. ps in another bash, I get this:
containerd got killed, and never start again. As all logs are missing, it will be hard to debug this.
ps. docker version is 1.11.2 but have moby/moby#22460 :
Ignore SIGPIPE events
backported.maybe containerd need to ignore SIGPIPE too. but missing all the docker logs is kind of severe problem.
not sure if there is a better way for docker and containerd to deal with these broken pipe errors?
ping @crosbymichael @LK4D4 @jwhonce @coolljt0725
The text was updated successfully, but these errors were encountered: