c60b55ec83
This commit enanbles Ansible linting and does some minor refactoring to make existing Ansible roles compatible with the new rules. Several Ansible linting rules have been excluded to keep the number of changes from being too onerous. Also a new script in ci-scripts is used to check very config file included in the Browbeat repo for validity using the template Browbeat uses when it runs. Here's a list of the new linting rules * Ansible tasks must have names * When you use shell you must use become not sudo * Using become_user without using become is not allowed * If a repo is pulled it must be a pinned version of commit, not latest * Always_run is deprecated don't use it * Variables without {{}} and not in when statements are deprecated don't use them * No Trailing whitepaces * YAML checking, catches big syntax errors but not less obvious ones Change-Id: Ic531c91c408996d4e7d8899afe8b21d364998680
206 lines
6.8 KiB
YAML
206 lines
6.8 KiB
YAML
# Complete set of Keystone Stress tests run minimal number of times.
|
|
# Good sanity test to see if OSP will be able to handle the longer stress tests.
|
|
browbeat:
|
|
results : results/
|
|
rerun: 1
|
|
cloud_name: openstack
|
|
elasticsearch:
|
|
enabled: false
|
|
regather: false
|
|
host: 1.1.1.1
|
|
port: 9200
|
|
regather: true
|
|
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: false
|
|
grafana_ip: 1.1.1.1
|
|
grafana_port: 3000
|
|
dashboards:
|
|
- openstack-general-system-performance
|
|
snapshot:
|
|
enabled: false
|
|
snapshot_compute: false
|
|
rally:
|
|
enabled: true
|
|
sleep_before: 5
|
|
sleep_after: 5
|
|
venv: /home/stack/rally-venv/bin/activate
|
|
benchmarks:
|
|
- name: authenticate
|
|
enabled: true
|
|
concurrency:
|
|
- 32
|
|
times: 100
|
|
scenarios:
|
|
- name: authentic-ceilometer
|
|
enabled: true
|
|
file: rally/authenticate/validate_ceilometer-cc.yml
|
|
sla_max_avg_duration: 12
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: authentic-cinder
|
|
enabled: true
|
|
file: rally/authenticate/validate_cinder-cc.yml
|
|
sla_max_avg_duration: 12
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: authentic-glance
|
|
enabled: true
|
|
file: rally/authenticate/validate_glance-cc.yml
|
|
sla_max_avg_duration: 12
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: authentic-heat
|
|
enabled: true
|
|
file: rally/authenticate/validate_heat-cc.yml
|
|
sla_max_avg_duration: 12
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- 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-monasca
|
|
enabled: false
|
|
file: rally/authenticate/validate_monasca-cc.yml
|
|
sla_max_avg_duration: 12
|
|
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: keystonebasic
|
|
enabled: true
|
|
concurrency:
|
|
- 25
|
|
times: 100
|
|
scenarios:
|
|
- name: create-user
|
|
enabled: true
|
|
file: rally/keystonebasic/create_user-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-delete-user
|
|
enabled: true
|
|
file: rally/keystonebasic/create_delete_user-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-user-set-enabled-and-delete
|
|
enabled: true
|
|
enabled_flag: true
|
|
file: rally/keystonebasic/create_user_set_enabled_and_delete-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-tenant
|
|
enabled: true
|
|
file: rally/keystonebasic/create_tenant-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: authenticate_user_and_validate_token
|
|
enabled: true
|
|
file: rally/keystonebasic/authenticate_user_and_validate_token-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-tenant-with-users
|
|
enabled: true
|
|
file: rally/keystonebasic/create_tenant_with_users-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-and-list-users
|
|
enabled: true
|
|
file: rally/keystonebasic/create_and_list_users-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-and-list-tenants
|
|
enabled: true
|
|
file: rally/keystonebasic/create_and_list_tenants-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: add-and-remove-user-role
|
|
enabled: true
|
|
file: rally/keystonebasic/add_and_remove_user_role-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-and-delete-role
|
|
enabled: true
|
|
file: rally/keystonebasic/create_and_delete_role-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-add-and-list-user-roles
|
|
enabled: true
|
|
file: rally/keystonebasic/create_add_and_list_user_roles-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: get-entities
|
|
enabled: true
|
|
file: rally/keystonebasic/get_entities-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-and-delete-service
|
|
enabled: true
|
|
file: rally/keystonebasic/create_and_delete_service-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-update-and-delete-tenant
|
|
enabled: true
|
|
file: rally/keystonebasic/create_update_and_delete_tenant-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-user-update-password
|
|
enabled: true
|
|
file: rally/keystonebasic/create_user_update_password-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-and-list-services
|
|
enabled: true
|
|
file: rally/keystonebasic/create_and_list_services-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-and-list-ec2credentials
|
|
enabled: true
|
|
file: rally/keystonebasic/create_and_list_ec2credentials-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-and-delete-ec2credentials
|
|
enabled: true
|
|
file: rally/keystonebasic/create_and_delete_ec2credentials-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|
|
- name: create-and-get-role
|
|
enabled: true
|
|
file: rally/keystonebasic/create_and_get_role-cc.yml
|
|
sla_max_seconds: 30
|
|
sla_max_failure: 0
|