Revision history [back]

Would try on CentOS 7 (in meantime this procedure might crash RDO Juno openstack-nova-compute and doesn't allow switch back to libvirt driver ), but anyway stable/juno branch has to be checked out from https://github.com/stackforge/nova-docker. Master branch requires docker 1.5. View also
1. https://bugs.launchpad.net/devstack/+bug/1426356
2. http://bderzhavets.blogspot.com/2015/02/set-up-nova-docker-driver-on-ubuntu.html

# yum install docker-io -y
# yum install -y python-pip git
# git clone https://github.com/stackforge/nova-docker 
# cd nova-docker
# git branch -v -a
  master                1ed1820 A note no firewall drivers.
  remotes/origin/HEAD   -> origin/master
  remotes/origin/juno   1a08ea5 Fix the problem when an image
            is not located in the local docker image registry.
  remotes/origin/master 1ed1820 A note no firewall drivers.
# git checkout -b juno origin/juno
# python setup.py install
# systemctl start docker
# systemctl enable docker
# chmod 660  /var/run/docker.sock
# pip install pbr
#  mkdir /etc/nova/rootwrap.d

Would try on CentOS 7 (in In meantime this the procedure (which worked) might crash RDO Juno openstack-nova-compute and doesn't wouldn't allow switch back to libvirt driver ), , but anyway stable/juno branch has to be checked out from https://github.com/stackforge/nova-docker. Master branch requires docker 1.5. View also
1. https://bugs.launchpad.net/devstack/+bug/1426356
2. http://bderzhavets.blogspot.com/2015/02/set-up-nova-docker-driver-on-ubuntu.html

# yum install docker-io -y
# yum install -y python-pip git
# git clone https://github.com/stackforge/nova-docker 
# cd nova-docker
# git branch -v -a
  master                1ed1820 A note no firewall drivers.
  remotes/origin/HEAD   -> origin/master
  remotes/origin/juno   1a08ea5 Fix the problem when an image
            is not located in the local docker image registry.
  remotes/origin/master 1ed1820 A note no firewall drivers.
# git checkout -b juno origin/juno
# python setup.py install
# systemctl start docker
# systemctl enable docker
# chmod 660  /var/run/docker.sock
# pip install pbr
#  mkdir /etc/nova/rootwrap.d
*****************************************
Update 03/02/2015 23:49 pm MSK.
*****************************************

I was not aware of https://bugs.launchpad.net/nova-docker/+bug/1425111, for devstack bug fixed in nova-docker. One day before I filed mine.

  1. https://bugs.launchpad.net/devstack/+bug/1426356
  2. http://bderzhavets.blogspot.com/2015/02/set-up-nova-docker-driver-on-ubuntu.html

In meantime the procedure (which worked) might crash RDO Juno openstack-nova-compute and wouldn't allow switch back to libvirt driver , but anyway stable/juno branch has to be checked out from https://github.com/stackforge/nova-docker. Master branch requires docker 1.5. View also

*****************************************
**********************
Update 03/02/2015 23:49 pm MSK.
*****************************************
03/03/2015 
**********************

I was not aware of https://bugs.launchpad.net/nova-docker/+bug/1425111, for devstack bug fixed in nova-docker. One nova-docker, one day before I filed mine.mine. Working with the most recent

    $ git clone http://github.com/stackforge/nova-docker.git
    $ cd nova-docker
    $ sudo pip install .
    
  1. I am experiencing problems described in details here : https://bugs.launchpad.net/devstack/+bug/1426356

  2. http://bderzhavets.blogspot.com/2015/02/set-up-nova-docker-driver-on-ubuntu.html
  3. Devstack loads NovaDocker driver updated to use oslo_log , but when I boot container via Nova , it starts but Network is disabled both floating and private IP don't work. I tested floating IP via arping (Layer 2) it responded, usual ping hangs, hping3 been started with FPU flag scans ports @floating-ip and gets packets back, what is a syndrome of closed ports. Details in link above.

In meantime the procedure (which worked) might crash RDO Juno openstack-nova-compute and wouldn't allow switch back to libvirt driver , but anyway stable/juno branch has to be checked out from https://github.com/stackforge/nova-docker. Master branch requires docker 1.5.

**********************
Update 03/03/2015 
**********************

I was not aware of https://bugs.launchpad.net/nova-docker/+bug/1425111, for devstack bug fixed in nova-docker, one day before I filed mine. Working with the most recent

$ git clone http://github.com/stackforge/nova-docker.git
$ cd nova-docker
$ sudo pip install .

I am experiencing problems described in details here : https://bugs.launchpad.net/devstack/+bug/1426356
Devstack loads NovaDocker driver updated to use oslo_log , but when I boot container via Nova , it starts but Network is disabled both floating and private IP don't work. I tested floating IP via arping (Layer 2) it responded, usual ping hangs, hping3 been started with FPU flag scans ports @floating-ip and gets packets back, what is a syndrome of closed ports. Details in link above.


03/06/2015 . I found the cause of network issue. It is https://git.openstack.org/cgit/stackforge/nova-docker/commit/?id=9d06520645f28d96ef905a709f8ff0c27842b58b.
In meantime network enabled NovaDocker driver may be installed via reverting commit 9d06520645f28d96ef905a709f8ff0c27842b58b

$ git clone http://github.com/stackforge/nova-docker.git
$ cd nova-docker
$ git revert 9d06520645f28d96ef905a709f8ff0c27842b58b
$ sudo pip install .

However , it's far ahead stable/juno branch and cannot affect this branch. vifs.py should stay the same in stable/juno.