Zun

Add support for restart policy

Bug #1626699 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
Fix Released
Medium
Kevin Zhao

Bug Description

Docker has a restart policy (see below). It is useful for zun to support the same. For example, it is useful to add a '--restart' flag on zun create.

  $ docker help create

  Usage: docker create [OPTIONS] IMAGE [COMMAND] [ARG...]

  Create a new container

    ...
    --restart=no Restart policy to apply when a container exits

hongbin (hongbin034)
Changed in zun:
status: New → Triaged
importance: Undecided → Medium
Kevin Zhao (kevin-zhao)
Changed in zun:
assignee: nobody → Kevin Zhao (kevin-zhao)
Revision history for this message
Pradeep Kumar Singh (pradeep-singh-u) wrote :

Hi Kevin,

Are u working on this bug?
If not, can i assign it to myself?

Revision history for this message
Kevin Zhao (kevin-zhao) wrote :

Hi Pradeep,
   I am working on this bug now. Thanks for your attention. Last week I attended the OpenStack Summit so that this bug fix is delayed.

Revision history for this message
Pradeep Kumar Singh (pradeep-singh-u) wrote :

OK, will help you in reviews :)

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

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

Changed in zun:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zun (master)

Reviewed: https://review.openstack.org/419289
Committed: https://git.openstack.org/cgit/openstack/zun/commit/?id=2185d284beb6087019c8880a71e335e9f46a2907
Submitter: Jenkins
Branch: master

commit 2185d284beb6087019c8880a71e335e9f46a2907
Author: Kevin Zhao <email address hidden>
Date: Wed Jan 11 16:12:43 2017 +0800

    Add support for container restart policy in server side

    Closes-bug: #1626699

    Change-Id: I635f0cf8260fec180d6c8f8d53cefcbc4bb28433
    Signed-off-by: Kevin Zhao <email address hidden>

Changed in zun:
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.