Ask Your Question

Which version of nova-docker should be used with OpenStack Juno

asked 2014-12-03 12:46:35 -0500

fikovnik gravatar image

I was wondering what is the right nova-docker version (commit) to use for OpenStack Juno? If I use master I run into some compatibility problems (e.g. 'module' object has no attribute 'InstanceInfo'). I had a success with 9045ca43b645e72751099491bf5f4f9e4bddbb91, but that seems to be quite old.

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted

answered 2014-12-09 11:54:37 -0500

mephi42 gravatar image

I've been successful with 3fd99f8516f890b45b928b0bce4439bb003c0bb1^:

# cd src/novadocker
# git log -SInstanceInfo origin/master
commit 3fd99f8516f890b45b928b0bce4439bb003c0bb1
Author: Davanum Srinivas <>
Date:   Thu Nov 20 12:34:45 2014 -0500

    Follow changes in Nova trunk

    Trunk changed the structure of tests directory by introducing
    a new unit package:

    Instance Info is now an object as well, not a dicitionary:

    instance_type parameter has been added to spawn:

    Change-Id: I06a2d02e65cd3eb0813caf3972013500d94d493c
# git checkout 3fd99f8516f890b45b928b0bce4439bb003c0bb1^
# python install
edit flag offensive delete link more

answered 2014-12-18 03:20:45 -0500

fikovnik gravatar image

I made a fork on github and create a juno branch using the lastest commit + finixing the problem of loading an image from glance

edit flag offensive delete link more


Would it be OK ?

git checkout -b juno  origin/juno
dbaxps gravatar imagedbaxps ( 2014-12-18 03:29:57 -0500 )edit

I did

git clone
cd nova-docker
[boris@juno1 nova-docker]$ git branch -a
* master
  remotes/origin/HEAD -> origin/master
dbaxps gravatar imagedbaxps ( 2014-12-18 04:03:05 -0500 )edit

I don't see new branch.

dbaxps gravatar imagedbaxps ( 2014-12-18 04:04:10 -0500 )edit

You need to use my fork . It has the juno branch.

Here is the commit: that fixes the glance problem.

fikovnik gravatar imagefikovnik ( 2014-12-18 04:47:41 -0500 )edit

Yes, I got it already.

dbaxps gravatar imagedbaxps ( 2014-12-18 04:53:40 -0500 )edit

answered 2014-12-03 13:08:30 -0500

dbaxps gravatar image

updated 2015-01-20 03:57:58 -0500

UPDATE as of 01/20/2015
As appears per
Official stable Juno branch was forked from on 11/12/2014

$ git clone
$ cd nova-docker
$ git checkout stable/juno
$ sudo python install

Larsks is also suggesting creating two new services on Juno (AIO) Node :-


which allow to run nova-libvirt and nova-docker on the same host. Details in link posted above
Per Larsks :-

Fortunately, Nova's definition of what constitutes a "host" is somewhat flexible. Nova supports a host configuration key in nova.conf that will cause Nova to identify the host on which it is running using your explicitly configured value, rather than your system hostname. We can take advantage of this to get a second nova-compute instance running on the same system.


Now I see

$ git clone
$ 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
 Branch juno set up to track remote branch juno from origin.
Switched to a new branch 'juno'

Testing juno branch in :

edit flag offensive delete link more


I'm not asking about docker version but about nova-docker.

fikovnik gravatar imagefikovnik ( 2014-12-03 14:07:42 -0500 )edit

Link above is referencing same commit

 git clone
 cd nova-docker/
 git checkout -b pre-i18n 9045ca43b645e72751099491bf5f4f9e4bddbb91
dbaxps gravatar imagedbaxps ( 2014-12-04 00:42:09 -0500 )edit

Thanks! The i18n problem is related to OS Icehouse. On OS Juno the related i18n oslo library is present and thus a newer version could be used.

fikovnik gravatar imagefikovnik ( 2014-12-04 02:48:40 -0500 )edit

You are correct , I've checked git log for commit 9045ca43b645e72751099491bf5f4f9e4bddbb91
Next commit e43f6b86b3b0c2bc5b6469050370ee3832688b99
does:- Merge "Use oslo.i18n"

dbaxps gravatar imagedbaxps ( 2014-12-16 13:48:47 -0500 )edit

I've tested all tree commit 07a57f78aa4b01c2acfb84b0e9e723dabfd650cb as of 12/09/2014
System been built on Juno doesn't start containers, at least for me.

dbaxps gravatar imagedbaxps ( 2014-12-16 13:51:23 -0500 )edit

answered 2014-12-10 21:22:12 -0500

Lance gravatar image

hi I'm facing a similar issue. When trying to boot up a docker instance, it failed to find the image. Since my glance is on one node and nova-compute is on another, so shall I do a "dock pull cirros" in the compute node manually?

edit flag offensive delete link more


There is a bug in nova-docker that prevents to load the image from glance. The patch is already in gerrit, but the process is a bit lengthy. You can pick up a version from my git

the master branch is for latest nova, the juno branch is for OS juno.

fikovnik gravatar imagefikovnik ( 2014-12-18 04:45:36 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-12-03 12:46:35 -0500

Seen: 810 times

Last updated: Jan 20 '15