fix ansible/group_vars/all.yml restart/retry policy

Bug #1621187 reported by kbaegis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Sajauddin

Bug Description

Settings docker_restart_policy_retry: "10" and docker_restart_policy: "always" should be mutually exclusive on docker 1.12+. This will break the playbook. Either change restart_policy to on-failure (breaks kolla on reboot), or remove restart_policy_retry (breaks kolla on broken container).

Changed in kolla:
status: New → Triaged
milestone: none → newton-rc2
Changed in kolla:
status: Triaged → Confirmed
importance: Undecided → Medium
Changed in kolla:
assignee: nobody → Sajauddin (sajauddin-mohammad)
Revision history for this message
Sajauddin (sajauddin-mohammad) wrote :

docker_restart_policy:"unless-stopped" can be used
unless-stopped -Always restart the container regardless of the exit status, but do not start it on daemon startup if the container has been put to a stopped state before.

Changed in kolla:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/375322

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/375322
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=3f134d0f53067004314fddeb1a77b036c547e45f
Submitter: Jenkins
Branch: master

commit 3f134d0f53067004314fddeb1a77b036c547e45f
Author: Sajauddin Mohammad <email address hidden>
Date: Fri Sep 23 02:25:23 2016 -0400

    Changed docker_restart_policy to unless-stopped

    Current implementation has docker_restart_policy "always" and
    docker_restart_policy_retry:"10" which should be mutually exclusive.
    "unless-stopped" will restart the containers on any exit state
    but not start on daemon startup if container was put to stopped state before.
    Closes-Bug: #1621187

    Change-Id: I4d881cd123a55625121b7a9047385e9b54e2e129

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 3.0.0.0rc2

This issue was fixed in the openstack/kolla 3.0.0.0rc2 release candidate.

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.