Start using Pyflakes

Blacklist those pyflakes warnings that trigger
frequently. Fix the remaining one and start
gating on those that are enabled.

Change-Id: I92f27f8cf36615dfd465cbd903a9605f9cb78443
Remove direct call to utils.execute.

The executes calls in the base driver class
are set up to use the exectue enginge passed in on
init.  There are a couple of methods that call
utils.execute directly, and as a result you end
up not using the expected execute engine when
you pass in something other than default for these
two calls.

We'd like to get away from the local execute altogether
and use the OpenStack common version only, so fix these
in driver.py and put the appropriate wrapper around them.

Change-Id: Ibc17c9c2a0c8f27b4533ed86377a66ce668aeab5
Re-set default sql_connection and sqlite_db.

The defaults seem to have been lost in the migration to Oslo's
DB code.  Re-set them to pre-grizzly defaults.

Fixes bug: #1190036

Change-Id: I7fca70e67d67905b15c2faaa745a86e957bec06e
Fix some unittest cases failed on osx

dd shouldn't actually be called in the unit tests to begin with. Stub these
improper calls out.

Fixes bug: 1188972

Change-Id: I2966382a66eebbf49ce74e091e444a91ab274869
Fix various Sphinx warnings

Change-Id: I68c9ff6fdf9115d1abb0fb756eb806b92af29286
Update to the latest stevedore

Use a version of stevedore that does not try to
install distribute.

The requirements change is in
https://review.openstack.org/#/c/32738/

Change-Id: I74bc6013710965401b7e64abc8827a46c817fd56
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Added policy check for backup operations

This patch adds policy checks for operations in the backup extension
consisting of create, delete, restore, get and get_all.  It also adds
policies into the policy.json files in the tests and etc directories.

Fixes Bug: 1188386

Change-Id: I847640051c5d25cebf06b8658b27d4b82603d796
Merge "Remove direct call to utils.execute."
Merge "Re-set default sql_connection and sqlite_db."
Merge from oslo-incubator

Change-Id: Ie5d9d2c1938e58125b58e64a3363f1e1e8ce2ba2
Fixes 3PAR drivers terminate_connection issue.

3PAR drivers now default the third parameter when terminate_connection
is called after copying a volume to image.
Fixes: bug #1190056

Change-Id: Icadacc9e083c6e97a919857d735ec16068d0f0c6
Imported Translations from Transifex

Change-Id: Idadd30ca29eaf2da44c670722060b28ad8028c4a
Merge "Merge from oslo-incubator"
Merge "Imported Translations from Transifex"
Merge "Update to the latest stevedore"
Elevate volume/snap "is busy" log message for volume/snap_delete

If deletion fails because the volume is busy, log at "error" level
rather than "debug" to ensure that the error is logged and visible
to a user.

Change-Id: I04031ee6b1f6647a126baa8a29c15a00b84b27b1
Merge "Added policy check for backup operations"
Merge "Elevate volume/snap "is busy" log message for volume/snap_delete"
Merge "Fixes 3PAR drivers terminate_connection issue."
Replace FLAGS with cfg.CONF in other modules, unless tests

Replace all the FLAGS with cfg.CONF in cinder/
Large commit was split into several parts

Change-Id: Iacd645997a0c50aa47079c856e1b4e33e3001243
Fixes: bug #1182037