Fix indentation errors in drivers

Just some pylint fixes.

Change-Id: I1f851726a7c8285884121da097be574c447fa39c
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
Imported Translations from Transifex

Change-Id: I79473cf2987822f655b674bc49ad60ebb840a87f
Storwize: Fix iogrp availability check

Do not check if vdisk_count is greater than zero to determine iogrp
availability. This is wrong, and leads to the driver not being able to
use empty iogrps.

Change-Id: Ia73189a11cfcc0641c1527293675361c4e78443f
Closes-Bug: #1240395
Fix Huawei HVS driver AttributeError

This patch checks the iSCSI port info and raises an exception
if it can not get the port info from the configuration.

Closes-bug: #1237185
Change-Id: I341ccbe77abd25421e5ee0b2d07ace3759fbccef
Cinder extension to add used resources in absolute limits

* totalVolumesUsed
* totalGigabytesUsed

DocImpact
Implements: blueprint cinder-used-resources-in-absolute-limits
Change-Id: I525a61043ce2f906c424738ab361ee7396f072b5
Merge "Fix Huawei HVS driver AttributeError"
Merge "Fix indentation errors in drivers"
Nexenta NFS driver: caching for appliance volroot

Added caching for NexentaStor appliance 'volroot' value.

Change-Id: I3803981cc8c9b6c47dc9fccc6b2414e21d9d6285
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
Merge "Nexenta NFS driver: caching for appliance volroot"
Merge "Storwize: Fix iogrp availability check"
Apply six for metaclass

__metaclass__ cannot be used in python3.
six be used in general for python 3 compatibility.

Change-Id: I1d21c82163a1c00bbf4fbf3c9dd513f1c0591b00
Closes-Bug: #1236648
Merge "Cinder extension to add used resources in absolute limits"
Merge "Imported Translations from Transifex"
Imported Translations from Transifex

Change-Id: I48307cde63b774a611c2675a1e9e67cbd518d17c
Update openstack/common/notifier

Oslo version: 5e765b2546dab9d04e4641d92296bfa3d3b17ebf

Change-Id: I679a0f3a953cbe1904c3fd32bf33b5a656c2a938
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
Fix generate conf script can't handle multistropt

In case MultiStrOpt option's value is empty list, current extract_opts.py
logic will ignore it. This patch aims to update func _print_opt:

add the multistropt's option_name in conf even its value is empty list.

This bug also affects https://bugs.launchpad.net/cinder/+bug/1240783

Closes-bug: #1241348

Change-Id: Ica1da0cd20c97a587964cb0059836d609a440145