Commit Graph

13 Commits

Author SHA1 Message Date
Sanjay Chari da7b97c08a Google Sheets : Add support for run comparison
This patch adds support to pass multiple Rally
result json files as arguments to the Google Sheet
generation script. This helps in comparison between results
of different runs.

Change-Id: Ic833b10b3fb94e8d5771a5ab3235576fedebfec6
2022-08-08 16:45:40 +05:30
rajeshP524 6699909997 Add SLA failures worksheets to Rally json Google Sheets
This patch adds a new feature to the Rally json Google Sheets python script
to generate additional worksheets for atomic actions that do not pass SLA criteria.

Change-Id: Ic56672b78ac844f2deffdd5b1d8f5e498943beb3
2022-06-02 16:50:56 +05:30
Sanjay Chari a0d555812b Multiple worksheets for Rally json Google Sheets
This patch introduces multiple worksheets within one Google sheet
for multiple atomic actions

Change-Id: Ia6542cd7646a87c53cd633bde070939729a7ef9b
2022-01-28 13:17:24 +05:30
Zuul 774b31fff5 Merge "Rally json google sheets" 2022-01-07 11:02:29 +00:00
Sanjay Chari b0a101bdc1 Rally json google sheets
This patch introduces a script that takes the
Rally json report as input and creates a Google sheet
with duration data for an atomic action.

Change-Id: Ia3a116da0a39f2e3754f79970d997d1bf87eb167
2022-01-07 12:07:33 +05:30
Sanjay Chari ab300f91f6 Rally cleanup script fix
This patch introduces the following changes.
1. rally_cleanup.py has been moved to the utils directory.
2. The rally_cleanup.py script was getting stuck in an infinite loop
as some functions were modified to clean up only rally objects while
other functions were not modified. This patch modifies the first function
that is called in traceback to clean up only rally objects, to avoid such
issues.

Change-Id: Ie0b5972b62b9dd591506f735191724f1b30c5038
2022-01-07 11:48:53 +05:30
venkata anil d6bba83c90 cleanup rally resources
When there are failures, rally may not cleanup all
the resources. Users can run this script manually to
cleanup stale VMs and neutron resources.

Change-Id: Ib545a0c0ff162be0314a623cbbfe7cb3fff4d208
2020-03-03 20:46:31 +05:30
Charles Short 0fa8454fd1 Remove PerfkitBenchMaker
No longer supported.

Change-Id: Iae8ff4e0a1f55af67b49df16e8ecf276877f2525
Signed-off-by: Charles Short <chucks@redhat.com>
2019-11-20 14:54:43 -05:00
akrzos 155a0cef15 Tripleo Quickstart Browbeat Install script
* Installs Browbeat either on local machine or oooq Undercloud

Change-Id: I2c536da9ab7c84cc32809b0f09574861ca1fece9
2017-12-13 10:58:06 -05:00
akrzos 0ebb40271d Remove old get-token.py and use openstack token issue
Remove simple get-token.py in favor of using a tool with openstack cli.

Change-Id: I441603376dca9f375c06cff1f0cbf710bc06a0de
2017-07-19 15:38:53 -04:00
Dan Macpherson 929f2eb645 Updating netperf-2.7.0.tar.gz tar URL for CentOS template
The netperf-2.7.0.tar.gz file from ftp.netperf.org is no longer
available. As a result, netperf doesn't build successfully on
the external shaker server, which causes CentOS-based Shaker
tests to fail. All netperf source and tar files have been migrated
to github. This fix changes the URL for netperf-2.7.0 to the
appropriate tar file on github. In addition, the parent directory
within the tar file has changed to "netperf-netperf-2.7.0".

A similar commit has been filed for the shaker image:
https://review.openstack.org/#/c/482177/

Change-Id: Ib7db0a0e7c5cbce7f6674b341b71aa38bbd24e24
2017-07-11 01:18:25 +10:00
Sai Sindhur Malleni 2c1980e023 Refactor Shaker
Refactoring lib/Shaker to improve compatibility with a wide range of
shaker scenarios.  set_scenario() method has been fixed to remove hard
coded expectations on the order of accommodation list. send_to_elastic()
method has also been fixed accordingly for imporved compatibility when
indexing a large number of shaker scenarios.

Why?  The current model of overwriting the shaker scenario file with
values supplied from the browbeat-config works well for a major set of
shaker scenario files. However, the problem comes with  how we
overwrite/work with "accomodation" key in the shaker scenario. Since the
value for the accomodation is a list, we need to access the list items
to modify them[2]. Most scenario files sudh as [1] have 4 values in the
list but some such as [3] have only 3 items, so we cannot be sure the
list item we are accessing is the one we want to if we are going by list
item number.

How?  Added two methods accommodation_to_dict() and
accommodation_to_list().

accommodation_to_dict() grabs the accommodation data from shaker
scenario file[1] and converts the list to a dictionary. Since it is now
a dictionary we overwrite shaker scenario values for key "accommodation"
by checking what keys exist in the dictionary.

accommodation_to_list() converts the dictionary we created by
overwrirting arguments in shaker scenario with those in browbeat
scenario to a list again, so that it can be written back the shaker
scenario file. Shaker eventually consumes this file which has been
overwritten by the options in browbeat config.

+ Adding external_host parameter
+ Adding validation
+ Adding usage docs
+ RST Formatting

[1] - https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/dense_l3_north_south.yaml#L11
[2] - https://github.com/openstack/browbeat/blob/master/lib/Shaker.py#L201
[3] - https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/external/dense_l3_north_south_with_fip.yaml#L11

Change-Id: Icf7208f230cbe727d525b6cb090e82c4f19d6985
2017-01-17 12:29:54 -05:00
Alex Krzos db61db310c Add keystone get-token.py utility
+ Can be used to validate that you switched from uuid to fernet
  tokens on a cloud

Example usages:

(Get a token from the undercloud)
[stack@ospd utils]$ . ../../stackrc
[stack@ospd utils]$ ./get-token.py
b8b597133d3040b1ad87381591f9965c

(Get a token from the overcloud)
[stack@ospd utils]$ . ../../overcloudrc
[stack@ospd utils]$ ./get-token.py
5968d8c4149f443d8f3484e0b8353bfa

(Get a token from overcloud after adjusting to fernet tokens)
[stack@ospd utils]$ ./get-token.py
gAAAAABXhlqfbX0n0MtiBXDLk2WSk7XLc1cKzQ4Q6Xmb8MjGHgEFGYRu ...

Change-Id: Idfba4848b35e05023ea2a32bd830c5d0d50e685a
2016-07-14 08:14:31 -04:00