53 Commits

Author SHA1 Message Date
scott
a11aef839e Add docs for running tests
Add documents for running unit and functional tests.

Change-Id: I4616193dade844c5a774dd74aa1805452fd01a9e
Closes-Bug: #1560615
2016-04-20 10:54:13 -06:00
Sean McGinnis
423db4b32c Add reno for release notes management
Adopt reno for release notes like we have done for cinder.
One difference for the client is we will not be backporting
to Liberty per recommendation here [1].

[1] http://lists.openstack.org/pipermail/openstack-dev/2015-November/080694.html

Change-Id: Icb2520cfa249d104674eb42b5ac93a50a6ce34b4
2015-12-13 19:56:41 -06:00
Jenkins
b989a2e68a Merge "Update release notes for 1.3.1 and 1.4.0 releases" 2015-10-21 16:00:47 +00:00
Sean McGinnis
9dc05b3cb6 Update release notes for 1.3.1 and 1.4.0 releases
We've had a couple releases of the client but missed updating
the docs with any release note information. Added summary of
changes for each release.

Change-Id: I47edb5199182ca0c952cf60e6b923e6d2edd80ff
Closes-Bug: #1503705
2015-10-09 19:53:44 -05:00
scottda
a8930cee75 Add note for broken cinderclient versions 1.2.?
Version discovery was found to break deployments using proxies, so it was
reverted. This was introduced in python-cinderclient 1.2.0, persisted in
1.2.1 and 1.2.2, and reverted in 1.3.0 . The 1.2.? versions make note of this
in the release notes, and docs generated from release notes will now warn the
user of this.

Change-Id: Ia866dbf5f5d1c8afd7ff62b31758229f7b09bc99
Closes-Bug: #1503691
2015-10-07 13:48:33 +00:00
Mike Perez
ed2b133d4e Prep for 1.3.0
Change-Id: I5c6665665427d0916a5e29396ab4fa0eb3e059c6
2015-07-07 13:19:36 -07:00
John Griffith
c3b4172c3f Prep for 1.2.2
Still in need of a push to pypi for dependency issues, here's the
bump, coming up next tag and push.

Change-Id: I60ed62278c6baa162405e1b36042d3f229395689
2015-06-05 11:13:41 -06:00
Mike Perez
bb7443c6ce Update release notes for 1.2.0 and 1.2.1
Prepping for tag.

Change-Id: I8ae5e5a0e7ea140d84a0838ffd2ce0c08fcc6aad
2015-05-06 21:18:48 -07:00
Jenkins
d6f4ab3c96 Merge "Fixed typos found by RETF rules" 2014-11-25 03:02:01 +00:00
Jenkins
5502db716c Merge "Stop using intersphinx" 2014-10-14 20:20:10 +00:00
John Griffith
ac9b091390 Update version to 1.1.1 in index
Prep for new tag

Change-Id: I49f8f7fcc2647dc09e38fee1fa5068df714a8d83
2014-09-23 18:18:26 -06:00
Andreas Jaeger
b03d1e1f4c Stop using intersphinx
Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)

This also removes the requirement for internet access during docs build.

This can cause docs jobs to fail if the project errors out on
warnings.

Change-Id: I71e941e2a639641a662a163c682eb86d51de42fb
Related-Bug: #1368910
2014-09-13 09:40:00 +02:00
John Griffith
6055e2d7ec Update index file for release of 1.1.0
Change-Id: I75bbf1cf88fb516409f0ed30b962af7e5ac6236e
2014-09-10 08:55:38 -06:00
Christian Berendt
17e4d6c381 Fixed typos found by RETF rules
Rules are available at
https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/Typos

Change-Id: I8de0631346b703870ce8ebe9ce728a0360f1ba7f
2014-09-08 11:31:22 +00:00
Steve Martinelli
34adf358ca Update theme for docs
The current developer docs theme used is out of sync with the other
openstack projects. This patch will update the docs to provide a more
consistent look and feel when using developer docs

Change-Id: I9fd11b61d4404ba2627569074dc86ee0ddf0f96a
2014-07-24 20:45:01 -04:00
John Griffith
4163fa23a4 Bump client doc index version to 1.0.9
Prep for push of new client for icehouse release.

Change-Id: I281aaa7b628738d423f2cbfe5b78733e4e41714d
2014-04-21 09:17:26 -06:00
Xavier Queralt
5a080b4d47 Accept deleting multiple snapshots in one shot
In bug 1241941 the delete and force-delete commands were updated to
accept multiple volumes for deleting in the same call. This patch adds
the same behaviour to the snapshot-delete command.

Closes-Bug: #1284540
Change-Id: I5e4bf8641d7fd261fa24b03832bad08007e43c12
2014-04-03 10:21:23 +02:00
Peter Hamilton
6fd8d8e12e Require ctrl_location for encryption-type-create
This bug fix addresses bug #1267168, adding a default value to the
optional control_location parameter for the encryption-type-create
command. Prior to this fix, any invocation of encryption-type-create
that omitted the control_location parameter would fail. The failure
arose from the expectations of the cinder volume encryption type
API extension, which expects to always receive a value for the
control_location on encryption type creation.

control_location indicates which service will conduct the volume
encryption for the encryption-type under consideration; valid options
are 'front-end' (i.e., nova) and 'back-end' (i.e., cinder). The new
default value is 'front-end' and is used whenever control_location
is omitted from encryption-type-create invocation. For prior
discussion and information, see the abandoned patch below:

https://review.openstack.org/#/c/58303/

blueprint encrypt-cinder-volumes
https://blueprints.launchpad.net/nova/+spec/encrypt-cinder-volumes

Change-Id: I8db80929adbf5a3d818b9d3a8115067ae8e7d9e2
Closes-Bug: #1267168
DocImpact
2014-02-12 21:38:41 +02:00
Swapnil Kulkarni
4273bbefb9 Fix typos in cinderclient
Small nit-pics in volume_transfers.

Change-Id: I846b38970b14e6385269a02bb495c63464ea0842
Closes-Bug: #1255905
2014-02-05 16:23:23 +02:00
Mike Perez
e31e057ccc Revert "Update cinderclient to skip the additional GET during create"
This reverts commit 47014971b09f0334e5cc3b414bef31784f88a37d.

Conflicts:
	doc/source/index.rst

Change-Id: Ica1e526b2c181d1ce72183b7293d21119371c822
2014-02-04 14:14:22 -07:00
john-griffith
305f760939 Update release notes for push to pypi
Need to get a 1.08 out, so just modifying the release notes
for the push version.

Change-Id: Icf9684ab0fabf0168662c3ff4047db54a2670d11
2014-02-02 09:25:27 +02:00
Eric Harney
306d451bc7 Add shell tests for snapshot_delete
snapshot_delete does not have a shell test covering it.

Closes-Bug: #1257747

Change-Id: I22252f5025c11a7c115aa75e07c78424eec75ba1
2014-01-27 13:48:12 -05:00
Jenkins
dd92af2a9e Merge "Remove RAX-specific auth in cinderclient" 2014-01-27 07:16:09 +00:00
Avishay Traeger
17d7455d27 Add retype to index.rst
Retype patch was merged but not added to index.rst

Change-Id: I15e52153fccf07026d4b1dfcc1fb62a27d6d3ca2
2014-01-26 09:28:48 +02:00
Swapnil Kulkarni
fbee97cf19 Remove RAX-specific auth in cinderclient
Change-Id: Idd36694a322f467ba5e8c1f58bfac701bff8f3f8
Closes-Bug: #966329
2014-01-25 08:22:13 +05:30
Xiao Chen
2f0863b7d4 Fix 'search_opts' unexpected keyword argument error
When executing 'encryption-type-create' command using resource
name, it will use the findall() in base.py, then error will
occur because list() in findall() used 'search_opts' argument
which list() in VolumeEncryptionTypeManager did not have. Some
other command like 'transfer-delete' met same issue.

This patch will add 'search_opts' argument in list() function
in child class to avoid the bug.

Closes-Bug: #1248519
Related-Bug: #1252665

Change-Id: If1cd8b812af21335e5d4351766539a927a8fbdf4
2014-01-20 15:43:31 +08:00
Swapnil Kulkarni
47014971b0 Update cinderclient to skip the additional GET during create
With change https://review.openstack.org/64945 cinder V2 API now
returns volume details. Updated do_create in cinderclient
to remove additional GET call.

Change-Id: I2a36f2fa865b52f228bad44e0a9c67d49228321e
Partial-Bug: #1265893
2014-01-08 13:37:41 +05:30
Jenkins
a33240f578 Merge "Updates .gitignore for environment files" 2013-12-31 20:41:38 +00:00
Igor A. Lukyanenkov
1fc1b4bea1 Fix RateLimit.__repr__ - self.method is undefined
Using self.verb instead of self.method, unit tests added to cover this fix.

Closes-bug: #1258489

Change-Id: I4a84179ff96c50b230afcaea7a19fb54613577fb
2013-12-31 18:00:24 +04:00
Zhenguo Niu
12ee7b72ff Fix inappropriate comment for volume update api
Change-Id: Id7a436cc864772bd2662fce0ef80d647c9e3dcf0
Closes-Bug: #1264415
2013-12-27 10:38:25 +08:00
Sushil Kumar
2e1d92bd6d Updates .gitignore for environment files
Adding ignore for Eclipse IDE environment files
These files .project and .pydevproject should be
ignored while pushing to repositories.

Change-Id: I44dbdaae71c3ed37c11122f1795d36c401dd431a
Closes-Bug: #1256043
2013-12-23 20:21:11 +00:00
Chris Buccella
97f293fea2 Discrepancy between README.rst and cinder help
1) --version in README should be --os-volume-api-version

2) CINDER_URL should be OS_AUTH_URL

Change-Id: I409634f3025463f2ae9419ddd0d99fa50554a04d
Closes-Bug: 1251385
2013-12-15 10:25:26 +02:00
Jenkins
1c3c79b19e Merge "Reset-state and snapshot-reset-state for multiple objects" 2013-12-12 19:47:03 +00:00
Eric Harney
0e2bd33265 Reset-state and snapshot-reset-state for multiple objects
This allows a user to call reset-state or snapshot-reset-state on a
list of objects.  The behavior is modeled after a similar change to
delete multiple volumes.

$ cinder reset-state good_volume good_volume_2
<no output>

Error behavior is as follows:

One success/one failure:
$ cinder reset-state good_volume asdf
Reset state for volume asdf failed: No volume with a name or ID of 'asdf' exists.

One failure:
$ cinder reset-state asdf
ERROR: Reset state for volume asdf failed: No volume with a name or ID of 'asdf' exists.

Two failures:
$ cinder reset-state asdf qwert
Reset state for volume asdf failed: No volume with a name or ID of 'asdf' exists.
Reset state for volume qwert failed: No volume with a name or ID of 'qwert' exists.
ERROR: Unable to reset the state for any of the specified volumes.

Related-Bug: 1241941
Closes-Bug: 1256069
Change-Id: Id0a36fb7de0d69be0dac98ea04e4708775250b7a
2013-12-04 08:58:19 -05:00
Zhenguo Niu
8fc5ae480e Ignore swap files generated during file edting by vim
To ignore swap files from getting into repository
currently the implemented ignore is *.swp
however vim adds more swap files if these files exists,
so improving this with .*.sw?

Change-Id: I11965d5fb22aeae622dad8bb29cf1f0533ed439a
Closes-Bug: #1255876
2013-12-04 09:39:50 +08:00
Vincent Hou
e64973f9a7 Add search_opts into the method list() for VolumeTypeManager
Since the method base.ManagerWithFind.findall has been modified by
adding the search_opts for all tenants support, the parameter
search_opts should also be added to all the manager classes, which
can be called whithin this method. volumetypemanager does not have
this parameter for its method list(). Adding search_opts will resolve
this issue.

Closes-Bug: #1252665

Change-Id: I526500625f1b5483cb5d88ea15e6ac8485a66ae3
2013-12-03 11:59:19 +02:00
Avishay Traeger
c33dd1b842 Add assert to delete multiple test
Make sure calls are made to delete both volumes. Also removed redundant
fields in v1 fake volume.

Closes-Bug: #1253142
Change-Id: I51078041c6d765f28edb155d44928286ee2b0dd6
2013-11-28 11:30:49 +02:00
huangtianhua
5aaa68f09e Fix typo in cinderclient
sematics --> semantics
hypen-separated --> hyphen-separated
typicaly --> typically

Change-Id: I5df277ef7036082d0e4b079c23d41da809e5270f
Closes-Bug: #1254587
2013-11-28 09:28:05 +08:00
wanghao
e8a0e6abdf Fix inappropriate comment for set_metadata
Fix inappropriate comment for the param of set_metadata

Change-Id: I01495f59b11ed88389b0e0f2f5fb34289f64dbac
Closes-Bug: 1254951
2013-11-26 08:07:16 +02:00
Avishay Traeger
cd191d2eb3 Add index.rst section for patches merged to master
Add new section called "MASTER" to the release notes, where all patches
that implement blueprints or fix bugs should update the list. This list
will be used for the release notes when a new version is released.

Change-Id: If842bfbb85851fb7a9e22259423da204f4c308f4
2013-11-14 19:30:46 +02:00
john-griffith
d21ed05b4e Update version and index.rst for push
Update prior to push 1.0.7 to PyPi.

Includes changes/updates to doc/source/index and
adds link to README.rst

Change-Id: I666f3e6004885db7a688abdac88fa1154d83f8c9
2013-10-30 21:12:31 -06:00
John Griffith
4a507601d7 Update docs/index.rst with release info for 1.0.6
Add features and bugs list for 1.0.6 pypi release.

Change-Id: I27134a04670bcfd1bca201ce1e0bba201e8ff98c
2013-10-04 08:52:14 -06:00
John Griffith
8a107396c2 Add a couple more things to index before release
Most of the new features are in and oslo req's are
synched, making the cut off here and getting a new
client version pushed up to PyPi.

Change-Id: If208b2341db06b438851d7b2aaab541efc79ea35
2013-08-06 16:00:51 -06:00
Jakub Ruzicka
e04232b552 Provide cinder CLI man page.
Provide basic but hopefully useful man page.

shell.rst was merged into and replaced by the man page in HTML docs.

pbr is used to determine version.

Docs copyright was changed to more accurate "OpenStack Contributors".

Fixes: bug 1206968
Implements: blueprint clients-man-pages
Change-Id: Iedd7b4b161ced564833fd9433762b87a4c1a374d
2013-08-05 16:00:01 -04:00
John Griffith
2b0f086e7b Update index.rst
Update the release info in index.rst to get ready
to push new version to PyPi.

Change-Id: Id3b4b6bfd7374b74bf8566dc133ea66f5d2f74ed
2013-07-13 14:47:40 -06:00
Chuck Short
dc1105ebca python3: Fix unicode strings
Python3 enforces the distinction between byte
strings and text strings more rigorously than
python2. So use six.text_type where approiate.

Change-Id: I46b3f5fe1f990fc1b7a3ee32904d608b070fc4c3
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2013-06-13 01:43:35 +00:00
John Griffith
f2835f4d42 Update release info in index.rst.
Add release notes and fix revision number mishap.

Change-Id: Ia48be8462e17c900562b794fd69ba2234f6c6c03
2013-05-01 17:26:39 -06:00
john-griffith
020778ddd9 Docs in cinderlcient were never actually updated.
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
2013-03-19 00:26:44 -06:00
Frederic Lepied
33c897d87e 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
2013-01-31 20:41:47 +01:00
Jenkins
a153f10b2b Merge "Change '_' to '-' in options" 2012-08-30 15:15:12 +00:00