Clone e2e-benchmarking repo during browbeat installation

This patch adds an option to clone the e2e-benchmarking repo during
browbeat installation, so that we can use it to run shift-on-stack
workloads in browbeat.

Change-Id: I56f0b7e2e1e7d214cbed10b06f8c8d7a0f0f2395
This commit is contained in:
Sanjay Chari 2021-09-08 10:40:28 +05:30
parent 59d5120be6
commit f82e467c2e
5 changed files with 25 additions and 0 deletions

View File

@ -17,6 +17,7 @@
- { role: flavors, when: browbeat_create_flavors}
- { role: images, when: browbeat_upload_guest_images}
- { role: workloads, when: install_browbeat_workloads}
- { role: e2e-benchmarking, when: install_e2e_benchmarking}
environment: "{{proxy_env}}"
- hosts: Controller, Compute

View File

@ -72,6 +72,9 @@ iptables_file: /etc/sysconfig/iptables
# Install Browbeat workloads
install_browbeat_workloads: false
# Install e2e-benchmarking for shift-on-stack workloads
install_e2e_benchmarking: false
# Network ID which has external access
browbeat_network:

View File

@ -55,6 +55,9 @@ iptables_file: /etc/sysconfig/iptables
# Install Browbeat workloads
install_browbeat_workloads: false
# Install e2e-benchmarking for shift-on-stack workloads
install_e2e_benchmarking: false
# Network ID which has external access
browbeat_network:

View File

@ -0,0 +1,8 @@
---
- name: Clone e2e-benchmarking
git:
repo: 'http://github.com/cloud-bulldozer/e2e-benchmarking.git'
dest: "{{ browbeat_path }}/ansible/gather/e2e-benchmarking"
version: master
force: yes

View File

@ -55,6 +55,16 @@ On the Undercloud
internet. Some useful documentation can be found at:
https://access.redhat.com/documentation/en/red-hat-openstack-platform/11/single/networking-guide/
(Optional) Clone e2e-benchmarking repository
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
e2e-benchmarking is a repository that is used to run workloads to stress an Openshift
cluster, and is needed to run shift-on-stack workloads in Browbeat.
To enable the e2e-benchmarking repository to be cloned, set install_e2e_benchmarking: true
in ansible/install/group_vars/all.yml before running the command mentioned below.
[stack@undercloud ansible]$ ansible-playbook -i hosts.yml install/browbeat.yml
(Optional) Install Browbeat instance workloads
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Browbeat instance workloads are orchestrated Rally plugins that ship with Browbeat.