New Nova hypervisor in Havana Deploy Containers instead of VMs by Sam Alba @sam_alba email@example.com Sep 2013
What is all of that? ● Nova is a computing controller for OpenStack ● Havana is the name of the next release (10/17/2013) ● Nova already supports several hypervisors: ○ KVM (through qemu), Xen, VMWare, HyperV, PowerVM, etc... ○ Docker Nova is not just for Virtual Machines... it’s a computing controller!
How to use it? (with DevStack) Prerequisites: ● Ubuntu Precise 12.04 ● Kernel >3.2 supporting AUFS ● >=1.5 GB of RAM available ● Check that socat and git installed sudo apt-get install socat git
How to use it? (with DevStack) Install devstack and docker git clone https://github.com/openstack-dev/devstack.git cd devstack echo VIRT_DRIVER=docker >> localrc ./tools/docker/install_docker.sh ./stack.sh … and test that everything went well ./exercises/docker.sh
How to use it? (with DevStack) Start a container! cd devstack . openrc nova boot --image "docker-busybox:latest" \ --flavor m1.nano myinstance nova show myinstance docker ps
How to use it? (with DevStack) Use public images! It requires to duplicate images to Glance (by using docker) cd devstack . openrc docker pull vieux/goplay HOST_IP=$(docker images | grep :5042/docker-busybox \ | cut -d: -f1) docker tag vieux/goplay $HOST_IP:5042/vieux/goplay docker push $HOST_IP:5042/vieux/goplay