https://github.com/morucci/loadandcheck
Simple script to start random amount of VMs on an Openstack cloud and check SSH connectivity
https://github.com/morucci/loadandcheck
Last synced: about 1 year ago
JSON representation
Simple script to start random amount of VMs on an Openstack cloud and check SSH connectivity
- Host: GitHub
- URL: https://github.com/morucci/loadandcheck
- Owner: morucci
- Created: 2014-11-06T14:02:33.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-06T18:36:51.000Z (almost 11 years ago)
- Last Synced: 2025-02-10T05:41:51.066Z (over 1 year ago)
- Language: Python
- Size: 168 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
The purpose of this little script is to start a defined amount
of VMs on an OpenStack cloud and check the SSH availability of the
created VMs.
The main purpose was to test, that regarding the amount of VMs you want to
deploy, all VMs get connectivy and reach the meta data server to fetch
the SSH priv key.
What the scipt do
-----------------
- The script create a HEAT template
- Create the HEAT stack
- Wait for stack and all SSH server of VMs are UP
- Try to connect via the floating IP
- Report failed and succeed connections
Usage
-----
First load your Openstack env before starting that command.
Be sure to have installed python-heatclient.
python loadandcheck.py --anodes 8 --keyname mykey --nuuid 6c83db7b-480e-4198-bc69-88df6fd17e55
--iid 5e72e6bf-7604-4141-8ace-47565551aa4f --itype m1.small
Caution
-------
This script has been written to perform a quick test so the code
is not really clean.