www.TipsNtrapS.com: Technodrone: Nova-Docker on Juno

After enabling the docker as a hyper wiser support on my test one node open-stack implementation.

 

I added another host in my nova compute farm, done slimier steps as in first (controller node)

but when I was booting up VM on that compute node It was giving error as "NoValidHost found".

On digging found that there was issues in neutron configuration. Dont know why packstack configured properly the neutron.conf.

 

Have to copy the neutron.conf manually from controller to new nova compute host.

 

New Error : Not Found (\"No such image: base-centos6\")

 

Which turns out that the docker image base-centos6 was not present on the local nova box ( although present in glance ). So looks like while booting the docker vm its not able

to pull it from glance. ( will debug it later ) but for now. Have exported the image from controller as tar and imported on nova compute host.

 

docker save image_name > image_name.tar

scp image_name.tar newhost:/tmp

ssh newhost

docker load < /tmp/image_name.tar

 

Once again tried booting the VM on the new hosts , but this time the error was

 

" Command: sudo nova-rootwrap /etc/nova/rootwrap.conf ln -sf /proc/11629/ns/net /var/run/netns/e59cc9600a720222ce7b746daa9", "code": 500, "details": "  File \"/usr/lib/python2.7/site-packages/nova/compute/manager.py\", line 2033, in _do_build_and_run_instance"

it turns out that the /etc/nova/rootwrap.d/docker.filters was not present on the new host. Once again copied that from controller to new hosts.

 

This time the nova boot was successfull.

 

So, although Nova - Docker works , you need to hack couple of things to get it working.

 

Happy Hacking

 

comments powered by Disqus