docker restart or machine reboot can cause docker daemon to exit

Bug #1733943 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Dan Prince

Bug Description

There is a low latency issue which appears to occur more often when you have a container that restarts often where:

1) user restarts the docker service with systemd, or reboots a node
2) docker starts up, and then promptly gets stopped by systemd
3) You see something like this in the logs:

Nov 17 14:16:42 controller-2 systemd-machined[4873]: Machine c8a401499ab88f44796ced1216efc76c terminated. FOOBAR: Unit file docker.service
Nov 17 14:16:42 controller-2 systemd[1]: Stopping Docker Application Container Engine...

Related RH BZ found here with more info: https://bugzilla.redhat.com/show_bug.cgi?id=1514511

Dan Prince (dan-prince)
Changed in tripleo:
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → High
status: New → In Progress
milestone: none → queens-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to puppet-tripleo (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/522388

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/522388
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=e9bce747833af94ce71fe76921bd53cb5df07964
Submitter: Zuul
Branch: master

commit e9bce747833af94ce71fe76921bd53cb5df07964
Author: Dan Prince <email address hidden>
Date: Wed Nov 22 15:55:53 2017 -0500

    Set disable:true for oci-machine-register

    This is meant to help resolve an issue where systemd would stop
    the docker service incorrectly. Often seeming to occur when a container
    was in a restart state.

    Change-Id: Ifb519f8ee7412ef486e709a19c1251a0f7e5d35e
    Related-bug: #1733943

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to puppet-tripleo (stable/pike)

Related fix proposed to branch: stable/pike
Review: https://review.openstack.org/524870

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to puppet-tripleo (stable/pike)

Reviewed: https://review.openstack.org/524870
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=77ea97fb4c6f16e649b31c087aefe66605c3b510
Submitter: Zuul
Branch: stable/pike

commit 77ea97fb4c6f16e649b31c087aefe66605c3b510
Author: Dan Prince <email address hidden>
Date: Wed Nov 22 15:55:53 2017 -0500

    Set disable:true for oci-machine-register

    This is meant to help resolve an issue where systemd would stop
    the docker service incorrectly. Often seeming to occur when a container
    was in a restart state.

    Change-Id: Ifb519f8ee7412ef486e709a19c1251a0f7e5d35e
    Related-bug: #1733943
    (cherry picked from commit e9bce747833af94ce71fe76921bd53cb5df07964)

tags: added: in-stable-pike
Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1
Revision history for this message
Alex Schultz (alex-schultz) wrote :

This was also fixed via a package update.

Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.