fix typos in our doc, comment and releasenotes

Trivial-fix

Co-Authored-By: ZhiQiang Fan <aji.zqfan@gmail.com>

Change-Id: Ib50e6f7262d5b2bcc70e3821181a25c9d900fa55
This commit is contained in:
sanjana 2016-05-24 13:53:35 +05:30 committed by ZhiQiang Fan
parent 942e0d8d9b
commit bb7d87f053
8 changed files with 9 additions and 9 deletions

View File

@ -27,7 +27,7 @@ CFG_GROUP = "service_credentials"
def get_session(conf, requests_session=None):
"""Get a aodh service credentials auth session."""
"""Get an aodh service credentials auth session."""
auth_plugin = ka_loading.load_auth_from_conf_options(conf, CFG_GROUP)
session = ka_loading.load_session_from_conf_options(
conf, CFG_GROUP, auth=auth_plugin, session=requests_session

View File

@ -140,7 +140,7 @@ def make_general_rowkey_scan(rts_start=None, rts_end=None, some_id=None):
if not rts_start:
# NOTE(idegtiarov): Here we could not use chr > 122 because chr >= 123
# will be quoted and character will be turn in a composition that is
# started with '%' (chr(37)) that lexicographically is less then chr
# started with '%' (chr(37)) that lexicographically is less than chr
# of number
rts_start = chr(122)
end_row = prepare_key(some_id, rts_start)

View File

@ -32,7 +32,7 @@ class QueryTransformer(object):
"in": lambda field_name, values: field_name.in_(values),
"=~": lambda field, value: field.op("regexp")(value)}
# operators which are differs for different dialects
# operators which are different for different dialects
dialect_operators = {'postgresql': {'=~': (lambda field, value:
field.op("~")(value))}}

View File

@ -21,7 +21,7 @@ Aodh allows users to define alarms which can be evaluated based on events
passed from other OpenStack services. The events can be emitted when the
resources from other OpenStack services have been updated, created or deleted,
such as 'compute.instance.reboot.end', 'scheduler.select_destinations.end'.
When creating a alarm with type of "event", an event_type can be specified to
When creating an alarm with type of "event", an event_type can be specified to
identify the type of evernt that will trigger the alarm. The event_type field
support fuzzy matching with wildcard. Additionally, users can also specify
query conditions to filter specific events used to trigger the alarm.

View File

@ -40,7 +40,7 @@ work with a copy of Aodh installed via devstack.
``/etc/httpd/conf.d``.
2. Modify the ``WSGIDaemonProcess`` directive to set the ``user`` and
``group`` values to a appropriate user on your server. In many
``group`` values to an appropriate user on your server. In many
installations ``aodh`` will be correct.
3. Enable the Aodh site. On deb-based systems::

View File

@ -36,7 +36,7 @@ Create aodh-uwsgi.ini file::
threads = 8
# Make sure the client doesn't try to re-use the connection.
add-header = Connection: close
# Set uid and gip to a appropriate user on your server. In many
# Set uid and gip to an appropriate user on your server. In many
# installations ``aodh`` will be correct.
uid = aodh
gid = aodh

View File

@ -66,11 +66,11 @@ models.
.. note:: The *not* operator has different meaning in Mongo DB and in SQL DB engine.
If the *not* operator is applied on a non existent metadata field then
the result depends on the DB engine. For example if
the result depends on the DB engine. For example, if
{"not": {"metadata.nonexistent_field" : "some value"}} filter is used in a query
the Mongo DB will return every Sample object as *not* operator evaluated true
for every Sample where the given field does not exists. See more in the Mongod DB doc.
On the other hand SQL based DB engine will return empty result as the join operation
On the other hand, SQL based DB engine will return empty result as the join operation
on the metadata table will return zero rows as the on clause of the join which
tries to match on the metadata field name is never fulfilled.

View File

@ -1,6 +1,6 @@
---
features:
- Enable aodh services, including aodh-evalutor, aodh-listener and
- Enable aodh services, including aodh-evaluator, aodh-listener and
aodh-notifier to run in multiple worker mode.
New options are introduced corresponsively as [evaluator]workers,