update error log arguements in filter scheduler

There's one log issue in filter scheduler fell off radar in previous
fix, this change closes the gap.

Fixes: bug #1130867

Change-Id: I78def31bd9ff4349cd1332cb96ef6311ce9eac20
Do not use prefix to lookup host in Storwize/SVC.

Currently, the Storwize/SVC driver creates a host name prefix for host
objects on the back-end, and uses that to look up hosts. However, if a
host was already created with a different name (for example, manually
by an admin), the host creation operation will fail, as a host with
that connection information already exists. Instead, we look up a host
based on available connection information.

Fixes bug: 1149072

Change-Id: I336dbea85bfaf928a550a15d177e2b9b0ffd38bf
Fix bugs for Huawei driver

This fixes two bugs for Huawei iscsi driver.
(1)If firstly we map LUN 1(just not LUN 0) to host,we can also
find LUN 0 mapped,whose device path is '-'.Then we will failed
to map a real LUN 0.So,we avoid mapping LUN 0 to host by setting
every volume's host LUN ID larger than 0,instead of generating it
automatically.
(2)Check valid size of resource pools when creating snapshot and
make sure it larger than 1 GB.

Fixes bug: 1135618
Fixes bug: 1136980
Change-Id: I412e78bf84c95cb51431c45cc084e9ec6a8efb78
Fix bad request response code on extra_specs create.

This commit changes the error response on a bad body from 422 to 400 for
an extra spec create request.

Fixes bug 1090356

Change-Id: I7925bbd53fb9647440532b206feee3421fb9f38b
Merge "Do not use prefix to lookup host in Storwize/SVC."
Storwize/SVC driver fix for multibackend scenario.

In order for the Filter scheduler to be used to it's full advantage
Cinder drivers need to move away from using FLAGS directly and switch
to appending their specific options to self.configuration.

Fixes bug: 1135391

Change-Id: I8d07346c03d1cf2479738f7161ee0a0cb9f518a0
Merge "update error log arguements in filter scheduler"
Merge "Storwize/SVC driver fix for multibackend scenario."
Merge "Fix bad request response code on extra_specs create."
Adds a flag to set glance api version to call

Allows a glance api verion to be set using a flag.
Cinder will generate a version of the glance client as per this
flag.

Fix bug: # 1152542

Change-Id: I80423f5d88e7ccf0614f89d3c15d983f0af9c333
Switch to final 1.1.0 oslo.config release

Fixes bug #1128256

oslo.config has now been released to PyPI in time for Grizzly RC1 so
we can switch to using it directly.

Change-Id: I655f831718ae5f4e25e941ee206fe195214a9a91
Fix _migrate_up in test_migrations

_migrate_up should always actually do a db upgrade whether or
not it is being tested with data or not

Change-Id: I28cbab36a5227903ff40a3243492b34d4b82a223
Merge "Fix bugs for Huawei driver"
Fixes dettach volumes in Windows cinder plugin

The patch fixes issues when desassigning target to initiators
in the terminate_connection method. The method now takes
the right parameter coming from provider location.

Change-Id: I2ea1ac7f46e3a24a6493af8eba46a113126e1117
Fixes: bug #1153968
Compression/tier capabilities for Storwize/SVC.

Compression and tiering support were not exported as capabilities,
and are important features.

Also fix a couple bugs introduced by
https://review.openstack.org/#/c/23830/

Change-Id: I41c304d0da89a050c0345b930b3f45741214b425
Fixes: bug 1146341
Fixed: bug 1155071
Fix ISCSIDriver rescan.

Cinder fails to rescan iSCSI targets after running copy_image_to_volume
or copy_volume_to_image with the generic iSCSI implementation, due to
a missing comma.

Change-Id: I726e8da1f0221e47bae2593e03bc88a47c487814
Fixes: bug 1144591
cinder-manage does not print any version information

'cinder-manage --version' does not print anything. We need
to pass in the version information along with the argv and
project information

Change-Id: Ia826874cbbc3316226fb475646a0c146fd3a5955
Implement get_volume_stats in NFS driver

Use the already existing code (ie: _get_available_capacity) to
implement get_volume_stats in the nfs driver

Change the netapp nfs driver to use this new implementation
instead of the dumb one.

Fixes bug #1152501

Change-Id: Ie16d9628ba4b096c60966b4aa6192fbdcb9a4f20
Switch all uses of 422 response code to 400.

The 422 response is normally only for WebDAV, and these types of
errors should normally return a 400 code, HTTPBadRequest. This
commit goes through all the remaining 422 codes and changes them
to 400 responses.

Fixes bug 1153807

Change-Id: I9bf49643763c2cb0ac585641056c85a060152e36
Fix 3PAR driver hiding existing host error

This fixes a problem with the 3par drivers where creating
a 3par host was failing but there was no message.  The driver
would fail to find the host after the creation failed and the
log entry would show that the host didn't exist.   The real
error was failing to create the host.

bug #1154700

Change-Id: I2267d958f10cc73c6c5f34d224ea3452a4402f18