Cleanup the config files.

Change-Id: I3f529176375c10627316f8c45ff1a392ae4edf99
This commit is contained in:
Alex Krzos 2016-02-12 14:28:01 -05:00
parent 3957205453
commit 3b0e722c40
4 changed files with 14 additions and 14 deletions

View File

@ -3,8 +3,8 @@
# Playbook to change token type from uuid to fernet and back for keystone. # Playbook to change token type from uuid to fernet and back for keystone.
# #
# Examples: # Examples:
# ansible-playbook -i hosts browbeat/keystone_token_type.yml -e "token_provider=fernet" # ansible-playbook -i hosts browbeat/adjustment-keystone-token.yml -e "token_provider=fernet"
# ansible-playbook -i hosts browbeat/keystone_token_type.yml -e "token_provider=uuid" # ansible-playbook -i hosts browbeat/adjustment-keystone-token.yml -e "token_provider=uuid"
# #
- hosts: controller - hosts: controller

View File

@ -2,11 +2,8 @@
browbeat: browbeat:
results : results/ results : results/
sudo: true sudo: true
debug: false
rally_venv: /home/stack/browbeat-venv/bin/activate
connmon: true connmon: true
rerun: 3 rerun: 3
num_workers: None
ansible: ansible:
hosts: ansible/hosts hosts: ansible/hosts
install: install:
@ -14,8 +11,10 @@ ansible:
browbeat: ansible/install/browbeat.yml browbeat: ansible/install/browbeat.yml
check: ansible/check/site.yml check: ansible/check/site.yml
adjust: adjust:
workers: ansible/browbeat/adjustment.yml keystone_token: ansible/browbeat/adjustment-keystone-token.yml
keystone-token: browbeat/keystone_token_type.yml neutron_l3: ansible/browbeat/adjustment-l3.yml
nova_db: ansible/browbeat/adjustment-db.yml
workers: ansible/browbeat/adjustment-workers.yml
grafana: grafana:
enabled: true enabled: true
cloud_name: openstack cloud_name: openstack
@ -23,6 +22,7 @@ grafana:
- openstack-general-system-performance - openstack-general-system-performance
url: http://grafana-host.example.com:3000/dashboard/db/ url: http://grafana-host.example.com:3000/dashboard/db/
rally: rally:
venv: /home/stack/browbeat-venv/bin/activate
benchmarks: benchmarks:
cinder: cinder:
enabled: true enabled: true

View File

@ -2,11 +2,8 @@
browbeat: browbeat:
results : results/ results : results/
sudo: true sudo: true
debug: false
connmon: true connmon: true
rally_venv: /home/stack/browbeat-venv/bin/activate
rerun: 1 rerun: 1
num_workers: None
ansible: ansible:
hosts: ansible/hosts hosts: ansible/hosts
install: install:
@ -14,8 +11,10 @@ ansible:
browbeat: ansible/install/browbeat.yml browbeat: ansible/install/browbeat.yml
check: ansible/check/site.yml check: ansible/check/site.yml
adjust: adjust:
workers: ansible/browbeat/adjustment.yml keystone_token: ansible/browbeat/adjustment-keystone-token.yml
keystone-token: browbeat/keystone_token_type.yml neutron_l3: ansible/browbeat/adjustment-l3.yml
nova_db: ansible/browbeat/adjustment-db.yml
workers: ansible/browbeat/adjustment-workers.yml
grafana: grafana:
enabled: true enabled: true
cloud_name: openstack cloud_name: openstack
@ -23,6 +22,7 @@ grafana:
- openstack-general-system-performance - openstack-general-system-performance
url: http://grafana-host.example.com:3000/dashboard/db/ url: http://grafana-host.example.com:3000/dashboard/db/
rally: rally:
venv: /home/stack/browbeat-venv/bin/activate
benchmarks: benchmarks:
cinder: cinder:
enabled: true enabled: true
@ -63,7 +63,7 @@ rally:
enabled: true enabled: true
concurrency: concurrency:
- 8 - 8
times: 40 times: 10
scenarios: scenarios:
boot-list-centos: boot-list-centos:
enabled: false enabled: false

View File

@ -28,7 +28,7 @@ class Rally:
from_ts = int(time.time() * 1000) from_ts = int(time.time() * 1000)
task_args = str(scenario_args).replace("'", "\"") task_args = str(scenario_args).replace("'", "\"")
cmd = "source {}; \\".format(self.config['browbeat']['rally_venv']) cmd = "source {}; \\".format(self.config['rally']['venv'])
cmd +="rally task start {} --task-args \'{}\' 2>&1 | tee {}.log".format(task_file, cmd +="rally task start {} --task-args \'{}\' 2>&1 | tee {}.log".format(task_file,
task_args, test_name) task_args, test_name)
self.tools.run_cmd(cmd) self.tools.run_cmd(cmd)