Handle DBConnectionError instead of Exception

Handle database connection error exception instead of
general during reporting Cinder service status to database.

Change-Id: Id292f2ac92c45aa070727890f8d1472b3bb9357d
Adding support for 'source-id' in 3PAR manage

Changed 3PAR's manage volume functionality to support the use of a
'source-id' id-type.  By default the name of the volume to manage can
be used but if an admin wants to use the volume ID instead they can
set the optional --id-type argument to 'source-id' now.

Closes-Bug: 1357075
Change-Id: I503beefc594f03627d2273f48c80326cf80fbdef
Changing PureISCSIDriver to use % string formatting instead of .format

Removing usage of .format for string formatting to be more in line with
OpenStack standards. Adding appropiate usage of _LE,_LW,_LI as well.

Change-Id: I4f411920293553d1356012c7db803c9b2dcf593f
Closes-bug: #1392063
Disable Cgsnapshot APIs by default

Currently consistency group APIs are disabled by default because there are
only a very small number of drivers that have implemented them. In
cinder/etc/cinder/policy.json, there are the following entries:

    "consistencygroup:create" : "group:nobody",
    "consistencygroup:delete": "group:nobody",
    "consistencygroup:get": "group:nobody",
    "consistencygroup:get_all": "group:nobody",
    "consistencygroup:create_cgsnapshot" : "",
    "consistencygroup:delete_cgsnapshot": "",
    "consistencygroup:get_cgsnapshot": "",
    "consistencygroup:get_all_cgsnapshots": "",

Note that Cgsnapshot related APIs are not disabled by default. They should be
disabled to be consistent. So the policy entries will be changed to the
following in this patch:

    "consistencygroup:create" : "group:nobody",
    "consistencygroup:delete": "group:nobody",
    "consistencygroup:get": "group:nobody",
    "consistencygroup:get_all": "group:nobody",
    "consistencygroup:create_cgsnapshot" : "group:nobody",
    "consistencygroup:delete_cgsnapshot": "group:nobody",
    "consistencygroup:get_cgsnapshot": "group:nobody",
    "consistencygroup:get_all_cgsnapshots": "group:nobody",

Note: If a driver has CG functions implemented, the CG APIs have to be enabled
by changing "group:nobody" to "" for the CG functions to work.

Change-Id: If59b3da1e84e25e1f547793638c58966e10f488c
Closes-Bug: #1393652
Updated from global requirements

Change-Id: I1908061f27f26413f484518e0bc1508af3608673
Fix a problem in creating consistency group in ProphetStor driver.

a.Failed to create CG in the storage:
  Storage site cannot accept CG uuid including "-" word. Before
  sending API to back-end storage, the "-" word in the CG uuid
  needs to be removed.
b.Failed to delete volume of CG:
  Corrected api leaving group operation key.

Change-Id: I017b2f65c4da6961219f0b972edae2b1cb447878
Closes-Bug: 1391724
Fix typo in SolidFire xDBVersionMismatch label

The retryable errors list in the SolidFire driver includes
an xDBVersionMismatch error that can be emitted from the
device.  During some recent work however the spelling of
the error was incorrect, so it's never deteceted/retried
as it should be.

This patch fixes the typo from 'xDBVersionMisMatch' to
xDBVersionMismatch'.

Change-Id: I5b4bf908c6a9146c4554e5749cd12dbc46c6e7c1
Closes-Bug: #1393916
Merge "Handle DBConnectionError instead of Exception"
Merge "Fix a problem in creating consistency group in ProphetStor driver."
Merge "Disable Cgsnapshot APIs by default"
Merge "Adding support for 'source-id' in 3PAR manage"
Merge "Changing PureISCSIDriver to use % string formatting instead of .format"
Merge "Fix typo in SolidFire xDBVersionMismatch label"