← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1498395] [NEW] Nova-Docker:container lost the ip address withouy dhcp assignment ip if docker restart

 

Public bug reported:

OS:Ubuntu 14.04
openstack KILO with nova-docker

Problem:Nova-Docker:container lost the ip address if docker restart
(DHCP assighend)

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-00d7-4dfa-89a7-a33400db6d63


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-00d7-4dfa-89a7-a33400db6d63


6 check the container ip
root@quasarucn1:~# docker exec -i -t  d44db1600e9c /bin/bash
root@instance-00000153:/# ifconfig
root@instance-00000153:/#

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1498395

Title:
  Nova-Docker:container lost the ip address withouy dhcp assignment ip
  if docker restart

Status in neutron:
  New

Bug description:
  OS:Ubuntu 14.04
  openstack KILO with nova-docker

  Problem:Nova-Docker:container lost the ip address if docker restart
  (DHCP assighend)

  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-00d7-4dfa-89a7-a33400db6d63

  
  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-00d7-4dfa-89a7-a33400db6d63

  
  6 check the container ip
  root@quasarucn1:~# docker exec -i -t  d44db1600e9c /bin/bash
  root@instance-00000153:/# ifconfig
  root@instance-00000153:/#

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1498395/+subscriptions


Follow ups