I have been trying to setup OpenStack on 14.04 using one machine. I have managed to get MAAS setup and JUJU bootstrapped with two machines, one machine to MAAS and another node that I am trying to setup openstack on. I have read it can be done but I am having problems, basically after reading this https://help.ubuntu.com/community/UbuntuCloudInfrastructure and digging around the internet I found that nova-volume is deprecated so I have been trying to use cinder instead.

1 Answer
1

Using --to flag without containerization is a really bad idea. We've likened this "Hulk Smashing". Basically you're layering a ton of services on top of each other that all expect to own the machine.

So, what can you do to achieve isolation and still keep everything on one machine? Containerization!

The --to flag has a finesse about it which allows you to do co-location without the potential for catastrophic collisions. --to supports a syntax like --to lxc:0 and --to kvm:0 which will place the service in containers on the machine listed. Almost all the charms in the OpenStack deployment can be safely placed in LXC (or KVM) containers, with the exception of Ceph and nova-compute. Nova-compute because it in itself will provision VMs (and KVM inside LXC is weird) and Ceph because it needs to own disks. You can do an OpenStack deployment without Ceph so that's not a problem and you can nest KVM so nova-compute on KVM to create KVMs (or LXC) should work.

At this point it's all about performance and you won't really get a lot of that with this setup. It should, however, be enough to pilot the process.