![Sanjay Chari](/assets/img/avatar_default.png)
This patch introduces the following changes. 1. Playbooks have been created to start collectd on different hosts. 2. A feature has been added that allows a user to start collectd containers before running workloads, and stop the collectd containers after running the workloads. This will help us in minimising the space used for storing collectd data. Change-Id: I7926884f461e97bc67453f46eef0121c46c7f19e
93 lines
2.5 KiB
YAML
93 lines
2.5 KiB
YAML
# Ceilometer stress test that boots persisting xtiny cirros instances.
|
|
# It boots 20 each iteration with a concurrency of 5 instances. Inbetween
|
|
# each iteration it measures response time of several Ceilometer APIs.
|
|
# Currently it maxs at 200 instances
|
|
browbeat:
|
|
cloud_name: openstack
|
|
rerun: 10
|
|
rerun_type: complete
|
|
start_stop_collectd: false
|
|
ansible:
|
|
hosts: ansible/hosts
|
|
metadata_playbook: ansible/gather/stockpile.yml
|
|
logging_playbook: ansible/common_logging/browbeat_logging.yml
|
|
start_collectd_playbook: ansible/install/start-collectd.yml
|
|
stop_collectd_playbook: ansible/install/stop-collectd.yml
|
|
check_collectd_config_playbook: ansible/install/check-collectd-config.yml
|
|
ssh_config: ansible/ssh-config
|
|
elasticsearch:
|
|
enabled: false
|
|
host: 1.1.1.1
|
|
port: 9200
|
|
regather: false
|
|
metadata_files:
|
|
- name: hardware-metadata
|
|
file: metadata/hardware-metadata.json
|
|
- name: environment-metadata
|
|
file: metadata/environment-metadata.json
|
|
- name: software-metadata
|
|
file: metadata/software-metadata.json
|
|
- name: version
|
|
file: metadata/version.json
|
|
grafana:
|
|
enabled: true
|
|
host: example.grafana.com
|
|
port: 3000
|
|
dashboards:
|
|
- openstack-general-system-performance
|
|
filebeat:
|
|
enabled: false
|
|
rally:
|
|
sleep_before: 5
|
|
sleep_after: 5
|
|
plugins:
|
|
- browbeat: rally/rally-plugins/browbeat
|
|
- nova: rally/rally-plugins/nova
|
|
shaker:
|
|
server: 1.1.1.1
|
|
port: 5555
|
|
flavor: m1.small
|
|
join_timeout: 600
|
|
sleep_before: 0
|
|
sleep_after: 0
|
|
shaker_region: regionOne
|
|
external_host: 2.2.2.2
|
|
|
|
workloads:
|
|
# Measure Ceilometer Response Timings
|
|
- name: Ceilometer
|
|
enabled: true
|
|
type: rally
|
|
concurrency:
|
|
- 8
|
|
times: 500
|
|
scenarios:
|
|
- name: list_meters
|
|
enabled: true
|
|
file: rally/CeilometerMeters/list_meters-cc.yml
|
|
- name: create_and_query_samples-01
|
|
enabled: true
|
|
file: rally/CeilometerQueries/create_and_query_samples-cc.yml
|
|
- name: list_resources
|
|
enabled: true
|
|
file: rally/CeilometerResource/list_resources-cc.yml
|
|
- name: list_samples
|
|
enabled: true
|
|
file: rally/CeilometerSamples/list_samples-cc.yml
|
|
- name: get_stats
|
|
enabled: true
|
|
file: rally/CeilometerStats/get_stats-cc.yml
|
|
# Boot 20 instances
|
|
- name: BrowbeatNovaPersist
|
|
enabled: true
|
|
type: rally
|
|
concurrency:
|
|
- 5
|
|
times: 20
|
|
scenarios:
|
|
- name: nova-boot-20
|
|
enabled: true
|
|
image_name: cirros
|
|
flavor_name: m1.xtiny
|
|
file: rally/rally-plugins/nova/nova_boot_persist.yml
|