| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Add release notes and fix revision number mishap.
Change-Id: Ia48be8462e17c900562b794fd69ba2234f6c6c03
|
| |
|
|
|
|
|
| |
Minor updates to the setup.py file including:
author and email.
Change-Id: I0194a5fdaa1ea441115e6e869182e4dcb5b531e0
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implements support for the volume backup api added to cinder in
https://review.openstack.org/19468. This is a resubmit of the
expired change https://review.openstack.org/25299 with the
following changes:
* Added unit tests for backups (v1 and v2)
* Changed references in backup code to display_name and
display_description to name and description respectively
* Removed links from backup-show output
* Added object_count to _translate_backup_keys
* Removed unneccesary items from _translate_backup_keys
* Fixed backups docstrings including removing references to swift.
Adds backup-create, backup-delete, backup-list, backup-restore
and backup-show to both the v1 and v2 clients, since the volume
backup extension is available via both APIs.
Change-Id: I197384f1c2fd2af641d207a5f4dba0dfbc5c681a
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changes to strutils.safe_encode cause the empty
table to be printed out when no objects are actually
retrieved.
This patch just adds a check of the object list length
before calling strutils.safe_encode, if the length is NOT
> 0 we just return like we used to.
Change-Id: I57930b5210c975baa7c4510fcf82b17157e17788
|
| | |
| |
| |
| | |
Change-Id: Ia6a88be09a07ed269b1e9b43a86c88731c80784c
|
| |/
|
|
|
|
| |
Keep up with the changes to the master copy
Change-Id: I24522c7de91c2dea0f7e4b8cac2a27ff162df7f1
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Correct it's -> its in force-delete message
Print whole bash_completion message in "cinder help"
Reformat some doc strings per PEP-0257
Change-Id: I013b849508beac5c9fe5c6f9d4cdfae54676c29c
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| | |
Fixes bug 1163546
Change-Id: Idb2c5f23a1c57676984ffa33f64d27c461b0de15
|
| |\ \ |
|
| | | |
| | |
| | |
| | | |
Change-Id: I07b0ea54993d5b00060e1dfcdfc10663d091254b
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
Cleaning up with pyflakes.
Change-Id: I24878f1bb1693af13b2a7f0f7d6fe455f8747e91
|
| |\ \ \
| |/ /
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
bug 1160898
Change-Id: I8849ab8f552801b8a317cd0394251c2db1ba8e9a
|
| | |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
pip-requires doesn't have any restrictions on prettytable.
We should match up with the pinned version in other projects.
In addition to avoid this problem in the future updated simplejson
to match openstack/requirements as well.
Change-Id: Iabf7ee8b0fd253447d1a65bc1b12906d26176286
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently cinderclient doesn't handle properly incoming and outgoing
encode / decode process. As a solution for this, this patch implements a
decoding process for all data incoming from the user side and encodes
everything going out of the client, i.e: http requests, prints, etc.
This patch introduces a new module (strutils.py) taken from
oslo-incubator in order to use 2 of the functions present in it:
About safe_(decode|encode):
Both functions try to encode / decode the incoming text using the
stdin encoding, fallback to python's default encoding if that
returns None or to UTF-8 as the last option.
In both functions only basestring objects are accepted and they both
raise TypeError if an object of another type is passed.
About the general cinderclient changes:
In order to better support non-ASCII characters, it is a good
practice to use unicode interanlly and encode everything that has to
go out. This patch aims to do that and introduces this behaviour in
the client.
Testing:
A good test (besides using tox) is to use cinder client with and
without setting any locale (export LANG=).
Fixes bug: 1130572
Change-Id: Idb7d06954c29e003f68a0c4aa0b80ecc7017cbc9
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Now we have [volumes, gigabyes, snapshots] as valid
tenant quotas.
Change-Id: Iae8a86b31e63b9e56d6ef0bee7e03f4089aa8138
|
| | |/
|/|
| |
| |
| |
| |
| | |
This has been deprecated in favour of git-review for quite a while now
and was removed from Nova 10 months ago.
Change-Id: Ic4bfa1aee3a4b6a7588be3678ac033a1b13e2b18
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a user Ctrl-C's the client, this will cause a short message to
be printed rather than an ugly backtrace.
This will not catch all instances of this (can still Ctrl-C before
reaching this code, etc.), but it should catch most of them, and those
for long-running sessions.
The specific message was chosen to match one recently added to the
glance client.
Change-Id: Ib748835ad1f94fb901b4941dc5e3797b719e197f
|
| |/
|
|
|
|
|
|
| |
This just adds -d|--debug option so you can debug
using tools like pdb again and to get extra output
from the tests.
Change-Id: Icebc17a1575e17cfd9597581546dca4732b9a8ef
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not only were the docs and release info here not being
maintainted properly, but the examples that were given were
not correct.
This change is an attempt to set us on the right path going
forward and includes info on how to import the API and history
info for the upcoming release/push to PyPi.
Fixes bug: 1156994
Change-Id: I169b1c01380ef653a6a25eb8946b9a06d6419e62
|
| |
|
|
|
|
|
| |
Output the kwargs[data] instead of kwargs[body] which was deleted.
Change-Id: I233e37cceb7079ec78b9bde093967dea9ad94441
Fixes: bug #1155655
|
| |
|
|
|
|
| |
Fixes LP bug #1130730
Change-Id: Ia105e8a561b8d45c60e9a3c6ed46a953cc6df96f
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This will allow the cinderclient to speak to the v2 rest api if it's
enabled in the cinder config. Includes additional v2 tests as well.
blueprint cinderclient-v2-support
Change-Id: I004134d9f528a6eadefdaa89eb48087bcae2691f
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| | |
It's not for taking a snapshot.
Change-Id: I3af4ea0e3657a2359fda55c890a030fabaad129d
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
|
| |/
|
|
|
|
|
|
|
| |
key-create stored it's metadata arg as an appended list,
while create stored as strings. The metadata parsing
is compatable with both, so let's just use the same
method of parsing in both of these methods.
Change-Id: I337068d45fa848d8621add29c91e4a43c9d7dc72
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| | |
Removes the need for the versioninfo file, as now everything can be done via
pkg_resources.
Change-Id: Ice2ea2f99f5aacbd476075d12077b7287d824585
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Updated README.rst and shell.rst to match changes
in the cinder command and novaclient README.rst.
Change-Id: Ifaa53d5c06e6d7d8e3d4d858672717954303bea7
Fixes: bug #1074125
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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-Id: I410360ca23388e93bcbbf3dce053cae99c84a431
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
In accordance with bug-1068521, cinder version functionality is available via the shell.
Change-Id: If9608291f318057fc8fa61151328d6503a79d70d
|
| |/ /
| |
| |
| |
| |
| |
| | |
Support uploading a volume to an image in the image service.
Change-Id: Ief996f92aaf6d7a4fee0bce5ca45b92bee3f6990
Fixes: bug #1099866
|