Performance monitoring and testing of OpenStack
Go to file
Alex Krzos bd6c06c205 Adding matplotlib to requirements.txt and adjusting installation instructions.
Change-Id: I7a39394623b9955f1aab30dc0881fdb6858b1c0e
2015-12-09 09:29:00 -05:00
ansible Changing the RabbitMQ-FD check to 1600 to account 2015-12-09 09:15:43 -05:00
graphing Allow matplotlib to run without a screen. 2015-11-14 09:32:19 -05:00
pbench Move install script to pbench folder. 2015-10-23 11:23:12 -04:00
rally Organize the workload runners into their own subdir 2015-12-08 13:36:27 -05:00
.gitreview Adding GerritHub as our gitreview 2015-12-09 08:45:09 -05:00
browbeat-config Organize the workload runners into their own subdir 2015-12-08 13:36:27 -05:00
browbeat-run-rally.sh Adding pbench to browbeat 2015-10-06 14:25:46 -04:00
browbeat.sh Organize the workload runners into their own subdir 2015-12-08 13:36:27 -05:00
README.md Adding matplotlib to requirements.txt and adjusting installation instructions. 2015-12-09 09:29:00 -05:00
requirements.txt Adding matplotlib to requirements.txt and adjusting installation instructions. 2015-12-09 09:29:00 -05:00

Browbeat

Scripts to help determine number of workers a given OpenStack service needs.

Before running browbeat

  • Execute the ansible/gen_hostfile.sh script (builds the ssh config)
  • Install Tools (rally , shaker, connmon, etc)
  • Configure browbeat-config to match your tests

How to run Browbeat?

On the Red Hat OpenStack Director host, as the Stack user jump into a venv w/ Rally and you simply run:

./browbeat.sh <test name>

What is necessary?

  • Red Hat OpenStack Director
    • Why? We use the keyless ssh to reach each controller instance and compute instance.
  • OpenStack Rally
    • Why? We are using Rally to stress the control plane of the env.
  • 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 yum install -y freetype-devel libpng-devel
$ sudo pip install -Ur requirements.txt
$ ./browbeat.sh test01

Edit browbeat-config for desired tests before running browbeat.sh