Ask Your Question
1

Has anyone setup Havana with Docker?

asked 2014-03-06 20:44:36 -0500

buzztroll gravatar image

Has anyone had any luck getting RDO to work with docker? I have been trying and failing with both Hanava and Icehouse.

With havana I managed to make some progress (after patching various pieces of the nova docker driver). I can now spawn an instance which is running as a container in docker, however OpenStack fails to setup networking for it. I end up with this error:

2014-03-07 02:03:37.037 2659 ERROR nova.compute.manager [req-9f520b99-c5a7-4e09-87c3-bb015d7b4adc 6935a24920dc4fa3abf6db8763236f26 dd207d89cb4c45b591c575051d75f180] [instance: 150f4cf2-51de-4d79-88b1-bb116b3ed619] Error: Cannot setup network: Unexpected error while running command. Command: sudo nova-rootwrap /etc/nova/rootwrap.conf brctl addif br-int pvnetl66933 Exit code: 1 Stdout: '' Stderr: "can't add pvnetl66933 to bridge br-int: Operation not supported\n"

Has anyone else had any luck at all with docker?

edit retag flag offensive close merge delete

Comments

Looks like there are plans to remove the docker driver. I'm just a student and I'm learning openstack for a PoC project for my FYP, I was hoping that my resulting project would be able spin up Docker containers instead of vm's, that was the goal of my project, so far I have been unable to integrate docker correctly and get it working, (Im using RDO). Very disappointing. Docker inc..sort it out :) https://review.openstack.org/#/c/79740/%3C/p%3E (https://review.openstack.org/#/c/79740/)

c0nsaw gravatar imagec0nsaw ( 2014-03-12 02:04:02 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-03-07 10:08:49 -0500

qeedy gravatar image

updated 2014-03-07 10:09:54 -0500

Been looking into this just before yesterday by following http://damithakumarage.wordpress.com/2014/01/31/how-to-setup-openstack-havana-with-docker-driver/ (this) blog post. Note, this DevStack setup does not constitute of Neutron!

Was able to spawn containers and followed http://blog.docker.io/2013/06/openstack-docker-manage-linux-containers-with-nova/ (this Docker.io example). There it then didn't write the output to the console for the showcased sample post creation script. I could neither ping the instance. Then I went to the CLI and run nova list and didn't get the instance listed.

However in contrast, the below worked.

  1. Used CLI to spawn an instance

    nova boot --flavor m1.tiny --image docker-busybox:latest MyTestDocker

  2. Run nova list, which showed the instance correctly

    nova list

  3. Went to the Horizon UI to quickly assign a floating IP and then pinged the instance successfully.

Since the above appeared a bit immature and since it's still under development, I didn't look into it any further. Will definitely revisit this.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-03-06 20:44:36 -0500

Seen: 239 times

Last updated: Mar 07 '14