Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
git clone https://github.com/openstack/browbeat.git
cd browbeat
cd ansible
./generate_tripleo_hostfile.sh -l
[stack@f27-h32-000-r630 ansible]$ cat /etc/resolv.conf
# Generated by NetworkManager
search rdu2.scalelab.redhat.com
nameserver 10.1.32.3
nameserver 10.1.32.4
$ From above, add first name server i.e 10.1.32.3 to install/group_vars/all.yml i.e dns_server : 10.1.32.3
#edit
vi install/group_vars/all.yml
#set
dns_server : <first nameserver from undercloud's /etc.resolv.conf >
collectd_compute: true
iostat_controller_collectd_plugin: true
rabbitmq_controller_collectd_plugin: true
graphite_host: norton.perf.lab.eng.rdu2.redhat.com
graphite_prefix: ovn_osp13_2_11 or whatever prefix u want
grafana_host: norton.perf.lab.eng.rdu2.redhat.com
grafana_password: 100yard-
grafana_apikey: eyJrIjoiSVpNMkZxb2pVMFlYbk1BNno3enhhRWxwbmN2YkhYWloiLCJuIjoic2FpLWFkbWluIiwiaWQiOjF9
ansible-playbook -i hosts install/browbeat.yml
============================================================
If you get a bad credential error
source overcloudrc
cd ..
source .rally-venv/bin/activate
rally db create
rally deployment create --fromenv --name overcloud
rally deployment check
pip freeze | grep rally
# if the rally-openstack version is greater than 1.4.0
pip uninstall rally-openstack
pip uninstall rally
pip install rally-openstack==1.3.0
pip install rally==1.4.0
rally db recreate
rally deployment destroy overcloud
rally deployment create --fromenv --name overcloud
===================================================
(.rally-venv) (overcloud) [stack@undercloud-0 browbeat]$ rally deployment check
--------------------------------------------------------------------------------
Platform openstack:
--------------------------------------------------------------------------------
Available services:
+-------------+----------------+-----------+
| Service | Service Type | Status |
+-------------+----------------+-----------+
| __unknown__ | alarming | Available |
| __unknown__ | event | Available |
| __unknown__ | placement | Available |
| ceilometer | metering | Available |
| cinder | volume | Available |
| cinderv2 | volumev2 | Available |
| cinderv3 | volumev3 | Available |
| cloud | cloudformation | Available |
| glance | image | Available |
| gnocchi | metric | Available |
| heat | orchestration | Available |
| keystone | identity | Available |
| neutron | network | Available |
| nova | compute | Available |
| swift | object-store | Available |
+-------------+----------------+-----------+
deactivate
cd ansible
=============================================================
Installing collectd ==============
ansible-playbook -i hosts install/collectd-openstack.yml #optional
cd ..
vi browbeat-config.yaml, and change 'browbeat' and 'elasticsearch' sections. This cloudname will be used in elastic search to identify our test runs
browbeat:
cloud_name: ovn_osp13_2_11
elasticsearch:
enabled: true
host: elk-b09-h30-r720xd.rdu.openstack.engineering.redhat.com
source .browbeat-venv/bin/activate
python browbeat.py rally
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.