1c3b60a8c8
* Mix and Match Workloads * rerun_type - ['iteration', 'complete'] - allows you to rerun complete browbeat workload or iteratively * browbeat/config.py for loading and validating config schema * tests/test_config.py to test config.py Change-Id: I99ea87c01c17d5d06cf7f8d1eec3299aa8d483a5
109 lines
3.1 KiB
YAML
109 lines
3.1 KiB
YAML
# Stress test designed for telemetry services (ceilometer, gnocchi) by
|
|
# booting persisting xtiny cirros instances. It boots 500 each iteration
|
|
# with a concurrency of 20 instances. A total of 5000 instances are
|
|
# booted. These instances are attached to a network which creates
|
|
# additional telemetry load. In between Boot storms, Gnocchi responsiveness
|
|
# benchmarks are run to verify responsiveness at scale. Afterwards, view
|
|
# how system resources and api responsiveness degrade over each new set of
|
|
# instances booted.
|
|
browbeat:
|
|
cloud_name: openstack
|
|
rerun: 10
|
|
rerun_type: complete
|
|
ansible:
|
|
hosts: ansible/hosts
|
|
metadata_playbook: ansible/gather/site.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
|
|
perfkit:
|
|
sleep_before: 0
|
|
sleep_after: 0
|
|
default:
|
|
image: centos7
|
|
machine_type: m1.small
|
|
os_type: rhel
|
|
openstack_image_username: centos
|
|
openstack_floating_ip_pool: browbeat_public
|
|
openstack_network: browbeat_private
|
|
timing_measurements: runtimes
|
|
ignore_package_requirements: true
|
|
rally:
|
|
sleep_before: 5
|
|
sleep_after: 5
|
|
plugins:
|
|
- browbeat: rally/rally-plugins/browbeat
|
|
- nova: rally/rally-plugins/nova
|
|
- neutron: rally/rally-plugins/neutron
|
|
- gnocchi: rally/rally-plugins/gnocchi
|
|
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
|
|
yoda:
|
|
instackenv: "/home/stack/instackenv.json"
|
|
stackrc: "/home/stack/stackrc"
|
|
|
|
workloads:
|
|
|
|
# Baseline Gnocchi API
|
|
- name: BrowbeatGnocchiResponsiveness
|
|
enabled: true
|
|
type: rally
|
|
concurrency:
|
|
- 8
|
|
times: 5000
|
|
scenarios:
|
|
- name: gnocchi-metric-get-measures-agg-mean-Baseline
|
|
enabled: true
|
|
all_metrics: true
|
|
aggregation: mean
|
|
file: rally/rally-plugins/gnocchi/gnocchi-metric-get-measures.yml
|
|
- name: gnocchi-create-delete-metric-Baseline
|
|
enabled: true
|
|
times: 1000
|
|
file: rally/rally-plugins/gnocchi/gnocchi-create-delete-metric.yml
|
|
- name: gnocchi-create-delete-resource-Baseline
|
|
enabled: true
|
|
times: 1000
|
|
file: rally/rally-plugins/gnocchi/gnocchi-create-delete-resource.yml
|
|
|
|
# Boot 500 instances
|
|
- name: BrowbeatNovaPersistWithNetwork
|
|
enabled: true
|
|
type: rally
|
|
concurrency:
|
|
- 20
|
|
times: 500
|
|
scenarios:
|
|
- name: nova-boot-persist-with-network-500
|
|
enabled: true
|
|
image_name: cirros
|
|
flavor_name: m1.xtiny
|
|
network_start_cidr: 10.1.0.0/23
|
|
cleanup_delay: 1800
|
|
file: rally/rally-plugins/nova/nova_boot_persist_with_network.yml
|