Fix some typos by toolkit typo

There commands:
 $pip install topy
 $cd rally
 $topy -a rally

Change-Id: I40ac3b34b97743edf5edc0a17b9553bb2f3476e2
This commit is contained in:
LiuNanke 2015-11-20 00:21:52 +08:00
parent fd21f9e258
commit e812e97482
8 changed files with 9 additions and 9 deletions

View File

@ -13,7 +13,7 @@ well as test results.
Problem description Problem description
------------------- -------------------
In case of errors it is quite hard to debug what happend. In case of errors it is quite hard to debug what happened.
Possible solution Possible solution

View File

@ -54,7 +54,7 @@ class ManilaShareNetworks(context.Context):
# ] # ]
# Also, make sure that all 'existing users' in appropriate # Also, make sure that all 'existing users' in appropriate
# registered deployment have share networks if its usage is # registered deployment have share networks if its usage is
# enbaled, else Rally will randomly take users that does not # enabled, else Rally will randomly take users that does not
# satisfy criteria. # satisfy criteria.
"share_networks": {"type": "object"}, "share_networks": {"type": "object"},
}, },

View File

@ -70,7 +70,7 @@ class CeilometerScenario(scenario.OpenStackScenario):
now - datetime.timedelta(seconds=(interval * i)) now - datetime.timedelta(seconds=(interval * i))
).isoformat() ).isoformat()
if metadata_list: if metadata_list:
# NOTE(idegtiarov): Adding more then one template of metadata # NOTE(idegtiarov): Adding more than one template of metadata
# required it's proportional distribution among whole samples. # required it's proportional distribution among whole samples.
sample_item["resource_metadata"] = metadata_list[ sample_item["resource_metadata"] = metadata_list[
i * len_meta // count i * len_meta // count

View File

@ -311,7 +311,7 @@ class CinderVolumes(cinder_utils.CinderScenario,
"""Create volume, snapshot and attach/detach volume. """Create volume, snapshot and attach/detach volume.
This scenario is based off of the standalone qaStressTest.py This scenario is based on the standalone qaStressTest.py
(https://github.com/WaltHP/cinder-stress). (https://github.com/WaltHP/cinder-stress).
:param volume_type: Whether or not to specify volume type when creating :param volume_type: Whether or not to specify volume type when creating

View File

@ -53,7 +53,7 @@ class NeutronScenario(scenario.OpenStackScenario):
:param resource: A neutron resource object dict describing the :param resource: A neutron resource object dict describing the
resource that the name is being set for. In resource that the name is being set for. In
particular, this must have have a single key particular, this must have a single key
that is the resource type, and a single value that is the resource type, and a single value
that is itself a dict including the "id" key. that is itself a dict including the "id" key.
:param kwargs: The keyword arg dict that the user supplied, :param kwargs: The keyword arg dict that the user supplied,

View File

@ -326,7 +326,7 @@ class NovaServers(utils.NovaScenario,
A rescue will be issued on the given server upon which time A rescue will be issued on the given server upon which time
this method will wait for the server to become 'RESCUE'. this method will wait for the server to become 'RESCUE'.
Once the server is RESCUE a unrescue will be issued and Once the server is RESCUE an unrescue will be issued and
this method will wait for the server to become 'ACTIVE' this method will wait for the server to become 'ACTIVE'
again. again.

View File

@ -57,7 +57,7 @@ class SaharaClusters(utils.SaharaScenario):
:param floating_ip_pool: floating ip pool name from which Floating :param floating_ip_pool: floating ip pool name from which Floating
IPs will be allocated. Sahara will determine IPs will be allocated. Sahara will determine
automatically how to treat this depending on automatically how to treat this depending on
it's own configurations. Defaults to None its own configurations. Defaults to None
because in some cases Sahara may work w/o because in some cases Sahara may work w/o
Floating IPs. Floating IPs.
:param volumes_per_node: number of Cinder volumes that will be :param volumes_per_node: number of Cinder volumes that will be
@ -135,7 +135,7 @@ class SaharaClusters(utils.SaharaScenario):
:param floating_ip_pool: floating ip pool name from which Floating :param floating_ip_pool: floating ip pool name from which Floating
IPs will be allocated. Sahara will determine IPs will be allocated. Sahara will determine
automatically how to treat this depending on automatically how to treat this depending on
it's own configurations. Defaults to None its own configurations. Defaults to None
because in some cases Sahara may work w/o because in some cases Sahara may work w/o
Floating IPs. Floating IPs.
:param neutron_net_id: id of a Neutron network that will be used :param neutron_net_id: id of a Neutron network that will be used

View File

@ -126,7 +126,7 @@ class VMTasks(vm_utils.VMScenario):
"interpreter": ["NAME=Earth", "/bin/sh"] "interpreter": ["NAME=Earth", "/bin/sh"]
} }
# Run an inline script sending it to a uploaded remote # Run an inline script sending it to an uploaded remote
# interpreter # interpreter
command = { command = {
"script_inline": "echo \"Hello, ${NAME:-World}\"", "script_inline": "echo \"Hello, ${NAME:-World}\"",