supernova – manage multiple openstack environment

2016-08-01 1 min read Vurtualization

supernova is an easy to use tool that helps manage multiple openstack environments.

Details –

Name        : supernova
Arch        : noarch
Epoch       : 0
Version     : 2.2.0
Release     : 2.fc24
Size        : 62 k
Repo        : @System
From repo   : fedora
Summary     : Use novaclient with multiple OpenStack nova environments the easy way
URL         : https://github.com/major/supernova
License     : ASL 2.0
Description : supernova manages multiple nova environments without sourcing
novarc files or mucking with environment variables.

To get started, start with installing supernova with

dnf install supernova

and after that you need to create the configuration file, typically “~/.supernova” with content such as:

1
2
3
4
5
6
7
8
9
10
[production]
OS_AUTH_URL=https://identity.api.rackspacecloud.com/v2.0/
OS_AUTH_SYSTEM=rackspace
OS_COMPUTE_API_VERSION=1.1
NOVA_RAX_AUTH=1
OS_REGION_NAME=<a class="zem_slink" title="Deutsche Flugzeug-Werke" href="http://en.wikipedia.org/wiki/Deutsche_Flugzeug-Werke" target="_blank" rel="wikipedia">DFW</a>
NOVA_SERVICE_NAME=cloudServersOpenStack
OS_PASSWORD=my_password
OS_USERNAME=my_username
OS_TENANT_NAME=my_tenant_name
1
2
3
4
5
6
7
8
9
10
[development]
OS_AUTH_URL=https://identity.api.rackspacecloud.com/v2.0/
OS_AUTH_SYSTEM=rackspace
OS_COMPUTE_API_VERSION=1.1
NOVA_RAX_AUTH=1
OS_REGION_NAME=DFW
NOVA_SERVICE_NAME=cloudServersOpenStack
OS_PASSWORD=my_password-devel
OS_USERNAME=my_username-devel
OS_TENANT_NAME=my_tenant_name
1
You can check out the configuration section of <a href="http://supernova.readthedocs.io/en/latest/gettingstarted/">Getting started</a> page.

And once you have created the configuration file, it is very simple. Some example commands

supernova [enviromment_name[,enviromment_name]...] [commands]

Examples

supernova prod list
supernova prod image-list
supernova prod flavor-list
supernova prod boot --image image_uuid --flavor flavor_id myserver.example.com
comments powered by Disqus