stfc / st2-cloud-pack

A bespoke pack for SCD Cloud containing elements for managing Openstack and supporting infrastructure
0 stars 5 forks source link

stackstorm-openstack-pack

A Stackstorm pack for running Openstack scripts built for the STFC Cloud team

Documentation Links

References

How Tos

Pack Features

  1. Handle creating Internal and External Projects in Openstack

  2. Automatically list VM properties per user based on certain criteria

  3. Query Openstack Resources (with Query Library)

    • allows running more complex queries than cli provides
    • get VM shutoff/error, older/younger than threshold etc.
  4. Send Emails to Openstack Users

In Progress Features

  1. Create/Delete Openstack Resources

  2. Reboot Hypervisors, schedule downtimes in Icinga

  3. Stop/Restart/Reboot VMs

  4. Other miscellaneous Openstack Commands

Setup Pack

Connecting To Openstack

Openstack openrc config file is required for this pack to work.

The openrc file must be stored in any of these locations (on the VM or host running StackStorm):

see how to install StackStorm here: https://docs.stackstorm.com/install/

Install the pack like so: st2 pack install https://github.com/stfc/st2-cloud-pack

Pack Configuration

You can either: