Invalid GlusterFS share format error

When we provide invalid GlusterFS share format in GlusterFS shares
configuration file (glusterfs_shares_config), it will log a
Warning message in the volume log file, which not easily discover
able while debugging.

So, this patch changing Invalid GlusterFS share Warning message to
Error message.

Change-Id: I24d47dafc56490d40bd81256135f4b13fce5614a
Fix exception message formatting

If the exception class made a reference to the "message" field in
its format string, it would be overriden with the value of the
"message" argument itself. It is now possible to use the "message"
field and preserve the desired message formatting. Test cases
provided.

Change-Id: I5705203466535fa242d13e43571012e5bf72712a
Closes-Bug: #1288066
Add ability to create volume from image by image name.

Some cli commands allow specifying an image by either
its name or its ID. Creating a volume from an image
currently requires knowing the image ID. The request
was made to add the ability to create a volume using
the image name instead.

This patch adds the ability to accept either name or ID.
It will attempt to locate the image based on this input
and fail if neither can be matched. If found by name, it
will also verify there are not multiple images of the
same name. If this is the case it will require using the
ID to be explicit.

Will update python-cinderclient in a separate patch once
this has been merged to allow ID or name.

Change-Id: I8b522ccff3ead644b738499e67fa85d4ab92af36
Partial-Bug: #1377823
Update rally job files

Rename rally-scenarios/ to rally-jobs/ Because it makes much more sense
to call directory with jobs files rally-jobs

Add pretty README files, that describes how to write plugins and use
extra dir

Update main README.rst file that describes what the hell is this=)

Add cinder-fakevirt.yaml that will be required after this infra patch
is merged: https://review.openstack.org/#/c/135137/

Change-Id: Ic7e5e8a99fc1385638fb187a04475a42eedcfeb2
Don't use module importutils from oslo-incubator

* Syncs latest module service
  Removes its dependency for oslo-incubator module importutils.
  Removes code which was never executed after switched to oslo.messaging.
Include changes:
5d40e14 Remove code that moved to oslo.i18n
6ede600 rpc, notifier: remove deprecated modules

* config.genrator has been removed from oslo-incubator, so update
config.generator to use importutils from oslo.utils directly.

* Removes module importutils

Change-Id: If5cf4100006b5ca4dba1ad92e0c8efc22f90083c
etc: replace NullHandler by Python one

We don't need to specify the NullHandler that was provided by Oslo
anymore, as Python 2.7 has this one. Let's use it directly.

Change-Id: I6948d1cd5a556779c1b1fd0a4161689e3a944b45
Correct misspelled words

In some files I found misspelled words like :

begining -> beginning
occured -> ocurred

Change-Id: Ic9ec34952dc43232c29b1dc8f6baec05f804ce25
Match mock.patch decorator with appropriate param

mock.patch and mock.patch.object can be used as decorators for mocking
within the scope of the function they decorate. When there are multiple
decorators it is important the function parameters relate to the
corresponding patch objects i.e. that the parameter order matches the
decorator order.
It is easiest to explain this with an example:

@mock.patch.object(Foo, 'bar')
@mock.patch.object(SomeClass, 'some_method', some_function)
@mock.patch.object(AClass, 'a_method')
def test_some_stuff(self, mock_a_method, mock_bar):
    pass

So the decorator closest to the function definition must correspond to
the first (left-most) patch parameter. Note, if the decorator is given a
third argument, the kwarg new, then the decorated function is not
passed an extra argument by that decorator.

Change-Id: I035d71cb3b81f0c8bfd83ed81d8426cb0df31c90
Merge "Don't use module importutils from oslo-incubator"
Merge "Update rally job files"
Merge "Add ability to create volume from image by image name."
Merge "Correct misspelled words"
Merge "etc: replace NullHandler by Python one"
Merge "Match mock.patch decorator with appropriate param"
Merge "Invalid GlusterFS share format error"
Merge "Fix exception message formatting"