Zun

Check the status of sandbox container

Bug #1682011 reported by feng.shengqin@zte.com.cn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
New
Undecided
Unassigned

Bug Description

[root@tfg-104 zun(keystone_admin)]# zun list
+--------------------------------------+------+--------+---------+------------+------------+-------+
| uuid | name | image | status | task_state | addresses | ports |
+--------------------------------------+------+--------+---------+------------+------------+-------+
| de796548-9744-4834-9ef7-f86f073c136c | test | test:1 | Running | None | 172.17.0.2 | [] |
+--------------------------------------+------+--------+---------+------------+------------+-------+
[root@tfg-104 zun(keystone_admin)]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
39b04cb630e5 test:1 "supervisord -c /etc/" 5 days ago Up 8 seconds zun-de796548-9744-4834-9ef7-f86f073c136c
d1ec3f77ec06 kubernetes/pause "/pause" 5 days ago Up 8 seconds zun-sandbox-de796548-9744-4834-9ef7-f86f073c136c
[root@tfg-104 zun(keystone_admin)]#
[root@tfg-104 zun(keystone_admin)]# docker stop d1ec3f77ec06
d1ec3f77ec06
[root@tfg-104 zun(keystone_admin)]#
[root@tfg-104 zun(keystone_admin)]# zun list
+--------------------------------------+------+--------+---------+------------+------------+-------+
| uuid | name | image | status | task_state | addresses | ports |
+--------------------------------------+------+--------+---------+------------+------------+-------+
| de796548-9744-4834-9ef7-f86f073c136c | test | test:1 | Running | None | 172.17.0.2 | [] |
+--------------------------------------+------+--------+---------+------------+------------+-------+

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
Revision history for this message
hongbin (hongbin034) wrote :

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.

Revision history for this message
hongbin (hongbin034) wrote :

There is no activity for fixing this bug for a while. I am going to remove assignee so that other contributors can take it, but please feel free to re-assign it to yourself if you want to continue to work on this bug.

Changed in zun:
assignee: feng.shengqin@zte.com.cn (feng-shengqin) → nobody
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.