Not able to delete container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
Fix Released
|
Low
|
hongbin |
Bug Description
Description
===========
Users won't be able to delete the container if there are some inconsistency on the container's network configuration.
Reproduce
=========
This issue can be reproduced by creating a container in Zun, then manually disconnect the container from its network in Docker.
$ zun run nginx
$ zun list
+------
| uuid | name | image | status | task_state | addresses | ports |
+------
| cb17fc03-
+------
$ openstack network list --name=private
+------
| ID | Name | Subnets |
+------
| d10b6356-
+------
$ docker network disconnect d10b6356-
$ zun delete --stop cb17fc03-
....
Expected
========
The last command is able to delete the container
Actual
======
The container is not deleted. The following error in the zun-compute log: http://
Changed in zun: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in zun: | |
assignee: | nobody → hongbin (hongbin034) |
status: | Triaged → In Progress |
This patch attempts to fix it: https:/ /review. openstack. org/#/c/ 559261/