nova-docker: loopback interface down in instance

asked 2015-08-18 04:08:24 -0500


I am running a devstack setup in a Virtualbox as described here: (

Docker instances are started almost perfectly, the only problem is the loopback interface being down in the instance:

ubuntu@default-ubuntu-1404:~$ sudo ip netns

The loopback dev in the netns for the instance is down:

ubuntu@default-ubuntu-1404:~$ sudo ip netns exec e2d78b463ca464c61488fdbda2597287a1b0098590189947af3b97dd14862219 ip a
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
25: nsbdd87f7c-ad: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether fa:16:3e:06:e7:39 brd ff:ff:ff:ff:ff:ff
    inet scope global nsbdd87f7c-ad
       valid_lft forever preferred_lft forever
    inet6 fe80::f816:3eff:fe06:e739/64 scope link 
       valid_lft forever preferred_lft forever

This prevents the service inside the docker container from starting as it is unable to bind to the loopback device.


sudo ip netns exec e2d78b463ca464c61488fdbda2597287a1b0098590189947af3b97dd14862219 ip link set dev lo up

brings the loopback up but that should be done on booting the instance. Any chance I could convince neutron to setup the loopback correctly when booting the instance?

Thanks a lot.

edit retag flag offensive close merge delete