Attach an already-attached network stuck
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
Fix Released
|
Undecided
|
hongbin |
Bug Description
Create a container. Attach the container to an already attached network
$ openstack appcontainer run --name testcontainer --net network=private --wait nginx
$ openstack appcontainer network attach --network private testcontainer
The container 'task_state' stuck at 'network_attaching' forever.
$ openstack appcontainer list
+------
| uuid | name | image | status | task_state | addresses | ports |
+------
| 4aec78e3-
+------
The following error in the server log:
Jan 21 02:58:18 ip-172-31-7-192 zun-compute[20907]: ERROR zun.common.utils [None req-5edaa73a-
Jan 21 02:58:18 ip-172-31-7-192 zun-compute[20907]: ERROR zun.common.utils Traceback (most recent call last):
Jan 21 02:58:18 ip-172-31-7-192 zun-compute[20907]: ERROR zun.common.utils File "/opt/stack/
Jan 21 02:58:18 ip-172-31-7-192 zun-compute[20907]: ERROR zun.common.utils return function(self, context, container, *args, **kwargs)
Jan 21 02:58:18 ip-172-31-7-192 zun-compute[20907]: ERROR zun.common.utils File "/opt/stack/
Jan 21 02:58:18 ip-172-31-7-192 zun-compute[20907]: ERROR zun.common.utils return function(self, context, *args, **kwargs)
Jan 21 02:58:18 ip-172-31-7-192 zun-compute[20907]: ERROR zun.common.utils File "/opt/stack/
Jan 21 02:58:18 ip-172-31-7-192 zun-compute[20907]: ERROR zun.common.utils self.driver.
Jan 21 02:58:18 ip-172-31-7-192 zun-compute[20907]: ERROR zun.common.utils File "/opt/stack/
Jan 21 02:58:18 ip-172-31-7-192 zun-compute[20907]: ERROR zun.common.utils 'network': network})
Jan 21 02:58:18 ip-172-31-7-192 zun-compute[20907]: ERROR zun.common.utils ZunException: Container 4aec78e3-
Jan 21 02:58:18 ip-172-31-7-192 zun-compute[20907]: ERROR zun.common.utils
Jan 21 02:58:18 ip-172-31-7-192 zun-compute[20907]: DEBUG oslo_concurrenc
description: | updated |
Changed in zun: | |
assignee: | nobody → hongbin (hongbin034) |
Fix proposed to branch: master /review. openstack. org/632012
Review: https:/