diff --git a/conf/cpt-barbican.yaml b/conf/cpt-barbican.yaml new file mode 100644 index 000000000..309cbc978 --- /dev/null +++ b/conf/cpt-barbican.yaml @@ -0,0 +1,102 @@ +# Basic set of initial stress tests to test overcloud before running complete set of benchmarks. +browbeat: + cloud_name: openstack + rerun: 1 + # Two types of rerun: + # iteration reruns on the iteration + # complete reruns after all workloads complete + # rerun_type: complete + rerun_type: iteration + # This option enables starting collectd before running workloads, + # and stopping collectd after running workloads. It should be enabled + # when it is required to store collectd data only when workloads + # are running. Please install collectd by running the command + # "cd ansible;ansible-playbook -i hosts.yml -vvv install/collectd.yml" before + # setting this option to true. + start_stop_collectd: true + # This option enables creation of annotations on the Grafana dashboard. + # Separate annotations will be created on all panels for the duration of + # each scenario that is run using this browbeat configuration file. + # grafana_host, grafana_port, grafana_username, grafana_password + # and grafana_dashboard_uid have to be passed in + # ansible/install/group_vars/all.yml before this option is enabled. + # In the Openstack General System Performance Dashboard, the default + # annotation setting should be set to query by tag $Cloud when this feature + # is enabled. + # This feature has been tested on Grafana v9.2.0 + create_grafana_annotations: false +ansible: + hosts: ansible/hosts.yml + metadata_playbook: ansible/gather/stockpile.yml + logging_playbook: ansible/common_logging/browbeat_logging.yml + start_collectd_playbook: ansible/install/start-collectd.yml + stop_collectd_playbook: ansible/install/stop-collectd.yml + check_collectd_config_playbook: ansible/install/check-collectd-config.yml + ssh_config: /home/stack/.ssh/config +elasticsearch: + enabled: true + host: 1.1.1.1 + port: 80 + #allowed values: shortterm, longterm + life: longterm + regather: false + metadata_files: +grafana: + enabled: false + host: example.grafana.com + port: 3000 + dashboards: + - openstack-general-system-performance +filebeat: + enabled: false +rally: + sleep_before: 5 + sleep_after: 5 + plugins: + - glance: rally/rally-plugins/glance + - neutron: rally/rally-plugins/neutron + - netcreate-boot: rally/rally-plugins/netcreate-boot + - octavia: rally/rally-plugins/octavia + - cinder: rally/rally-plugins/cinder + - nova: rally/rally-plugins/nova + - browbeat: rally/rally-plugins/browbeat + - workloads: rally/rally-plugins/workloads + - dynamic-workloads: rally/rally-plugins/dynamic-workloads + - reports: rally/rally-plugins/reports + - manila: rally/rally-plugins/manila + - storage: rally/rally-plugins/pbench-fio +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 + +workloads: +# Rally + - name: barbican + enabled: true + type: rally + rally_deployment: overcloud + concurrency: + - 1 + times: 1 + scenarios: + - name: create-and-list-secrets + enabled: true + file: rally/barbican/create-and-list-secret.yaml + - name: create-and-delete-secrets + enabled: true + file: rally/barbican/create-and-delete-secret.yaml + - name: create-and-delete-certificate + enabled: true + file: rally/barbican/create-and-delete-certificate.yaml + - name: create-and-delete-asymmetric + enabled: true + file: rally/barbican/create-and-delete-asymmetric.yaml + - name: create-and-delete-symmetric-secret + enabled: true + file: rally/barbican/create-and-delete-symmetric-secret.yaml \ No newline at end of file diff --git a/conf/cpt-cinder.yaml b/conf/cpt-cinder.yaml new file mode 100644 index 000000000..1ff19de3b --- /dev/null +++ b/conf/cpt-cinder.yaml @@ -0,0 +1,114 @@ +# Basic set of initial stress tests to test overcloud before running complete set of benchmarks. +browbeat: + cloud_name: openstack + rerun: 1 + # Two types of rerun: + # iteration reruns on the iteration + # complete reruns after all workloads complete + # rerun_type: complete + rerun_type: iteration + # This option enables starting collectd before running workloads, + # and stopping collectd after running workloads. It should be enabled + # when it is required to store collectd data only when workloads + # are running. Please install collectd by running the command + # "cd ansible;ansible-playbook -i hosts.yml -vvv install/collectd.yml" before + # setting this option to true. + start_stop_collectd: true + # This option enables creation of annotations on the Grafana dashboard. + # Separate annotations will be created on all panels for the duration of + # each scenario that is run using this browbeat configuration file. + # grafana_host, grafana_port, grafana_username, grafana_password + # and grafana_dashboard_uid have to be passed in + # ansible/install/group_vars/all.yml before this option is enabled. + # In the Openstack General System Performance Dashboard, the default + # annotation setting should be set to query by tag $Cloud when this feature + # is enabled. + # This feature has been tested on Grafana v9.2.0 + create_grafana_annotations: false +ansible: + hosts: ansible/hosts.yml + metadata_playbook: ansible/gather/stockpile.yml + logging_playbook: ansible/common_logging/browbeat_logging.yml + start_collectd_playbook: ansible/install/start-collectd.yml + stop_collectd_playbook: ansible/install/stop-collectd.yml + check_collectd_config_playbook: ansible/install/check-collectd-config.yml + ssh_config: /home/stack/.ssh/config +elasticsearch: + enabled: true + host: 1.1.1.1 + port: 80 + #allowed values: shortterm, longterm + life: longterm + regather: false + metadata_files: +grafana: + enabled: false + host: example.grafana.com + port: 3000 + dashboards: + - openstack-general-system-performance +filebeat: + enabled: false +rally: + sleep_before: 5 + sleep_after: 5 + plugins: + - glance: rally/rally-plugins/glance + - neutron: rally/rally-plugins/neutron + - netcreate-boot: rally/rally-plugins/netcreate-boot + - octavia: rally/rally-plugins/octavia + - cinder: rally/rally-plugins/cinder + - nova: rally/rally-plugins/nova + - browbeat: rally/rally-plugins/browbeat + - workloads: rally/rally-plugins/workloads + - dynamic-workloads: rally/rally-plugins/dynamic-workloads + - reports: rally/rally-plugins/reports + - manila: rally/rally-plugins/manila + - storage: rally/rally-plugins/pbench-fio +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 + +workloads: +# Rally + - name: cinder + enabled: true + type: rally + rally_deployment: overcloud + concurrency: + - 2 + times: 10 + scenarios: + - name: create-attach-volume-cirros + enabled: true + image_name: cirro5 + flavor_name: m1.tiny-cirros + file: rally/cinder/cinder-create-and-attach-volume-cc.yml + + - name: create-and-list-snapshots + enabled: true + size: 1 + file: rally/cinder/cinder-create-and-list-snapshots.yml + + - name: create-and-list-volume + enabled: true + size: 1 + file: rally/cinder/cinder-create-and-list-volume.yml + + - name: create-and-update-volume + enabled: true + size: 1 + file: rally/cinder/cinder-create-and-update-volume.yml + + - name: create-attach-and-detach-volume + enabled: true + image_name: cirro5 + flavor_name: m1.tiny + ext_net_id: + file: rally/rally-plugins/cinder/boot_vm_attach_detach_volume.yml diff --git a/conf/cpt-dynamic-workload.yaml b/conf/cpt-dynamic-workload.yaml new file mode 100644 index 000000000..4b43dd1ad --- /dev/null +++ b/conf/cpt-dynamic-workload.yaml @@ -0,0 +1,172 @@ +# Basic set of initial stress tests to test overcloud before running complete set of benchmarks. +browbeat: + cloud_name: openstack + rerun: 1 + # Two types of rerun: + # iteration reruns on the iteration + # complete reruns after all workloads complete + # rerun_type: complete + rerun_type: iteration + # This option enables starting collectd before running workloads, + # and stopping collectd after running workloads. It should be enabled + # when it is required to store collectd data only when workloads + # are running. Please install collectd by running the command + # "cd ansible;ansible-playbook -i hosts.yml -vvv install/collectd.yml" before + # setting this option to true. + start_stop_collectd: true + # This option enables creation of annotations on the Grafana dashboard. + # Separate annotations will be created on all panels for the duration of + # each scenario that is run using this browbeat configuration file. + # grafana_host, grafana_port, grafana_username, grafana_password + # and grafana_dashboard_uid have to be passed in + # ansible/install/group_vars/all.yml before this option is enabled. + # In the Openstack General System Performance Dashboard, the default + # annotation setting should be set to query by tag $Cloud when this feature + # is enabled. + # This feature has been tested on Grafana v9.2.0 + create_grafana_annotations: false +ansible: + hosts: ansible/hosts.yml + metadata_playbook: ansible/gather/stockpile.yml + logging_playbook: ansible/common_logging/browbeat_logging.yml + start_collectd_playbook: ansible/install/start-collectd.yml + stop_collectd_playbook: ansible/install/stop-collectd.yml + check_collectd_config_playbook: ansible/install/check-collectd-config.yml + ssh_config: /home/stack/.ssh/config +elasticsearch: + enabled: true + host: 1.1.1.1 + port: 80 + #allowed values: shortterm, longterm + life: longterm + regather: false + metadata_files: +grafana: + enabled: false + host: example.grafana.com + port: 3000 + dashboards: + - openstack-general-system-performance +filebeat: + enabled: false +rally: + sleep_before: 5 + sleep_after: 5 + plugins: + - glance: rally/rally-plugins/glance + - neutron: rally/rally-plugins/neutron + - netcreate-boot: rally/rally-plugins/netcreate-boot + - octavia: rally/rally-plugins/octavia + - cinder: rally/rally-plugins/cinder + - nova: rally/rally-plugins/nova + - browbeat: rally/rally-plugins/browbeat + - workloads: rally/rally-plugins/workloads + - dynamic-workloads: rally/rally-plugins/dynamic-workloads + - reports: rally/rally-plugins/reports + - manila: rally/rally-plugins/manila + - storage: rally/rally-plugins/pbench-fio +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 + +workloads: +# Rally + - name: dynamic-workloads + enabled: true + type: rally + rally_deployment: overcloud + concurrency: + - 1 + times: 1 + scenarios: + - name: dynamic-workload + enabled: true + # nova_api_version >=2.52 is required for server tags, + # which are used by dynamic workloads. + nova_api_version: 2.52 + # smallest image name and smallest flavor name are used for + # vm dynamic scenarios and for jumphost in trunk dynamic scenario. + smallest_image_name: cirro5 + smallest_flavor_name: m1.tiny-cirros + ext_net_id: + num_create_vms: 10 + num_delete_vms: 5 + num_vms_to_create_with_fip: 10 + num_vms_to_migrate: 5 + num_stop_start_vms: 5 + octavia_image_name: custom-cirros + octavia_flavor_name: m1.tiny-cirros + num_lbs: 4 + num_pools: 2 + num_clients: 2 + delete_num_lbs: 2 + delete_num_members: 1 + user: cirros + #If num_pools > 2 you need to make the change in + #octavia-userdata.file ( NUM_POOLS = ) + user_data_file: /home/stack/octavia-userdata.file + num_initial_subports: 1 + num_trunk_vms: 1 + num_add_subports_trunks: 1 + num_add_subports: 1 + num_delete_subports_trunks: 1 + num_delete_subports: 1 + provider_phys_net: "provider1" + iface_name: "ens7f0" + iface_mac: "3c:fd:fe:c1:73:40" + num_vms_provider_net: 2 + e2e_kube_burner_job_iterations: 100 + e2e_kube_burner_qps: 20 + e2e_kube_burner_burst: 20 + # e2e_kube_burner_workload can be poddensity, clusterdensity, maxnamespaces, + # or maxservices + e2e_kube_burner_workload: poddensity + ocp_kubeconfig_paths: + - /home/stack/.kube/config + # Run stress_ng inside VMs. To run this, the following steps have to be performed before running browbeat.yml to install browbeat. + # 1. In ansible/install/group_vars/all.yml + # (i) Set install_browbeat_workloads to true + # (ii) Fill browbeat_network + # (iii) Enable the stress_ng workload + stress_ng_username: centos + stress_ng_image_name: browbeat-stress-ng + stress_ng_flavor_name: m1.small + stress_ng_ssh_timeout: 120 + stress_ng_num_clients: 2 + stress_ng_cpu: 4 + stress_ng_io: 2 + stress_ng_vm: 1 + stress_ng_vm_bytes: '1G' + stress_ng_timeout: '60s' + # External networks with /23 ranges will be created by dynamic workloads. + # All these external networks will share the first 16 bits. + cidr_prefix: "172.31" + # num_external_networks are the number of the external networks to be + # created as part of rally context for dynamic workloads. These external + # networks will be used in a round robin fashion by the iterations. + num_external_networks: 16 + # workloads can contain a single workload(Eg. : create_delete_servers), + # or a comma separated string(Eg. : create_delete_servers,migrate_servers). + # Currently supported workloads : create_delete_servers, migrate_servers + # swap_floating_ips_between_servers, stop_start_servers, + # boot_clients_and_run_stress_ng_on_clients, create_loadbalancers, + # delete_loadbalancers, delete_members_random_lb, pod_fip_simulation, + # add_subports_to_random_trunks, delete_subports_from_random_trunks, + # swap_floating_ips_between_random_subports, + # all_vm_and_trunk(will run all vm and trunk dynamic workloads), + # provider_netcreate_nova_boot_ping, provider_net_nova_boot_ping, provider_net_nova_delete, + # e2e_kube_burner, ocp_on_osp + # Steps for running ocp_on_osp workload, given that underlying openstack has been + # deployed with necessary dependencies: + # 1) Pass your pull secret in ocp_on_osp/vars/shift_stack_vars.yaml + # 2) If you want to change any default params(like ocp_version, worker count, master and worker flavors, etc), refer to ocp_on_osp/vars/shift_stack_vars.yml + # 3) Run "ansible-playbook -vvv ocp_on_osp/ocp_bootstrap.yml" + # 4) And then run ocp_on_osp workload. NOTE: use "ansible-playbook -vvv ocp_on_osp/ocp_cleanup.yml" for the clean up. + workloads: all_vm_and_trunk + file: rally/rally-plugins/dynamic-workloads/dynamic_workload.yml \ No newline at end of file diff --git a/conf/cpt-glance.yaml b/conf/cpt-glance.yaml new file mode 100644 index 000000000..a6e228771 --- /dev/null +++ b/conf/cpt-glance.yaml @@ -0,0 +1,105 @@ +# Basic set of initial stress tests to test overcloud before running complete set of benchmarks. +browbeat: + cloud_name: openstack + rerun: 1 + # Two types of rerun: + # iteration reruns on the iteration + # complete reruns after all workloads complete + # rerun_type: complete + rerun_type: iteration + # This option enables starting collectd before running workloads, + # and stopping collectd after running workloads. It should be enabled + # when it is required to store collectd data only when workloads + # are running. Please install collectd by running the command + # "cd ansible;ansible-playbook -i hosts.yml -vvv install/collectd.yml" before + # setting this option to true. + start_stop_collectd: true + # This option enables creation of annotations on the Grafana dashboard. + # Separate annotations will be created on all panels for the duration of + # each scenario that is run using this browbeat configuration file. + # grafana_host, grafana_port, grafana_username, grafana_password + # and grafana_dashboard_uid have to be passed in + # ansible/install/group_vars/all.yml before this option is enabled. + # In the Openstack General System Performance Dashboard, the default + # annotation setting should be set to query by tag $Cloud when this feature + # is enabled. + # This feature has been tested on Grafana v9.2.0 + create_grafana_annotations: false +ansible: + hosts: ansible/hosts.yml + metadata_playbook: ansible/gather/stockpile.yml + logging_playbook: ansible/common_logging/browbeat_logging.yml + start_collectd_playbook: ansible/install/start-collectd.yml + stop_collectd_playbook: ansible/install/stop-collectd.yml + check_collectd_config_playbook: ansible/install/check-collectd-config.yml + ssh_config: /home/stack/.ssh/config +elasticsearch: + enabled: true + host: 1.1.1.1 + port: 80 + #allowed values: shortterm, longterm + life: longterm + regather: false + metadata_files: +grafana: + enabled: false + host: example.grafana.com + port: 3000 + dashboards: + - openstack-general-system-performance +filebeat: + enabled: false +rally: + sleep_before: 5 + sleep_after: 5 + plugins: + - glance: rally/rally-plugins/glance + - neutron: rally/rally-plugins/neutron + - netcreate-boot: rally/rally-plugins/netcreate-boot + - octavia: rally/rally-plugins/octavia + - cinder: rally/rally-plugins/cinder + - nova: rally/rally-plugins/nova + - browbeat: rally/rally-plugins/browbeat + - workloads: rally/rally-plugins/workloads + - dynamic-workloads: rally/rally-plugins/dynamic-workloads + - reports: rally/rally-plugins/reports + - manila: rally/rally-plugins/manila + - storage: rally/rally-plugins/pbench-fio +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 + +workloads: +# Rally + - name: glance + enabled: true + type: rally + rally_deployment: overcloud + concurrency: + - 8 + times: 10 + scenarios: + - name: create-image-boot-instances + enabled: true + image_location: /home/stack/cirros.qcow2 + 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.qcow2 + 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.qcow2 + file: rally/glance/create-and-list-image-cc.yml + - name: list-images + enabled: true + file: rally/glance/list-images-cc.yml \ No newline at end of file diff --git a/conf/cpt-keystone.yaml b/conf/cpt-keystone.yaml new file mode 100644 index 000000000..3671a38a7 --- /dev/null +++ b/conf/cpt-keystone.yaml @@ -0,0 +1,111 @@ +# Basic set of initial stress tests to test overcloud before running complete set of benchmarks. +browbeat: + cloud_name: openstack + rerun: 1 + # Two types of rerun: + # iteration reruns on the iteration + # complete reruns after all workloads complete + # rerun_type: complete + rerun_type: iteration + # This option enables starting collectd before running workloads, + # and stopping collectd after running workloads. It should be enabled + # when it is required to store collectd data only when workloads + # are running. Please install collectd by running the command + # "cd ansible;ansible-playbook -i hosts.yml -vvv install/collectd.yml" before + # setting this option to true. + start_stop_collectd: true + # This option enables creation of annotations on the Grafana dashboard. + # Separate annotations will be created on all panels for the duration of + # each scenario that is run using this browbeat configuration file. + # grafana_host, grafana_port, grafana_username, grafana_password + # and grafana_dashboard_uid have to be passed in + # ansible/install/group_vars/all.yml before this option is enabled. + # In the Openstack General System Performance Dashboard, the default + # annotation setting should be set to query by tag $Cloud when this feature + # is enabled. + # This feature has been tested on Grafana v9.2.0 + create_grafana_annotations: false +ansible: + hosts: ansible/hosts.yml + metadata_playbook: ansible/gather/stockpile.yml + logging_playbook: ansible/common_logging/browbeat_logging.yml + start_collectd_playbook: ansible/install/start-collectd.yml + stop_collectd_playbook: ansible/install/stop-collectd.yml + check_collectd_config_playbook: ansible/install/check-collectd-config.yml + ssh_config: /home/stack/.ssh/config +elasticsearch: + enabled: true + host: 1.1.1.1 + port: 80 + #allowed values: shortterm, longterm + life: longterm + regather: false + metadata_files: +grafana: + enabled: false + host: example.grafana.com + port: 3000 + dashboards: + - openstack-general-system-performance +filebeat: + enabled: false +rally: + sleep_before: 5 + sleep_after: 5 + plugins: + - glance: rally/rally-plugins/glance + - neutron: rally/rally-plugins/neutron + - netcreate-boot: rally/rally-plugins/netcreate-boot + - octavia: rally/rally-plugins/octavia + - cinder: rally/rally-plugins/cinder + - nova: rally/rally-plugins/nova + - browbeat: rally/rally-plugins/browbeat + - workloads: rally/rally-plugins/workloads + - dynamic-workloads: rally/rally-plugins/dynamic-workloads + - reports: rally/rally-plugins/reports + - manila: rally/rally-plugins/manila + - storage: rally/rally-plugins/pbench-fio +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 + +workloads: +# Rally + - name: authenticate + enabled: true + type: rally + rally_deployment: overcloud + concurrency: + - 8 + times: 100 + scenarios: + - name: authentic-keystone + enabled: true + file: rally/authenticate/keystone-cc.yml + - name: authentic-neutron + enabled: true + file: rally/authenticate/validate_neutron-cc.yml + - name: authentic-nova + enabled: true + file: rally/authenticate/validate_nova-cc.yml + + - name: keystonebasic + enabled: true + type: rally + rally_deployment: overcloud + concurrency: + - 8 + times: 100 + scenarios: + - name: create-and-list-tenants + enabled: true + file: rally/keystonebasic/create_and_list_tenants-cc.yml + - name: create-and-list-users + enabled: true + file: rally/keystonebasic/create_and_list_users-cc.yml \ No newline at end of file diff --git a/conf/cpt-neutron.yaml b/conf/cpt-neutron.yaml new file mode 100644 index 000000000..0a257dd34 --- /dev/null +++ b/conf/cpt-neutron.yaml @@ -0,0 +1,267 @@ +# Basic set of initial stress tests to test overcloud before running complete set of benchmarks. +browbeat: + cloud_name: openstack + rerun: 1 + # Two types of rerun: + # iteration reruns on the iteration + # complete reruns after all workloads complete + # rerun_type: complete + rerun_type: iteration + # This option enables starting collectd before running workloads, + # and stopping collectd after running workloads. It should be enabled + # when it is required to store collectd data only when workloads + # are running. Please install collectd by running the command + # "cd ansible;ansible-playbook -i hosts.yml -vvv install/collectd.yml" before + # setting this option to true. + start_stop_collectd: true + # This option enables creation of annotations on the Grafana dashboard. + # Separate annotations will be created on all panels for the duration of + # each scenario that is run using this browbeat configuration file. + # grafana_host, grafana_port, grafana_username, grafana_password + # and grafana_dashboard_uid have to be passed in + # ansible/install/group_vars/all.yml before this option is enabled. + # In the Openstack General System Performance Dashboard, the default + # annotation setting should be set to query by tag $Cloud when this feature + # is enabled. + # This feature has been tested on Grafana v9.2.0 + create_grafana_annotations: false +ansible: + hosts: ansible/hosts.yml + metadata_playbook: ansible/gather/stockpile.yml + logging_playbook: ansible/common_logging/browbeat_logging.yml + start_collectd_playbook: ansible/install/start-collectd.yml + stop_collectd_playbook: ansible/install/stop-collectd.yml + check_collectd_config_playbook: ansible/install/check-collectd-config.yml + ssh_config: /home/stack/.ssh/config +elasticsearch: + enabled: true + host: 1.1.1.1 + port: 80 + #allowed values: shortterm, longterm + life: longterm + regather: false + metadata_files: +grafana: + enabled: false + host: example.grafana.com + port: 3000 + dashboards: + - openstack-general-system-performance +filebeat: + enabled: false +rally: + sleep_before: 5 + sleep_after: 5 + plugins: + - glance: rally/rally-plugins/glance + - neutron: rally/rally-plugins/neutron + - netcreate-boot: rally/rally-plugins/netcreate-boot + - octavia: rally/rally-plugins/octavia + - cinder: rally/rally-plugins/cinder + - nova: rally/rally-plugins/nova + - browbeat: rally/rally-plugins/browbeat + - workloads: rally/rally-plugins/workloads + - dynamic-workloads: rally/rally-plugins/dynamic-workloads + - reports: rally/rally-plugins/reports + - manila: rally/rally-plugins/manila + - storage: rally/rally-plugins/pbench-fio +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 + +workloads: +# Rally + - name: neutron + enabled: true + type: rally + rally_deployment: overcloud + concurrency: + - 2 + times: 10 + scenarios: + - name: create-list-network + enabled: true + file: rally/neutron/neutron-create-list-network-cc.yml + - name: create-update-network + enabled: true + file: rally/neutron/neutron-create-update-network-cc.yml + network_update_args: + admin_state_up: False + - name: create-delete-network + enabled: true + file: rally/neutron/neutron-create-delete-network-cc.yml + - name: create-list-port + enabled: true + file: rally/neutron/neutron-create-list-port-cc.yml + - name: create-update-port + enabled: true + file: rally/neutron/neutron-create-update-port-cc.yml + network_create_args: {} + port_create_args: {} + ports_per_network: 5 + port_update_args: + admin_state_up: False + device_id: "dummy_id" + device_owner: "dummy_owner" + - name: create-delete-port + enabled: true + file: rally/neutron/neutron-create-delete-port-cc.yml + network_create_args: {} + port_create_args: {} + ports_per_network: 5 + - name: create-list-router + enabled: true + file: rally/neutron/neutron-create-list-router-cc.yml + - name: create-update-router + enabled: true + file: rally/neutron/neutron-create-update-router-cc.yml + network_create_args: {} + subnet_create_args: {} + subnet_cidr_start: "1.1.0.0/30" + subnets_per_network: 2 + router_create_args: {} + router_update_args: + admin_state_up: False + - name: create-delete-router + enabled: true + file: rally/neutron/neutron-create-delete-router-cc.yml + network_create_args: {} + subnet_create_args: {} + subnet_cidr_start: "1.1.0.0/30" + subnets_per_network: 2 + router_create_args: {} + - name: create-list-security-group + enabled: true + file: rally/neutron/neutron-create-list-security-group-cc.yml + - name: create-list-subnet + enabled: true + file: rally/neutron/neutron-create-list-subnet-cc.yml + - name: create-update-subnets + enabled: true + file: rally/neutron/neutron-create-update-subnet-cc.yml + network_create_args: {} + subnet_create_args: {} + subnet_cidr_start: "1.4.0.0/16" + subnets_per_network: 2 + subnet_update_args: + enable_dhcp: true + - name: create-delete-subnets + enabled: true + file: rally/neutron/neutron-create-delete-subnet-cc.yml + network_create_args: {} + subnet_create_args: {} + subnet_cidr_start: "1.1.0.0/30" + subnets_per_network: 2 + - name: create-list-trunks + enabled: true + subport_count: 10 + file: rally/neutron/neutron-create-list-trunks.yml + - name: boot-server-with-subports + enabled: true + flavor_name: m1.small + image_name: centos7 + subport_count: 10 + file: rally/neutron/neutron-boot-server-with-subports.yml + - name: boot-server-and-add-subports + enabled: true + flavor_name: m1.small + image_name: centos7 + subport_count: 10 + file: rally/neutron/neutron-boot-server-and-add-subports.yml + - name: boot-server-and-batch-add-subports + enabled: true + flavor_name: m1.small + image_name: centos7 + subports_per_batch: 10 + batches: 5 + file: rally/neutron/neutron-boot-server-and-batch-add-subports.yml + + - name: simple-plugins + enabled: false + type: rally + rally_deployment: overcloud + concurrency: + - 8 + times: 10 + scenarios: + - name: router-subnet-create-delete + enabled: true + num_networks: 5 + file: rally/rally-plugins/neutron/router_subnet_create_delete.yml + - name: neutron-securitygroup-port + enabled: true + file: rally/rally-plugins/neutron/securitygroup_port.yml + - name: octavia-create-loadbalancer-resources + enabled: true + image_name: cirro5 + flavor_name: m1.tiny-cirros + user: cirros + ext_net_id: + protocol: HTTP + lb_algorithm: ROUND_ROBIN + protocol_port: 80 + num_clients: 1 + file: rally/rally-plugins/octavia/octavia-create-loadabalancer-resources.yml + - name: octavia-fully-populated-loadbalancer + enabled: true + image_name: custom-cirros + flavor_name: m1.tiny-cirros + vip_subnet_id: + num_lb: 1 + jump_host_ip: + user: "cirros" + user_data_file: + file: rally/rally-plugins/octavia/octavia-fully-populated-loadbalancer.yml + - name: octavia-create-loadbalancer-listeners-pools-members + enabled: true + image_name: custom-cirros + flavor_name: m1.tiny-cirros + protocol: HTTP + lb_algorithm: ROUND_ROBIN + protocol_port: 80 + vip_subnet_id: + num_pools: 2 + num_clients: 2 + user: "cirros" + user_data_file: /home/stack/user_data.file + jump_host_ip: + file: rally/rally-plugins/octavia/octavia-create-loadabalancer-listeners-pools-members.yml + - name: trunk-network-simulation + enabled: false + num_subports: 1 + ext_net_id: + file: ./rally/rally-plugins/netcreate-boot/trunk_network_simulation.yml + # provider_phys_net should be provider physical network name. + # Please don't create any vlan interfaces on the physical interface used with this provider type. + # So use a dedicated interface with provider bridge mappings. + # Provide the MAC address of this interface you find in the undercloud. + # Workload will prepare a scapy packet using the interface name and mac. + - name: provider-netcreate-boot-ping + enabled: true + enable_dhcp: true + num_vms: 1 + image_name: custom-cirros + flavor_name: m1.tiny-cirros + provider_phys_net: "provider" + iface_name: "ens7f0" + iface_mac: "3c:fd:fe:c1:8c:70" + file: rally/rally-plugins/netcreate-boot/provider_netcreate_nova_boot_ping.yml + - name: nova-boot-from-context-provider-networks-ping + # Creates provider networks as part of rally context. Number of VMs booted is equal to times. + # VMs are booted on the provider networks in round robin order. + enabled: true + num_provider_networks: 8 + image_name: cirro5 + flavor_name: m1.tiny-cirros + provider_phys_net: "provider" + iface_name: "ens7f0" + iface_mac: "3c:fd:fe:c1:8c:70" + cidr_prefix: "172.31" + ping_timeout: 30 + file: rally/rally-plugins/netcreate-boot/nova_boot_from_context_provider_networks_ping.yml diff --git a/conf/cpt-octavia.yaml b/conf/cpt-octavia.yaml new file mode 100644 index 000000000..562536772 --- /dev/null +++ b/conf/cpt-octavia.yaml @@ -0,0 +1,123 @@ +# Basic set of initial stress tests to test overcloud before running complete set of benchmarks. +browbeat: + cloud_name: openstack + rerun: 1 + # Two types of rerun: + # iteration reruns on the iteration + # complete reruns after all workloads complete + # rerun_type: complete + rerun_type: iteration + # This option enables starting collectd before running workloads, + # and stopping collectd after running workloads. It should be enabled + # when it is required to store collectd data only when workloads + # are running. Please install collectd by running the command + # "cd ansible;ansible-playbook -i hosts.yml -vvv install/collectd.yml" before + # setting this option to true. + start_stop_collectd: true + # This option enables creation of annotations on the Grafana dashboard. + # Separate annotations will be created on all panels for the duration of + # each scenario that is run using this browbeat configuration file. + # grafana_host, grafana_port, grafana_username, grafana_password + # and grafana_dashboard_uid have to be passed in + # ansible/install/group_vars/all.yml before this option is enabled. + # In the Openstack General System Performance Dashboard, the default + # annotation setting should be set to query by tag $Cloud when this feature + # is enabled. + # This feature has been tested on Grafana v9.2.0 + create_grafana_annotations: false +ansible: + hosts: ansible/hosts.yml + metadata_playbook: ansible/gather/stockpile.yml + logging_playbook: ansible/common_logging/browbeat_logging.yml + start_collectd_playbook: ansible/install/start-collectd.yml + stop_collectd_playbook: ansible/install/stop-collectd.yml + check_collectd_config_playbook: ansible/install/check-collectd-config.yml + ssh_config: /home/stack/.ssh/config +elasticsearch: + enabled: true + host: 1.1.1.1 + port: 80 + #allowed values: shortterm, longterm + life: longterm + regather: false + metadata_files: +grafana: + enabled: false + host: example.grafana.com + port: 3000 + dashboards: + - openstack-general-system-performance +filebeat: + enabled: false +rally: + sleep_before: 5 + sleep_after: 5 + plugins: + - glance: rally/rally-plugins/glance + - neutron: rally/rally-plugins/neutron + - netcreate-boot: rally/rally-plugins/netcreate-boot + - octavia: rally/rally-plugins/octavia + - cinder: rally/rally-plugins/cinder + - nova: rally/rally-plugins/nova + - browbeat: rally/rally-plugins/browbeat + - workloads: rally/rally-plugins/workloads + - dynamic-workloads: rally/rally-plugins/dynamic-workloads + - reports: rally/rally-plugins/reports + - manila: rally/rally-plugins/manila + - storage: rally/rally-plugins/pbench-fio +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 + +workloads: +# Rally + - name: octavia + enabled: true + type: rally + rally_deployment: overcloud + concurrency: + - 2 + times: 10 + scenarios: + - name: create-and-list-loadbalancers + enabled: true + sla_max_failure: 0 + file: rally/octavia/octavia-create-list-loadbalancers.yml + - name: create-and-stats-show-loadbalancers + enabled: true + file: rally/octavia/octavia-create-stats-show-loadbalancers.yml + sla_max_failure: 0 + - name: create-and-show-loadbalancers + enabled: true + file: rally/octavia/octavia-create-show-loadbalancers.yml + sla_max_failure: 0 + - name: create-and-update-loadbalancers + enabled: true + file: rally/octavia/octavia-create-update-loadbalancers.yml + sla_max_failure: 0 + - name: create-and-delete-loadbalancers + enabled: true + file: rally/octavia/octavia-create-delete-loadbalancers.yml + sla_max_failure: 0 + - name: create-and-list-pools + enabled: true + sla_max_failure: 0 + file: rally/octavia/octavia-create-list-pools.yml + - name: create-and-show-pools + enabled: true + file: rally/octavia/octavia-create-show-pools.yml + sla_max_failure: 0 + - name: create-and-update-pools + enabled: true + file: rally/octavia/octavia-create-update-pools.yml + sla_max_failure: 0 + - name: create-and-delete-pools + enabled: true + file: rally/octavia/octavia-create-delete-pools.yml + sla_max_failure: 0 \ No newline at end of file diff --git a/conf/cpt-swift.yaml b/conf/cpt-swift.yaml new file mode 100644 index 000000000..9a5fec950 --- /dev/null +++ b/conf/cpt-swift.yaml @@ -0,0 +1,104 @@ +# Basic set of initial stress tests to test overcloud before running complete set of benchmarks. +browbeat: + cloud_name: openstack + rerun: 1 + # Two types of rerun: + # iteration reruns on the iteration + # complete reruns after all workloads complete + # rerun_type: complete + rerun_type: iteration + # This option enables starting collectd before running workloads, + # and stopping collectd after running workloads. It should be enabled + # when it is required to store collectd data only when workloads + # are running. Please install collectd by running the command + # "cd ansible;ansible-playbook -i hosts.yml -vvv install/collectd.yml" before + # setting this option to true. + start_stop_collectd: true + # This option enables creation of annotations on the Grafana dashboard. + # Separate annotations will be created on all panels for the duration of + # each scenario that is run using this browbeat configuration file. + # grafana_host, grafana_port, grafana_username, grafana_password + # and grafana_dashboard_uid have to be passed in + # ansible/install/group_vars/all.yml before this option is enabled. + # In the Openstack General System Performance Dashboard, the default + # annotation setting should be set to query by tag $Cloud when this feature + # is enabled. + # This feature has been tested on Grafana v9.2.0 + create_grafana_annotations: false +ansible: + hosts: ansible/hosts.yml + metadata_playbook: ansible/gather/stockpile.yml + logging_playbook: ansible/common_logging/browbeat_logging.yml + start_collectd_playbook: ansible/install/start-collectd.yml + stop_collectd_playbook: ansible/install/stop-collectd.yml + check_collectd_config_playbook: ansible/install/check-collectd-config.yml + ssh_config: /home/stack/.ssh/config +elasticsearch: + enabled: true + host: 1.1.1.1 + port: 80 + #allowed values: shortterm, longterm + life: longterm + regather: false + metadata_files: +grafana: + enabled: false + host: example.grafana.com + port: 3000 + dashboards: + - openstack-general-system-performance +filebeat: + enabled: false +rally: + sleep_before: 5 + sleep_after: 5 + plugins: + - glance: rally/rally-plugins/glance + - neutron: rally/rally-plugins/neutron + - netcreate-boot: rally/rally-plugins/netcreate-boot + - octavia: rally/rally-plugins/octavia + - cinder: rally/rally-plugins/cinder + - nova: rally/rally-plugins/nova + - browbeat: rally/rally-plugins/browbeat + - workloads: rally/rally-plugins/workloads + - dynamic-workloads: rally/rally-plugins/dynamic-workloads + - reports: rally/rally-plugins/reports + - manila: rally/rally-plugins/manila + - storage: rally/rally-plugins/pbench-fio +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 + +workloads: +# Rally + - name: swift + enabled: true + type: rally + rally_deployment: overcloud + concurrency: + - 1 + times: 1 + scenarios: + # object_size: size of created swift objects in byte + - name: create-container-and-object-then-delete-all + enabled: true + objects_per_container: 10 + object_size: 1024 + file: rally/swift/create-container-and-object-then-delete-all.yaml + - name: create-container-and-object-then-list-objects + enabled: true + objects_per_container: 10 + object_size: 1024 + file: rally/swift/create-container-and-object-then-list-objects.yaml + - name: list-objects-in-containers + enabled: true + objects_per_container: 10 + object_size: 1024 + containers_per_tenant: 1 + file: rally/swift/list-objects-in-containers.yaml \ No newline at end of file