Backport changes from Cinder to Nova-Volume

NetApp C-mode driver.
Generic NFS-based block device driver.
NetApp NFS-based block device driver.

blueprint netapp-volume-driver-cmode
blueprint nfs-files-as-virtual-block-devices
blueprint netapp-nfs-cinder-driver
bug 1037619
bug 1037622

Change-Id: I513c3f88bcb03f3b71a453f92f5912d7730a8bbc
Fix FLAGS.volumes_dir help message

And other nova/volume/iscsi.py typos

Change-Id: I08e7d4379f6a455273df999b621f8a89e73e0aef
Return 400 if create volume snapshot force parameter is invalid

Fixes bug #1014689

* Add is_valid_boolstr function in utils.py
* Add force parameter check in SnapshotsController.create()
* Add unittest for invalid force parameter.

Change-Id: Ie6a07a2ac589da76f52a82b126a6d66e5987edc4
Add reservations parameter when cast "create_volume" to volume manager

Fixes bug #1050192

Add reservations parameter when _cast_create_volume cast
"create_volume" to volume manager. So VolumeManager.create_volume() can
commit the reservations in volume quota.

Change-Id: I8f3104d53bde55d4d83f39253869cc78a8511750
Merge "Fix FLAGS.volumes_dir help message"
Merge "Add reservations parameter when cast "create_volume" to volume manager"
Validate keypair create request body

Check if keypair create request body has manditory keys like keypair, name
and raise HTTPBadRequest if the required keys are missing.

Fixes bug 1049619

Change-Id: Ia6129e1b04e910fbea81b62b921a228aafa32f64
Merge "Backport changes from Cinder to Nova-Volume"
Merge "Return 400 if create volume snapshot force parameter is invalid"
Merge "Validate keypair create request body"
Overload comment in generated SSH keys

Overload comment in generated SSH keys in order not to leak information
about the user and host that actually generated them. Patch based on a
suggestion by Pedro Perez.

Fixes bug 1050347.

Change-Id: I73bbdba1f6c9e83a5e7e70564959b9d7abaa5e29
Fixes import issue on Windows

Fixes Bug #1034043

The crypt module is not available on Windows.
Since this is a blocking issue on Hyper-V and since the only
function using it is _set_passwd (not implemented on Windows),
the import can be safely conditionally avoided.

Change-Id: Iefe97edcfcff3b70593e07628b6a6f85e680cbc7
Use tmpdir and avoid leaving test files behind

 We were just creating a file for testing iscsi persist files and
 weren't cleaning up after the test.

 Change this to use a tmpdir and make sure we leave no tracks.

 Fixes bug #1050086

Change-Id: I714177d7789da8b628ab63c163a2c3f1698dd940
Add 422 test unit test for servers API

Add a straightforward test case to check the cases where we're returning
422 from the servers API.

Add a comment to ServersAllExtensionsTestCase which clarifies who it
differs from these new 422 tests.

Change-Id: Idb39e37f4a620199abb986793ae9415a5115dba9
Merge "Add 422 test unit test for servers API"
Add more useful logging around the unmount fail case.

Raise a better message with a more useful message
rather than raising a process execution error, which
although useful is not especially meaningful.

Bug 1050645

Change-Id: Id9817de26fdb16f8fce17ebd093a9550e63be19c
Merge "Add more useful logging around the unmount fail case."
Merge "Use tmpdir and avoid leaving test files behind"
Merge "Fixes import issue on Windows"
Merge branch 'master' of https://github.com/openstack/nova into HEAD