rally-openstack/samples/tasks/support
Alexander Maretskiy bb118b9d13 [Plugins] Add executable availability check to instance_test.sh
This is related VMTasks.*runcommand* workloads which can use
standard shell script "instance_test.sh".
In some rare cases (like [1]) it is possible that wide-used
executable is not available on the VM instance. The result is
confusing error message from shell interpreter which obstructs
understanding what is actually wrong with the scenario (nothing
is wrong actually with the scenario, but the instance).

This patch adds a small piece of code to script instance_test.sh
which checks availability of all used executable commands and
outputs clear error message if some command is missed.

[1] https://bugs.launchpad.net/rally/+bug/1613144

Change-Id: I63db699b053c16dce14df919f72579af2f66fa3e
2016-08-18 15:44:46 +03:00
..
instance_linpack.sh Moving rally/doc/samples to rally/samples 2015-01-16 05:54:09 -08:00
instance_test.sh [Plugins] Add executable availability check to instance_test.sh 2016-08-18 15:44:46 +03:00
README.rst Fix six typos and grammar inaccuracies in Rally Readme Files 2015-08-14 16:18:40 +05:30

instance_linpack.sh ============= instance_linpack.sh, will kick off a CPU intensive workload within a OpenStack instance. This script will return the avg gflops and max gflops Linpack reports in a JSON format. To run this workload, the VM must have linpack installed prior to running.

instance_dd_test.sh ============= instance_dd_test.sh, will kick off a IO intensive workload within an OpenStack instance. This script will return the write and read performance dd was able to achieve in a JSON format.