Nova-Docker:container lost the ip address withouy dhcp assignment ip if docker kill / docker start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-docker |
New
|
Undecided
|
Unassigned |
Bug Description
OS:Ubuntu 14.04
openstack KILO with nova-docker
Problem:
Steps:
1 Bring up the ubuntu kilo setup
2 Bring up the ubuntu docker setup
3 select one container
root@quasarucn1:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6fff17927b94 leo_ubuntu "/usr/sbin/sshd -D" About an hour ago Up 3 seconds nova-a2d1d62e-
4 Kill the docker container
root@quasarucn1:~# docker kill -s 6fff17927b94
5 check the docker status
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6fff17927b94 leo_ubuntu "/usr/sbin/sshd -D" About an hour ago Exited (137) 2 minutes ago nova-a2d1d62e-
6 then start the docker and check the status
root@quasarucn1:~# docker start 6fff17927b94
6fff17927b94
7 check the status
root@quasarucn1:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6fff17927b94 leo_ubuntu "/usr/sbin/sshd -D" About an hour ago Up 3 seconds nova-a2d1d62e-
8 check the container ip
root@quasarucn1:~# docker exec -i -t 6fff17927b94 /bin/bash
root@instance-
ip lost and can not get the ip address again
affects: | neutron → nova-docker |