Zun

Introduce API to track status of each container actions

Registered by hongbin

For all the container's action APIs that returned 202 (i.e. start, stop, pause, unpause, commit, ...), we need a way to check the status of the action (i.e. the action was succeeded? failed? or in progress?). Consider porting Nova's os-instance-actions APIs to Zun for fulfilling this purpose:

https://github.com/openstack/nova/blob/master/api-ref/source/os-instance-actions.inc

Blueprint information

Status:
Complete
Approver:
hongbin
Priority:
Medium
Drafter:
hongbin
Direction:
Needs approval
Assignee:
Chaolei Li
Definition:
New
Series goal:
Accepted for rocky
Implementation:
Implemented
Milestone target:
None
Started by
hongbin
Completed by
hongbin

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/container-actions-api,n,z

Addressed by: https://review.openstack.org/522532
    Add api-ref for container-actions-api

Addressed by: https://review.openstack.org/524451
    Add db model for container actions

Addressed by: https://review.openstack.org/525085
    Add container action object and sql db api

(hongbin 2017-05-12) Assign this BP to Chaolei since he is already working on it.

Addressed by: https://review.openstack.org/527035
    Add container action etcd api

Addressed by: https://review.openstack.org/534225
    Drop the container_actions table foreign key

Addressed by: https://review.openstack.org/535566
    Add uuid field in ContainerAction object

Addressed by: https://review.openstack.org/536260
    Record container action and event.

Addressed by: https://review.openstack.org/540235
    Drop container_actions foreign key

Addressed by: https://review.openstack.org/548853
    Add container action api

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.