A tool for quick creation and deployment of Openstack machines used for QA testing.
Project description
Give me an instance of mine image on OpenStack. Hurry!
QuickStart
Installation
There are several ways of 5minute installation. You pick one of the following.
Fedora
5minute package is available in Fedora repository.
dnf install 5minute
Copr repository
For the latest builds enable Copr repository
dnf copr enable mkorbel/5minute
and install the 5minute.
dnf install 5minute
Manual Installation
To run 5minute you need to install following libs:
python3-keystoneclient python3-cinderclient python3-heatclient python3-neutronclient python3-novaclient python3-glanceclient python3-xmltodict python3-prettytable
To install them as RPMs (Fedora), run dnf -y install $( cat requirement-rpms.txt ).
If you have installed 5minute using pip install vminute, they have been installed as dependencies. Otherwise, you have to install them manually.
Get config file
Login into your OpenStack instance WebUI
Navigate to Project -> API Access
Save file from “Download OpenStack RC File” to ~/.5minute/config
Get started
Show help:
5minute help
Upload your SSH public key:
5minute key ~/.ssh/id_rsa.pub
Show images we can work with:
5minute images
Boot your machine (consider adding ‘–name’ or ‘–flavor’ to the command):
5minute boot <image_name_or_id>
When the boot is finished, you should be able to ssh to your new machine
ssh root@<machine_ip_address>
You can list your current machines:
5minute list
When you are done, kill the machine (you can do this via OpenStack webUI as well):
5minute delete <machine_name_or_id>
To list available OpenStack scenarios:
5minute scenario templates
Run scenario:
5minute scenario boot <scenario_template_name>
When finished with the scenario, you should delete it:
5minute scenario delete <scenario_name_or_id>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file vminute-0.2.32.tar.gz
.
File metadata
- Download URL: vminute-0.2.32.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6ea7d91bf925fa0b7301e58a4cf2f46260d20b41f694cee6b96d223f2493d56 |
|
MD5 | 40cfaf7107ba8744fdcdcdacc48a3dc8 |
|
BLAKE2b-256 | 386c5fb4f4b42398532e6ac2b5882825b7fa61d5c2c7525c0ebf89aa711fb963 |