Skip to content

arguslab/juju-openstack-bootstrap

 
 

Repository files navigation

juju-openstack-bootstrap

Quick and easy way to get Juju running on a private OpenStack cloud

  1. Edit config.yml for your environment
  2. Run vagrant up

Afterwards, you can use the Juju client like so.

vagrant ssh

sudo -i
juju status

That's it!

Requirements

  • Modern version of Vagrant
  • OpenStack (Swift and Glance)

Process

This tool does the following steps to prepare for Juju. It is based off of the Set up a Private Cloud using Simplestreams guide.

  1. Retrieve service catalog and token from Keystone
  2. Prepare the environments.yaml file for the Juju client
  3. (optional) Delete the control bucket if it exists
  4. Run juju sync-tools
  5. (optional) Delete any existing images if they exist
  6. Upload Ubuntu cloud images using Glance
  7. Generate image metadata files using juju metadata generate-image
  8. Upload generated image metadata to the control bucket
  9. Run juju bootstrap

Juju creates and uses a container on Swift for metadata storage (called the control bucket). This container is created when running juju sync-tools or juju bootstrap.

About

Deploy Juju on your private OpenStack cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.3%
  • Shell 3.7%