Replace '_' with '_LI', '_LE', '_LW', '_LC'

oslo.i18n uses different marker functions to separate the
translatable messages into different catalogs, which the translation
teams can prioritize translating. For details, please refer to:
http://docs.openstack.org/developer/oslo.i18n/guidelines.html#guidelines-for-use-in-openstack

Added hacking rules for warning, info, critical, error and exception
about checking translation for log messages and fixed for below cases only,
1. LOG.error(_(""))
2. LOG.info(_(""))
3. LOG.exception(_(""))
4. LOG.critical(_(""))
5. LOG.warning(_(""))

Below scenario is not handled in this patch,
If message is passed to LOG call using separate variable,
ex.
    msg = (_("")
    LOG.error(msg)

Change-Id: Idbf8779cdfc41ca1424bebcd101096bec482872f
Bump API version to 2.3

Some changes have landed in Glance's tree during Kilo that require a
minor bump to the API. The following change is probably the one that had
the biggest impact on the current v2.2 API.

- Allow null fields to be returned: Ieaddd8a686cf7361f18cb1ee83b7887cdca22bd6

ApiImpact
DocImpact

Change-Id: I214ae6466ac85876cc9589069913258e80db29b5
Allow $OS_AUTH_URL environment variable to override config file value

Make the Glance APIs use this value in a consistent/expected manner
when it is set.  The Principle of Least Surprise dictates that
setting the value in the environment should override any values in
the config files.

Change-Id: Icdc39a2fd0da71a75f4ad0e60e34cfb8e1883787
Closes-Bug: 1314354
Fixes typo: glance exception additional dot

when I try to fix the glanceclient html output, i found the result has
additional dot before the word quota,as follow
Denying attempt to upload image because it exceeds the .quota: The size
of the data 41126400 will exceed the limit. 11210240 bytes remaining

Change-Id: I5df61d9d17cf24ce9b58bebbefb610b7043fc39c
Closes-bug: #1404820
Add sort key validation in v2 api

Since v2 api has no sort key validation and the default
pagination check is used it's possible to request something
like /images?sort_key=_sa_class_manager, which causes an
inner SQL exception with 500 response code from the server.

This code validates input sort key and raises an exception
if the parameter is out of the supported keys list.

Closes-bug: 1400366

Change-Id: I0cf58ad198375a2f6f58bd7820cbb9d86003247a
Adds the ability to sort images with multiple keys

Extend rest api v2 with multiple sort keys support.
Example:
/v2/images/detail?sort_key=name&sort_key=size
Changed database api which now takes sort_key param as a list instead of string
python-glanceclient support will be added in separate commit

Change-Id: Ib7a6aeb2df3bc5d23fe8e070290b5bfcab00c0f5
DocImpact
Partial-Bug: 1221274
Merge "Bump API version to 2.3"
Merge "Allow $OS_AUTH_URL environment variable to override config file value"
Merge "Replace '_' with '_LI', '_LE', '_LW', '_LC'"
Merge "Add sort key validation in v2 api"
Merge "Adds the ability to sort images with multiple keys"
Move default_store option in glance-api.conf

[DEFAULT] default_store was deprecated in Juno and moved into the
[glance_store] section. Yet it remains in the old place in the sample
glance-api.conf. Additionally, some comments still refer to the
known_stores option, which is now simply stores.

DocImpact

Change-Id: I7215e35534fd9a77730d39b96f9ba3bf6c3ea065
Merge "Move default_store option in glance-api.conf"