Check the status of sandbox container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
New
|
Undecided
|
Unassigned |
Bug Description
[root@tfg-104 zun(keystone_
+------
| uuid | name | image | status | task_state | addresses | ports |
+------
| de796548-
+------
[root@tfg-104 zun(keystone_
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
39b04cb630e5 test:1 "supervisord -c /etc/" 5 days ago Up 8 seconds zun-de796548-
d1ec3f77ec06 kubernetes/pause "/pause" 5 days ago Up 8 seconds zun-sandbox-
[root@tfg-104 zun(keystone_
[root@tfg-104 zun(keystone_
d1ec3f77ec06
[root@tfg-104 zun(keystone_
[root@tfg-104 zun(keystone_
+------
| uuid | name | image | status | task_state | addresses | ports |
+------
| de796548-
+------
If the sandbox exits, the container is still running. IMO, a periodic job is needed to check the status of sandbox.
Changed in zun: | |
assignee: | nobody → feng.shengqin@zte.com.cn (feng-shengqin) |
description: | updated |
summary: |
- Check the status of scadbox container + Check the status of sandbox container |
If the sandbox container is stopped, the real container will lose the network but it will be still running. I am not sure what are the prefect way to represent this state. Perhaps leave the container as 'running' state makes sense because the container is actually running. However, I would let others to comment on it.