Quick and easy way to get Juju running on a private OpenStack cloud
- Edit
config.yml
for your environment - Run
vagrant up
Afterwards, you can use the Juju client like so.
vagrant ssh
sudo -i
juju status
That's it!
- Modern version of Vagrant
- OpenStack (Swift and Glance)
This tool does the following steps to prepare for Juju. It is based off of the Set up a Private Cloud using Simplestreams guide.
- Retrieve service catalog and token from Keystone
- Prepare the
environments.yaml
file for the Juju client - (optional) Delete the metadata container if it exists
- (optional) Delete any existing images if they exist
- Upload Ubuntu cloud images using Glance
- Generate image metadata files using
juju metadata generate-image
- Upload generated image metadata to the metadata container
- Run
juju bootstrap
Juju creates and uses a container on Swift for image metadata. This container is created when running juju sync-tools
or juju bootstrap
.