NetApp bug fix for multibackend scenario.

The multibackend scenario using filter scheduler
did not work with NetApp drivers because of use
of FLAGS. Changed to use configuration to support
the multibackend scenario.

bug 1132637

Change-Id: I8ac5bd6d4269f703c3b3b0aa062c92f4412c25af
NetApp: Fix for snapshot not deleted in error state.

This fix enables cleaning of volumes/snapshots
in error state by allowing them to delete.
It will allow the delete call to be
successful if snapshot/volume are in
error state. This also fixes the bug
raised recently with  number 1145409 which seems
to be duplicate of 1143661.

bug 1143661
bug 1145409

Change-Id: I38bc13e676404f96db54b12edfa56680489e893e
swift backup service checks version during restore

Modified swift backup service to check metadata version during restore
and raise an error if the backup version isn't a version that the
service knows how to handle. The versions which can be handled are
described in a dictionary mapping versions to methods which can handle
them. This will facilitate graceful handling of newer backup formats by
the swift backup service when we introduce changes.

Fixes bug: 1136174

Change-Id: Id7d05848fd448ce21f641e5cd6945477702cbe38
sync oslo changes for setup / version

this fixes the fact that run_tests.sh wouldn't work in a venv with
a clean cinder checkout. Yay for fixing being able to run tests.

Fixes bug #1125416

Change-Id: Ic341c3b878cc566f8d2f6a3b2c9d1fa62fc52261
Fix Storwize/SVC storage_protocol reporting.

The Storwize/SVC driver supports both FC and iSCSI protocols
simultaneously. Therefore, 'storage_protocol' should be defined as a
list of enabled protocols, not simply 'iSCSI'. The extra_specs
key-value would then be, for example, storage_protocol='<in> iSCSI'
or storage_protocol='<in> FC'.

Fixes bug: 1142196

Change-Id: Ib99a6d4e4e61d07ddb4f173c13fe7e9f5482fa2b
Fixes issues found in /os-hosts API

There are some issues found in Cinder /os-hosts API:

1) Bracket in the wrong spot in Cinder HostController show method
There is an erroneous bracket on the following line in the show method
that should be at the end of the response:
   'total_volume_gb': str(sum)},

2) XML Attributes Missing for List/Index method in Cinder HostController
The HostIndexTemplate class specifies mapping for "host" and "topic"
attributes rather than any of the ones that are actually returned from
the index method.

3) XML Serialization is commented for Cinder HostController show method

Fixes Bug: 1139984

Change-Id: I881e80b5e109ed6ddcc4f7c4bf5749ab6dca563d
Fixed copy image to volume and clone volume.

This patch fixed the following issues in EMC driver found during G3 testing:
1. VNX array has two storage processors and it is doing load balancing when
attaching a LUN to a host. The storage processor used to attach a LUN to a
host is different from the one discovered by the driver sometimes, causing
Copy Image to Volume to fail.
2. The clone relationship is removed after a volume is successfully
cloned. However, this happens too soon sometimes before the cloned volume
is fully synced with the source volume.  The fix is to wait until it is
fully synced.

Change-Id: I5b8fab263723c47faf30b950a611c5bde7f29092
Fixes: bug #1135221
Fix 3PAR drivers to work in multi-backend mode.

The 3PAR drivers weren't updated when the multi backend
patch landed on G3 day.  This patch implements the new config
mechanism to accessing FLAGS, so that it works when an admin
has multiple drivers active.

This fixes
bug 1131346

Change-Id: Icc5475d15bfd0fa14aae12ab8a8370a894e46857
Merge "Fixes issues found in /os-hosts API"
Merge "sync oslo changes for setup / version"
Switch to oslo.config.

The oslo-config package has been renamed. Switch to the new
version. (should fix SmokeStack).

Change-Id: Ic8cc9f53b7c4713e7bce7db47ad2021912d3b5db
Add get_volume_stats in the sheepdog driver.

1. Allow sheepdog driver to report capabilities to the scheduler.
2. add the initial test_sheepdog.py

Fixes Bug #1140162

Change-Id: I6fb1fb6714ab4ae9878b593e6eee0a94d95ef29f
Merge "NetApp: Fix for snapshot not deleted in error state."
Merge "Switch to oslo.config."
Merge "Add get_volume_stats in the sheepdog driver."
Merge "Fix 3PAR drivers to work in multi-backend mode."
Mark configuration option netapp_password secret

Mark netapp_password configuration option with secret flag.

fixes bug 1151510

Change-Id: I4b04ae610f61c30e8d061b2be710bb48d7afae66
Merge "Fix Storwize/SVC storage_protocol reporting."
Exit run_tests with the result code of the test runner.

Change-Id: Ie117e258c3ce78080ab55715daa8cf14f9967ce4
Use nose and openstack nose plugin.

It's a little silly since we're working on removing nose for testr,
but it turns out that the old test run wrapper was in use here, which was
causing all sorts of havoc.

Change-Id: Ib6e31547ec4921f91b6253a1798cb04ca6930c87