This section provides a set of manual steps to set up a development environment for an OpenStack controller in a virtual machine using Vagrant and Kayobe.
For a more automated and flexible procedure, see Automated Setup.
Follow the steps in Vagrant to prepare your environment for use with Vagrant and bring up a Vagrant VM.
Sometimes the best way to learn a tool is to ditch the scripts and perform a manual installation.
SSH into the controller VM:
Source the kayobe virtualenv activation script:
Change the current directory to the Vagrant shared directory:
Source the kayobe environment file:
Bootstrap the kayobe control host:
kayobe control host bootstrap
Configure the controller host:
kayobe overcloud host configure
At this point, container images must be acquired. They can either be built locally or pulled from an image repository if appropriate images are available.
Either build container images:
kayobe overcloud container image build
Or pull container images:
kayobe overcloud container image pull
Deploy the control plane services:
kayobe overcloud service deploy
Source the OpenStack environment file:
Perform post-deployment configuration:
kayobe overcloud post configure
The OpenStack control plane should now be active. Try out the following:
- register a user
- create an image
- upload an SSH keypair
- access the horizon dashboard
The cloud is your oyster!
Create virtual baremetal nodes to be managed by the OpenStack control plane.