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
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
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
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
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
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
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
+ 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