Feng Shengqin 35b5e36edb Container action response 500
Zun action APIs (i.e. exec, top, etc.) will return 500 if Docker
return 409 (Conflict). Below are observations:

* Docker will validate container state before executing a specific
action, and raise state conflict (409) error if the state of the
container doesn't allow the action to perform. For example,
'exec' is not allowed if container is on state 'Stopped'.

* Zun will do a similar state validation in zun-api.
* Zun will sync the container states from Docker every 60 seconds.

As a result, the state in Zun and Docker might be different during
the 60 seconds interval. This 500 error happened if the state between
Zun and Docker is out-of-sync (sometimes in between the 60 seconds).
This makes the state validation passed in Zun but failed in Docker.

Change-Id: If1db262881ac89c62d5a2e7f3cfe67a09724ef5a
Closes-Bug: #1723499
2017-10-23 01:46:00 +00:00
2017-10-17 11:40:28 -04:00
2017-10-07 02:04:45 +00:00
2017-08-17 14:01:00 +00:00
2017-09-08 09:11:52 +08:00
2017-09-25 14:54:26 +00:00
2017-10-23 01:46:00 +00:00
2016-11-02 05:15:29 +00:00
2016-09-03 16:03:04 -05:00
2016-06-08 22:21:34 -05:00
2017-10-07 02:04:45 +00:00
2016-05-12 14:59:56 -04:00
2017-04-07 10:50:23 +08:00
2017-07-15 16:10:06 +07:00
2016-05-12 14:59:56 -04:00
2017-06-10 13:40:18 +00:00
2017-10-03 13:58:25 +00:00

Team and repository tags

image

image

Zun

Container Management service for OpenStack

Zun (ex. Higgins) is a Container Management service for OpenStack. It aims to provide an OpenStack API for launching and managing containers backed by different container technologies.

Features

  • TODO
Description
Containers Service for OpenStack
Readme 26 MiB
Languages
Python 99.3%
Shell 0.7%