Ask Your Question

should nova-docker work on Juno?

asked 2014-11-05 12:51:21 -0600

mc gravatar image

I just installed nova-docker on a brand-new Juno release on Ubuntu 14.04. I'm seeing several errors, like "image not found" and some message timeouts on the compute node when I attempt to boot a container.

The compute node is set up according to the instructions on the wiki. Other hypervisors work on other nodes. So I was wondering if maybe nova-docker is expected to work on Juno yet. Can someone fill me in?

edit retag flag offensive close merge delete


Could you post what the errors you are facing are exactly? What is written on the log? How did you put the docker images on glance?

mark91 gravatar imagemark91 ( 2014-11-06 01:57:41 -0600 )edit

The "image not found" problem was due to an uncaught exception (calling self.docker.inspect_image) on (line 388 of

Catch the exception and it uses glance to get the image.

I will file a ticket.

mc gravatar imagemc ( 2014-11-06 16:13:36 -0600 )edit

I also met the image not found issue, my glance and nova-compute are on different nodes. If I manually pull the dock image like "docker pull ubuntu", it will still fai, saying "AttributeError: 'module' object has no attribute 'InstanceInfo'" Any clue for this?

Lance gravatar imageLance ( 2014-12-10 23:45:32 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-11-30 17:34:33 -0600

cloudssky gravatar image

Yes it works for me on RDO Juno release on CentOS 7 running in a VM on top of Havana, I'd to checkout the pre-i18n branch following this thread:

And installed the latest docker 1.3.2 version from this guide:

See also:

 git clone
 cd nova-docker/
 git checkout -b pre-i18n 9045ca43b645e72751099491bf5f4f9e4bddbb91
 python install
 chmod 666 /var/run/docker.sock
 systemctl restart openstack-nova-compute
edit flag offensive delete link more

answered 2014-12-28 19:27:24 -0600

The image that you export to glance needs to have exact same name as the docker image.

for example:

docker pull samalba/hipache

docker save samalba/hipache | glance image-create --is-public=True --container-format=docker --disk-format=raw --name samalba/hipache

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-11-05 12:51:21 -0600

Seen: 642 times

Last updated: Nov 30 '14