Nova-Docker:container lost the ip address withouy dhcp assignment ip if docker restart
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
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d44db1600e9c leo_ubuntu "/usr/sbin/sshd -D" 18 hours ago Up 18 hours nova-3596b4ea-
4 restart the docker container
root@quasarucn1:~# docker restart d44db1600e9c
5 check the docker status
root@quasarucn1:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d44db1600e9c leo_ubuntu "/usr/sbin/sshd -D" 18 hours ago Up 18 hours nova-3596b4ea-
6 check the container ip
root@quasarucn1:~# docker exec -i -t d44db1600e9c /bin/bash
root@instance-
root@instance-
change it to nova-docker