remove cinder-rtstool because of rtslib dep

rtslib is AGPL, so cinder-rtstool is defacto AGPL by importing it.
Remove cinder-rtstool from the OpenStack repository.

Fixes bug #1157091

Change-Id: I30c9ee19d43107fa7f2e5e65d69049b8d69d2bdf
(cherry picked from commit b66c3361be2095186e19b0d44e49a8b2c48f7235)
Update Cinder's latest copy of OSLO grizzly stable

This patch updates all the files from oslo under
stable/grizzly but policy.py.  policy.py is a high risk
change at this date and it has lots of changes since the
last time we updated it.

Fixes bug #1157126

Change-Id: I399a1cd8474f718ed5196def90d2fea546fb01f5
(cherry picked from commit eae0264782818342c222c18b549e9cda354c867b)
Fix Storwize/SVC LUN allocation with holes.

The Storwize/SVC driver should find the first unused LUN, but
continues searching, returning erroneous results.  Added 'break'
statement to fix.

Change-Id: Ibd95714e086a513a39fe9d20ffec57135dc5ec55
Fixes: bug 1157012
(cherry picked from commit e0878c86207d5ff5c2ebaa69eac454af545925ef)
Allow snapshot_delete for NFS/GlusterFS drivers

RemoteFsDriver should allow snapshot_delete, since snapshot_create
for NFS and GlusterFS volumes will create a snapshot in the error
state which cannot be deleted afterward.

snapshot_delete() should allow this to be removed rather than
throwing NotImplementedError.

Fixes bug: 1156686

Change-Id: I4307878fa97fbce5bd733a83fa172509e2fba8ce
(cherry picked from commit ea10f1b8291cb07962577699abe13648a4bdca58)
Fix typo in persona valid values

The 3PAR drivers have a persona extra spec that has a valid
values with a typo in it. The value '11 - VMWare' should be
"11 - VMware', note the lower case 'w'.

Fixes bug 1155781

Change-Id: I70ab255e1ec6a4b83437b072a7eb4fe11eafc710
(cherry picked from commit 0f353e794faac9f4a67d1628034d13507fc9785c)
Use self.configuration to support the multi-backend case

Use self.configuration instead of using FLAGS directly to make
the driver work in a multi backend environment.
And remove three repeated lines:en = out.split('\r\n')

Fixes bug: 1154125

Change-Id: I6e08706104eabb71677ec8583b9abb9711553504
(cherry picked from commit 7817d12439a4c86d3015ce8e6a74f72804fdfd24)
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
(cherry picked from commit 6de6cfebd4398c9912eb1683c91226d5d27cf7e4)
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
(cherry picked from commit adb8ba7bff2bc4e2657cf84e9f061433ff947a73)
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
(cherry picked from commit c47bf9bc3835d4399185376ac07920ef903d79e8)
Updates to OSAPI sizelimit middleware.

Updates the OSAPI sizelimit middleware so that we use avoid calling
len on a request body which could cause a really large request
to get buffered into memory.

Also updates the middleware to return HTTP 413 which is a more
correct error code in this case (previously it returned just 400).

Fixes LP Bug #1131857.

Change-Id: Iff6cb0c24bc21e5a1d5dd4cf29acb0b4ee221708
(cherry picked from commit 3fe81851bab39a1466d8744b372b5a287b4db93d)
Pull Oslo log fix to enable root logger initialization

Previous log module in Oslo doesn't initialize root logger, which results
in lacking of log message for non-openstack library (such as stevedore).
This patch pull latest log module from Oslo, which has recently merged a
change to enable root logger initialization.

Notice that this change also includes one log modules fix in Oslo which
'unignore' log_format setting.  As a result, one may experience log format
change when using devstack.  To get old log format back, simply assign
a NULL string (aka nothing) to 'log_format' configure option in cinder.conf.
For example, just append cinder.conf with one new line 'log_format = '.

Fix bug: # 1131322

Change-Id: I86396f15ca152512ce6d18d6d424a855b27f495e
(cherry picked from commit 2b66a382aae3e1c80342feb32549c427677d39c6)
Merge "Allow snapshot_delete for NFS/GlusterFS drivers" into milestone-proposed
Merge "Fix typo in persona valid values" into milestone-proposed
Merge "Use self.configuration to support the multi-backend case" into milestone-proposed
Merge "Fixes dettach volumes in Windows cinder plugin" into milestone-proposed
Merge "Switch all uses of 422 response code to 400." into milestone-proposed
Merge "Implement get_volume_stats in NFS driver" into milestone-proposed
Merge "Pull Oslo log fix to enable root logger initialization" into milestone-proposed
Merge "Update Cinder's latest copy of OSLO grizzly stable" into milestone-proposed
Merge "Fix Storwize/SVC LUN allocation with holes." into milestone-proposed