GithubHelp home page GithubHelp logo

stsstack-bundles's Introduction

STSStack Bundles

This repository contains a set of bundles that leverage Juju bundle overlays to allow generating complex deployments from a number of options using a single command. These bundles are designed for use with a Juju Openstack provider.

If you look in the top level directory you will see a set of modules. If you then go into these you will find a generate-bundle.sh tool with which you can create a deployment from a number of options.

NOTE: see generate-bundle.sh --help for option info about using that particular module.

The basic usage is as follows:

  • give your deployment a name with (--name)
  • create a Juju model using the given name or use existing one or default
  • add a bunch of feature overlays depending on what you need (see --list-overlays)
  • resources are stored under a named directory so as to be able to avoid collisions and replay later (--replay)
  • immediate deploy (--run) or save for later

Example:

Say you want to deploy Openstack using the Stein release on Bionic and you want to enable ceph and heat with keystone in HA:

$ cd openstack
$ ./generate-bundle.sh --name mytest -r stein --ceph --heat --keystone-ha
Creating Juju model mytest
Added 'mytest' model on stsstack/stsstack with credential 'hopem' for user 'admin'

Created bionic-stein bundle and overlays (using dev/next charms):
 + ceph.yaml
 + openstack-ceph.yaml
 + heat.yaml
 + keystone-ha.yaml

Command to deploy:
juju deploy ./b/mytest/openstack.yaml --overlay ./b/mytest/o/ceph.yaml --overlay ./b/mytest/o/openstack-ceph.yaml --overlay ./b/mytest/o/heat.yaml --overlay ./b/mytest/o/keystone-ha.yaml

Note that the generated bundles and overlays are stored under a directory with the name you specified. You can now either (1) copy the command line above and execute it, or (2) add --run to ./generate-bundle.sh to automatically execute the mode, or (3) source b/mytest/command.

If you need to manually edit a bundle/overlay prior to deploying you can skip the --run argument and either manually run the deploy command once you have made your changes or alternatively re-run with --replay (which will prevent the files from being re-generated).

Note that an OpenStack deployment will almost certainly require the openstack command line client. At the time of this writing, installing openstackclients via snap is not fully supported. Instead, please install the client via package:

sudo apt install python3-openstackclient python3-neutronclient

stsstack-bundles's People

Contributors

dosaboy avatar nicolasbock avatar freyes avatar hemanthnakkina avatar lathiat avatar rodrigogansobarbieri avatar dnegreira avatar pponnuvel avatar drencrom avatar sombrafam avatar tpsilva avatar arif-ali avatar brianphaley avatar niedbalski avatar bilboer avatar rafalop avatar brettmilford avatar casual-lemon avatar zhhuabj avatar wolsen avatar mfoliveira avatar mustafakemalgilor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.