diff --git a/README.md b/README.md index b6c995f29..de497a02d 100644 --- a/README.md +++ b/README.md @@ -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`