https://github.com/percona/openstack_ansible
https://github.com/percona/openstack_ansible
gs
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/percona/openstack_ansible
- Owner: percona
- Created: 2014-10-14T13:13:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-22T11:10:24.000Z (about 11 years ago)
- Last Synced: 2025-07-22T19:48:11.333Z (12 months ago)
- Topics: gs
- Language: Python
- Size: 566 KB
- Stars: 8
- Watchers: 78
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ansible recipes to setup Openstack benchmarking cluster on AWS. This doesn't actually start vms and the tenant network is not reachable, but all the backend operations will happen. The only purpose of this is to be able to quickly benchmark the openstack's backend.
-----
Tools
-----
To generate all the passwords for Openstack, just do, for the to level directory::
```
./tools/gen_openstack_passwords.sh
```
You need to set up in aws access in .boto.
Set up instance details in roles/aws/vars/main.yml
Create the instances:
```
python generate_aws_yml.py
```
This will generate the playbooks for creating and tearing down the aws instances used.
In order to create instances do:
```
ansible-playbook -i aws_inventory.yml aws_create.yml
```
This will create the hosts file.
To set up the cluster, run the whole playbook.
```
ansible-playbook -u ubuntu -i hosts site.yml
```
Check hosts file or the AWS console for the machines.
To destroy the machines:
```
ansible-playbook -i aws_inventory aws_destroy.yml
```