Move from unittest2 to testtools

Part of blueprint grizzly-testtools

Change-Id: I13e068ca156f12114eaa3a65bdb557e4eb2c988d
Add access to update volume metadata.

This implements the cinderclient side of
blueprint: update-vol-metadata

Change-Id: I97c120d69b6d30843009f6a297bb51299799f4ec
Merge "Add access to update volume metadata."
Add upload-to-image function to client.

Support uploading a volume to an image in the image service.

Change-Id: Ief996f92aaf6d7a4fee0bce5ca45b92bee3f6990
Fixes: bug #1099866
Fixed Version Functionality

In accordance with bug-1068521, cinder version functionality is available via the shell.

Change-Id: If9608291f318057fc8fa61151328d6503a79d70d
Move from nose to testr.

Granted - this takes the test suite from 3 seconds to 1 second... but there
are a bunch of other ways (correctness) that testr is better than nose.

Removed tests/v1/utils - it was not being used anywhere.

Part of blueprint grizzly-testtools.

Change-Id: I54d9a0b7dc22305ec60d779d6f19025a0b5dc785
Merge "Fixed Version Functionality"
Add ability to call force_delete from cinderclient

We have an admin extension to do this however we never
exposed it via the cinderclient.

This change simply enables access to force-delete for admins.

Change-Id: Ia066d7dd06ccdb9b3a9221cf33086437624e65d8
Change Nova -> Cinder in credentials error message

Change-Id: I410360ca23388e93bcbbf3dce053cae99c84a431
Merge "Add ability to call force_delete from cinderclient"
Merge "Move from nose to testr."
Fixed documentation of the cinder shell command.

Updated README.rst and shell.rst to match changes
in the cinder command and novaclient README.rst.

Change-Id: Ifaa53d5c06e6d7d8e3d4d858672717954303bea7
Fixes: bug #1074125
Update to latest oslo version code.

Removes the need for the versioninfo file, as now everything can be done via
pkg_resources.

Change-Id: Ice2ea2f99f5aacbd476075d12077b7287d824585
Merge "Fixed documentation of the cinder shell command."
Correct parsing of volume metadata

Volume metadata supplied via the command line is incorrectly parsed,
converting each character into a key with “None” as the corresponding
value.  This bug fix corrects the parsing and also includes regression
tests when metadata is provided when creating a volume.

Change-Id: I8c093df59ea4de2e2a1b7cf3ac7c4624c159fb66
Implements: blueprint encrypt-cinder-volumes
Avoid UnicodeEncodeError exception on exception

When an exception message contained a non-ascii
character, the str() conversion raised an UnicodeEncodeError.

Avoid this by simply passing the message itself.
Python handles the encoding to locale already.

Change-Id: I3c4440fc238d8c8136a9bd93a0040668f82bda6e
Merge "Update to latest oslo version code."
Re-add setuptools-git to setup.py.

In 81cbbcc4e01c81084c352f7fc1ecea149089a2b9 we removed:

  setup_requires=['setuptools-git>=0.4'],

from setup.py. This broke tarball generation in that some files are
now missing.

Fixes LP Bug #1118511.

Change-Id: I27a09e0d49befa3751031582d1b152677822041f
Allow requests 0.8 and greater

Bump up version requirements for requests to standardize
on version >= 0.8 so it doesnt create conflict with other
openstack projects.

Change-Id: I1ed9b3bd6bdbbbb451298a3c397e6e7a06c0cabd
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Merge "Avoid UnicodeEncodeError exception on exception"