Uses oslo.imageutils

Commit 035668 had the QemuImgInfo class moved to Oslo.
This class diverged from Nova and then missed some changes
made in Nova since then. The two projects will be able to use
identical classes by adapting imageutils.

Change-Id: I6ed352c42e45d32de94066c82f83e7332d4a98ed
Provide gettext _ in missing locations

A while back a change was merged that moved
our shortcut for gettext out of __init__
(change here: If4125d6bcbde63df95de129ac5c83b4a6d6f130a)

This worked out fine for the most part but broke the sphinx doc
builder for a number of files.  This patch just adds the proper
import to each of these files to get the builder working correctly
again.

Change-Id: Ifed20d309566be456c9519294714ccb45de76e00
Closes-Bug: #1209406
Add extend_volume for Huawei drivers

This patch adds extend_volume function for Huawei drivers.

Huawei T driver needs to create a slave LUN for the extended LUN.
And accordingly it needs to delete all these slave LUNs before deleting
the extended LUN.

HVS driver just sends a rest command to finish extending volume.

Change-Id: Iae17dba8c4d88ec09eb52b4a14bd17bc5a2c1ccc
Add auth_token settings to cinder.conf.sample.

Updates our example config file so that it includes configuration
settings for the auth_token middleware.

A step towards using cinder.conf instead of the api-paste.ini config file
for authtoken configuration.

Once https://review.openstack.org/#/c/52259/ lands I'll push another
review which removes the settings from api-paste.ini (which takes priority).

Related-Bug #1240753

Change-Id: I6636d33ee522757145ac97fc354324a8b9379700
NetApp fix for compression and dedup stats

This change fixes the incorrect stats reported
for compression and deduplication by NetApp
iscsi and nfs backend.

Change-Id: I3e97d953b3ea2231c3eb1f950b0ca6705b3b2286
Closes-Bug:#1236839
NetApp fix mirrored stats

This fixes the incorrect reporting of mirrorred
statistics for NetApp iscsi and nfs backend.
The uninitialized and broken snapmirror is
not reported and only snapmirrored state
is reported back.

Closes-Bug:#1242808

Change-Id: I4b9f788e1f99b78d12db23bd92b6a277d5f64cb3
Updated from global requirements

Change-Id: Ic96db4b4b462badc2fcbee62b40ebf3997ed6adf
Brick connector fix for NFS drivers

This change fixes the error that comes
while getting brick connector and attaching volumes
in case of NFS drivers in cinder. The attribute for
mount point base was not passed to attach_volume method
as the connector initialization logic is common for all
types of protocols. It is fixed by populating
the required parameter in the RemoteFsConnector
for NFS drivers.

Change-Id: I8601326b318f6f8c53a03610f1b4f2bfd14070ff
Closes-Bug: #1238085
Imported Translations from Transifex

Change-Id: Idf752d935353317e59893a3885d32545130968a4
Let GPFS driver to rename snapshot with root permission

Deleting GPFS volume snapshot operation fails, because cinder
volume is not running with root permission.

Change-Id: Id00357030da171fddbc6abf82603ceabe4db73ff
Closes-Bug: #1242549
Revert "remove cinder-rtstool because of rtslib dep"

This reverts commit b66c3361be2095186e19b0d44e49a8b2c48f7235.

Dependencies of this code (rtslib-fb) are now Apache-licensed,
which resolves the previous issue with this code being in-tree.

This patch is a direct revert, other patches will follow to
line up changes that have occurred between b66c336 and now.

Conflicts:
	setup.py

Blueprint: lio-rtslib

Change-Id: I14786bddf419d98ff7c468b185462f5387dbbba1
Drop auth_token configs for api-paste.ini.

We now prefer to use cinder.conf to configure keystoneclients
auth_token configs.

Also, Devstack has now been update to allow this:

https://review.openstack.org/#/c/52259/

Related-Bug #1240753

Change-Id: I2a4b300af37eddf5010b97ca796f0552941642a8
Merge "Add auth_token settings to cinder.conf.sample."
Merge "Uses oslo.imageutils"
Merge "Imported Translations from Transifex"
Merge "Add extend_volume for Huawei drivers"
Remove duplication of brick.iscsi in brick.iser

TargetAdmin and TgtAdm in iser is mostly a copy of TargetAdmin and
TgtAdm in iscsi.

Change-Id: I8d89a35c478485370b41f4dfd376de07b9fc9314
Fix volume transfer href issue

The volume transfer collection in url defined as "os-volume-tranfer",
but I got another define "tranfers" in href url. They are different.
So it should be modify.

Change-Id: I69a43012f2bb70ce5fc7b0331d2759527a261170
closes-bug: #1242980
Merge "Provide gettext _ in missing locations"
Add openstack/common/crypto from OSLO

Add cinder/openstack/common/crypto/__init__.py and
cinder/openstack/common/crypto/utils.py.

They are needed in cinder/openstack/common/rpc/securemessage,
which is updated in the following commits.

Oslo version: 4987d09a28c986bdca0921a1d0f062ac9328904f

Change-Id: I15e7ce3b84831fd247ea155a3b15829348087830