Adding the browbeat-minimal playbook to setup and run browbeat

This playbook is to just make sure that we are able to run
browbeat, thus not collecting metrics and data. This will be used
to test browbeat against changes made to tripleo, oooq and toci.

Change-Id: I42e4d0068b9e294a3c70b6b08742e41e623b2a05
This commit is contained in:
agopi 2018-07-16 13:56:11 -04:00 committed by Aakarsh
parent 0f553b7103
commit 5f19107f2e
2 changed files with 145 additions and 0 deletions

View File

@ -0,0 +1,13 @@
---
# Browbeat integration test
- include: configure-browbeat.yml
- include: install-browbeat.yml
- include: disable-ssh-dns.yml
- name: Run Browbeat
hosts: undercloud
roles:
- browbeat/browbeat-run

View File

@ -0,0 +1,132 @@
# Tests to be completed for the install-and-check.sh script minimal and short workloads are performed
# to confirm functionality.
browbeat:
cloud_name: {{ browbeat_cloud_name }}
rerun: 1
rerun_type: iteration
ansible:
hosts: ansible/hosts
metadata_playbook: ansible/gather/site.yml
ssh_config: ansible/ssh-config
elasticsearch:
enabled: {{ elastic_enabled }}
host: {{ elastic_host }}
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: {{ grafana_enabled }}
host: {{ grafana_host }}
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:
- netcreate-boot: rally/rally-plugins/netcreate-boot
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:
- name: authenticate
enabled: true
type: rally
concurrency:
- 1
times: 1
scenarios:
- name: authentic-keystone
enabled: true
file: rally/authenticate/keystone-cc.yml
- name: cinder
enabled: true
type: rally
concurrency:
- 1
times: 1
scenarios:
- name: create-attach-volume-centos
enabled: true
file: rally/cinder/cinder-create-and-attach-volume-cc.yml
- name: keystonebasic
enabled: true
type: rally
concurrency:
- 1
times: 1
scenarios:
- name: create-and-list-tenants
enabled: true
file: rally/keystonebasic/create_and_list_tenants-cc.yml
- name: neutron
enabled: true
type: rally
concurrency:
- 1
times: 1
scenarios:
- name: create-list-network
enabled: true
file: rally/neutron/neutron-create-list-network-cc.yml
- name: nova
enabled: true
type: rally
concurrency:
- 1
times: 1
scenarios:
- name: boot-snapshot-delete
enabled: true
file: rally/nova/nova-boot-snapshot-cc.yml
image_name: cirros
flavor_name: m1.xtiny
- name: plugins
enabled: true
type: rally
concurrency:
- 1
times: 1
scenarios:
- name: netcreate-1-boot
enabled: true
enable_dhcp: true
image_name: cirros
flavor_name: m1.tiny
num_networks: 1
file: rally/rally-plugins/netcreate-boot/netcreate_nova_boot.yml