Adding example install/run commands.

This commit is contained in:
Alex Krzos 2015-12-08 21:50:42 -05:00
parent ec6620360d
commit d5d5074414

View File

@ -19,3 +19,26 @@ On the Red Hat OpenStack Director host, as the Stack user jump into a venv w/ Ra
* Ansible
* Why? We started with using bash to make changes to the Overcloud, creating complex sed/awks that we get for free with Ansible (for the most part). If you prefer to not use Ansible, the older versions (no longer maintained) of the browbeat.sh can be found here.
# Example Install and Run
On director (As stack user):
```
$ git clone https://github.com/jtaleric/browbeat.git
$ cd browbeat/ansible
$ ./gen_hostfile.sh localhost ~/.ssh/config
$ cd ~
$ sudo yum install -y libffi-devel gmp-devel postgresql-devel
$ wget -q -O- https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh | bash
$ . ~/rally/bin/activate
$ . ~stack/overcloudrc
$ rally deployment create --fromenv --name overcloud
$ wget http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
$ glance image-create --name centos7 --disk-format=qcow2 --container-format=bare < CentOS-7-x86_64-GenericCloud.qcow2
$ glance image-update centos7 --is-public true
$ . ~stack/stackrc
$ cd browbeat
$ sudo pip install -Ur requirements.txt
$ ./browbeat.sh test01
```
Edit `browbeat-config` for desired tests before running `browbeat.sh`