b21cd3cebc
Yoda is a Browbeat workload for Ironic and TripleO It can perform and monitor the following * Introspection bulk or batch * Cloud deployment with varying node types and numbers * Baremetal node import timing (actually done during introspection tests) Metrics that are gathered inclue * Time to pxe * Time till pingable * Success/Failure rate ahd times * Overcloud Metadata after each deploy Potential issues Change-Id: I89809cc35db2cfaa39f8ede49ec853572c0e468e
403 lines
11 KiB
YAML
403 lines
11 KiB
YAML
# Complete set of Stress Tests, this can take a long time (day(s))
|
|
browbeat:
|
|
results : results/
|
|
rerun: 3
|
|
cloud_name: openstack
|
|
elasticsearch:
|
|
enabled: false
|
|
regather: false
|
|
host: 1.1.1.1
|
|
port: 9200
|
|
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
|
|
ansible:
|
|
ssh_config: ansible/ssh-config
|
|
hosts: ansible/hosts
|
|
adjust:
|
|
keystone_token: ansible/browbeat/adjustment-keystone-token.yml
|
|
neutron_l3: ansible/browbeat/adjustment-l3.yml
|
|
nova_db: ansible/browbeat/adjustment-db.yml
|
|
workers: ansible/browbeat/adjustment-workers.yml
|
|
grafana_snapshot: ansible/browbeat/snapshot-general-performance-dashboard.yml
|
|
metadata: ansible/gather/site.yml
|
|
connmon:
|
|
enabled: false
|
|
sudo: true
|
|
grafana:
|
|
enabled: true
|
|
grafana_ip: 1.1.1.1
|
|
grafana_port: 3000
|
|
dashboards:
|
|
- openstack-general-system-performance
|
|
snapshot:
|
|
enabled: false
|
|
snapshot_compute: false
|
|
perfkit:
|
|
enabled: true
|
|
sleep_before: 0
|
|
sleep_after: 0
|
|
venv: /home/stack/perfkit-venv/bin/activate
|
|
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
|
|
benchmarks:
|
|
- name: fio-centos-m1-small
|
|
enabled: false
|
|
benchmarks: fio
|
|
openstack_volume_size: 1
|
|
rally:
|
|
enabled: true
|
|
sleep_before: 5
|
|
sleep_after: 5
|
|
venv: /home/stack/rally-venv/bin/activate
|
|
plugins:
|
|
- netcreate-boot: rally/rally-plugins/netcreate-boot
|
|
- netcreate-boot-ping: rally/rally-plugins/netcreate-boot-ping
|
|
- subnet-router-create: rally/rally-plugins/subnet-router-create
|
|
- glance-create-boot-delete: rally/rally-plugins/glance-create-boot-delete
|
|
|
|
benchmarks:
|
|
- name: authenticate
|
|
enabled: true
|
|
concurrency:
|
|
- 64
|
|
- 128
|
|
- 192
|
|
- 256
|
|
- 320
|
|
- 384
|
|
- 448
|
|
- 512
|
|
times: 10000
|
|
scenarios:
|
|
- name: authentic-keystone
|
|
enabled: true
|
|
file: rally/authenticate/keystone-cc.yml
|
|
sla_max_avg_duration: 6
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: authentic-neutron
|
|
enabled: true
|
|
file: rally/authenticate/validate_neutron-cc.yml
|
|
sla_max_avg_duration: 18
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: authentic-nova
|
|
enabled: true
|
|
file: rally/authenticate/validate_nova-cc.yml
|
|
sla_max_avg_duration: 12
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: cinder
|
|
enabled: true
|
|
concurrency:
|
|
- 16
|
|
- 32
|
|
- 48
|
|
- 64
|
|
times: 128
|
|
scenarios:
|
|
- name: create-attach-volume-centos
|
|
enabled: true
|
|
file: rally/cinder/cinder-create-and-attach-volume-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-attach-volume-cirros
|
|
enabled: true
|
|
image_name: cirros
|
|
file: rally/cinder/cinder-create-and-attach-volume-cc.yml
|
|
flavor_name: m1.tiny
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: keystonebasic
|
|
enabled: true
|
|
concurrency:
|
|
- 256
|
|
times: 5000
|
|
scenarios:
|
|
- name: create-and-list-tenants
|
|
enabled: true
|
|
file: rally/keystonebasic/create_and_list_tenants-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
times: 5000
|
|
concurrency:
|
|
- 256
|
|
- name: create-and-list-users
|
|
enabled: true
|
|
file: rally/keystonebasic/create_and_list_users-cc.yml
|
|
times: 5000
|
|
concurrency:
|
|
- 256
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: neutron
|
|
enabled: true
|
|
concurrency:
|
|
- 16
|
|
- 32
|
|
- 48
|
|
- 64
|
|
times: 500
|
|
scenarios:
|
|
- name: create-list-network
|
|
enabled: true
|
|
file: rally/neutron/neutron-create-list-network-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-list-port
|
|
enabled: true
|
|
file: rally/neutron/neutron-create-list-port-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-list-router
|
|
enabled: true
|
|
file: rally/neutron/neutron-create-list-router-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-list-security-group
|
|
enabled: true
|
|
file: rally/neutron/neutron-create-list-security-group-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-list-subnet
|
|
enabled: true
|
|
file: rally/neutron/neutron-create-list-subnet-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: nova
|
|
enabled: true
|
|
concurrency:
|
|
- 16
|
|
- 32
|
|
- 48
|
|
- 64
|
|
- 80
|
|
- 96
|
|
times: 128
|
|
scenarios:
|
|
- name: boot-snapshot-delete-cirros
|
|
enabled: true
|
|
file: rally/nova/nova-boot-snapshot-cc.yml
|
|
image_name: cirros
|
|
flavor_name: m1.xtiny
|
|
net_id:
|
|
- name: boot-list-cirros
|
|
enabled: true
|
|
image_name: cirros
|
|
file: rally/nova/nova-boot-list-cc.yml
|
|
flavor_name: m1.xtiny
|
|
net_id:
|
|
- name: boot-show-cirros
|
|
enabled: true
|
|
image_name: cirros
|
|
file: rally/nova/nova-boot-show-cc.yml
|
|
flavor_name: m1.xtiny
|
|
net_id:
|
|
- name: boot-bounce-delete-cirros
|
|
enabled: true
|
|
image_name: cirros
|
|
file: rally/nova/nova-boot-bounce-delete-cc.yml
|
|
flavor_name: m1.xtiny
|
|
net_id:
|
|
- name: boot-lock-unlock-cirros
|
|
enabled: true
|
|
image_name: cirros
|
|
file: rally/nova/nova-lock-unlock-cc.yml
|
|
flavor_name: m1.xtiny
|
|
net_id:
|
|
- name: glance
|
|
enabled: true
|
|
concurrency:
|
|
- 8
|
|
times: 10
|
|
scenarios:
|
|
- name: create-image-boot-instances
|
|
enabled: true
|
|
image_location: /home/stack/cirros
|
|
instances: 2
|
|
flavor_name: m1.small
|
|
file: rally/glance/create-image-and-boot-instances-cc.yml
|
|
- name: create-and-delete-image
|
|
enabled: true
|
|
image_location: /home/stack/cirros
|
|
flavor_name: m1.small
|
|
file: rally/glance/create-and-delete-image-cc.yml
|
|
- name: create-and-list-image
|
|
enabled: true
|
|
image_location: /home/stack/cirros
|
|
file: rally/glance/create-and-list-image-cc.yml
|
|
- name: list-images
|
|
enabled: true
|
|
file: rally/glance/list-images-cc.yml
|
|
- name: plugins
|
|
enabled: true
|
|
concurrency:
|
|
- 16
|
|
- 32
|
|
- 48
|
|
- 64
|
|
times: 128
|
|
scenarios:
|
|
- name: netcreate-boot
|
|
enabled: true
|
|
image_name: cirros
|
|
flavor_name: m1.tiny
|
|
file: rally/rally-plugins/netcreate-boot/netcreate_boot.yml
|
|
sla_max_avg_duration: 12
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: subnet-router-create
|
|
enabled: true
|
|
num_networks: 50
|
|
file: rally/rally-plugins/subnet-router-create/subnet-router-create.yml
|
|
- name: glance-create-boot-delete
|
|
enabled: true
|
|
flavor_name: m1.tiny
|
|
image_location: /home/stack/cirros
|
|
file: rally/rally-plugins/glance-create-boot-delete/glance_create_boot_delete.yml
|
|
#shaker scenarios require atleast 2 compute nodes
|
|
shaker:
|
|
enabled: true
|
|
server: 1.1.1.1
|
|
port: 5555
|
|
flavor: m1.small
|
|
join_timeout: 600
|
|
sleep_before: 5
|
|
sleep_after: 5
|
|
venv: /home/stack/shaker-venv
|
|
shaker_region: regionOne
|
|
external_host: 2.2.2.2
|
|
scenarios:
|
|
- name: l2-4-1
|
|
enabled: true
|
|
density: 4
|
|
compute: 1
|
|
progression: linear
|
|
time: 60
|
|
file: lib/python2.7/site-packages/shaker/scenarios/openstack/dense_l2.yaml
|
|
- name: l2-8-1
|
|
enabled: true
|
|
density: 8
|
|
compute: 1
|
|
progression: linear
|
|
time: 60
|
|
file: lib/python2.7/site-packages/shaker/scenarios/openstack/dense_l2.yaml
|
|
- name: l2-4-2
|
|
enabled: true
|
|
density: 4
|
|
compute: 2
|
|
progression: linear
|
|
time: 60
|
|
file: lib/python2.7/site-packages/shaker/scenarios/openstack/dense_l2.yaml
|
|
- name: l2-8-2
|
|
enabled: true
|
|
density: 8
|
|
compute: 2
|
|
progression: linear
|
|
time: 60
|
|
file: lib/python2.7/site-packages/shaker/scenarios/openstack/dense_l2.yaml
|
|
- name: l3-north-south-4-1
|
|
enabled: true
|
|
placement: single_room
|
|
density: 4
|
|
compute: 1
|
|
progression: null
|
|
file: lib/python2.7/site-packages/shaker/scenarios/openstack/dense_l3_north_south.yaml
|
|
- name: l3-north-south-8-1
|
|
enabled: false
|
|
placement: single_room
|
|
density: 8
|
|
compute: 1
|
|
progression: null
|
|
time: 60
|
|
file: lib/python2.7/site-packages/shaker/scenarios/openstack/dense_l3_north_south.yaml
|
|
- name: l3-north-south-4-2
|
|
enabled: true
|
|
placement: single_room
|
|
density: 4
|
|
compute: 2
|
|
progression: null
|
|
time: 60
|
|
file: lib/python2.7/site-packages/shaker/scenarios/openstack/dense_l3_north_south.yaml
|
|
- name: l3-north-south-8-2
|
|
enabled: true
|
|
placement: single_room
|
|
density: 8
|
|
compute: 2
|
|
progression: null
|
|
time: 60
|
|
file: lib/python2.7/site-packages/shaker/scenarios/openstack/dense_l3_north_south.yaml
|
|
- name: l3-east-west-4-1
|
|
enabled: true
|
|
density: 4
|
|
compute: 1
|
|
placement: single_room
|
|
time: 60
|
|
file: lib/python2.7/site-packages/shaker/scenarios/openstack/dense_l3_east_west.yaml
|
|
- name: l3-east-west-8-1
|
|
enabled: true
|
|
density: 8
|
|
compute: 1
|
|
placement: single_room
|
|
time: 60
|
|
file: lib/python2.7/site-packages/shaker/scenarios/openstack/dense_l3_east_west.yaml
|
|
- name: l3-east-west-4-2
|
|
enabled: true
|
|
density: 4
|
|
compute: 2
|
|
placement: single_room
|
|
time: 60
|
|
file: lib/python2.7/site-packages/shaker/scenarios/openstack/dense_l3_east_west.yaml
|
|
- name: l3-east-west-8-2
|
|
enabled: true
|
|
density: 8
|
|
compute: 2
|
|
time: 60
|
|
placement: single_room
|
|
file: lib/python2.7/site-packages/shaker/scenarios/openstack/dense_l3_east_west.yaml
|
|
#yoda scenarios WILL redeploy your overcloud
|
|
yoda:
|
|
enabled: false
|
|
instackenv: "/home/stack/instackenv.json"
|
|
stackrc: "/home/stack/stackrc"
|
|
venv: "/home/stack/yoda-venv/bin/activate"
|
|
benchmarks:
|
|
- name: scale-deploy
|
|
type: overcloud
|
|
ntp_server: pool.ntp.org
|
|
enabled: true
|
|
templates:
|
|
- ""
|
|
timeout: 600 #deploy timeout in minutes
|
|
step: 1
|
|
keep_stack: false
|
|
times: 3
|
|
cloud:
|
|
- node: "compute"
|
|
start_scale: 1
|
|
end_scale: 1
|
|
- node: "control"
|
|
start_scale: 1
|
|
end_scale: 3
|
|
- name: introspect-batch
|
|
type: introspection
|
|
enabled: true
|
|
method: individual #other option is bulk
|
|
times: 3
|
|
timeout: 900 #introspection timeout in seconds
|
|
batch_size: 2
|