I heard you liked Cloud, so we put some cloud in your cloudâ€¦ well, you get where that is going. Basically, nesting OpenStack inside OpenStack has some interesting use cases for development. That is, if you are running DevStack on the Rackspace OpenCloud, or if your project is a bit more sensitive and you are running a Private OpenStack install and need to test OpenStack within that. Maybe itâ€™s part of your continuous integration pipelineâ€¦ whatever the reason, nesting OpenStack in OpenStack is actually quite straight forward.
My setup: To start, I am running the Rackspace Private Cloud distro (Folsom based) in VMware Fusion per the guide here. I am sure however, itâ€™s simple enough to start with DevStack or some other flavor of choice as well.
- Create an Ubuntu 12.04 image
- apt-get update && apt-get dist-upgrade -y
- sudo apt-get install -y git python-netaddr
- git clone https://github.com/openstack-dev/devstack.git
- cd devstack
- cat<<LOCALRC | tee localrc
Note: Step 6 should pasted whole, no additional breaks, etc.
Finally, rather than bind a floating IP to the instance, I SSH tunneled to get the Horizon dashboard:
Attribution: https://gist.github.com/3969250 < This helped with the devstack setup for me.