OpenStack Block Storage (Cinder)
Go to file
Steven Kaufer 5cee4f4107 get volumes API does not handle limit=0
This bug fixes a regression from bug 1288429, where the "next"
link is added when the number of volumes returned is the
maximum limit (even if the "limit" param is not specified).

The regression is hit when a "limit" of 0 is specified; in this
case the logic to create the "next" link is still executed and an
exception is thrown. The fix is to add back in the "if" check that
implictly checks if the max_items is non-0.

Test code was also created to verify that a limit of 0 is handled
correctly.

Change-Id: I92f9afb9b0e2c627d2c77f67fa026b731903384f
Closes-bug: 1289124
2014-03-08 02:11:27 +00:00
bin Re-enable lazy translation 2014-03-06 16:08:25 +00:00
cinder get volumes API does not handle limit=0 2014-03-08 02:11:27 +00:00
doc Drop Chance/SimpleScheduler Implementation 2014-01-09 18:29:27 +08:00
etc/cinder Merge "Sync latest Oslo config code for i18n" 2014-03-07 18:28:13 +00:00
tools Sync latest Oslo config code for i18n 2014-03-06 10:07:22 -06:00
.coveragerc Add .coveragerc to show proper coverage statistics. As in other openstack projects. 2013-05-15 03:40:07 -07:00
.gitignore Updates .gitignore 2013-11-28 09:52:23 +00:00
.gitreview Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
.mailmap Update my mailmap 2013-10-25 16:29:14 +08:00
.testr.conf Fix up the test framework 2013-06-14 14:02:17 +00:00
CONTRIBUTING.md Add CONTRIBUTING file. 2012-11-22 12:47:49 -07:00
HACKING.rst Update HACKING.rst with regard to mock usage 2014-01-21 18:01:02 +02:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
MANIFEST.in Use setuptools-git. 2012-08-10 11:56:00 -04:00
README.rst Adding helpful URL links to README.rst and HACKING.rst 2013-12-27 19:29:17 -06:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
openstack-common.conf Sync request_id, request_utils for cinder 2014-02-18 17:05:09 +00:00
pylintrc Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
requirements.txt Updated from global requirements 2014-03-03 16:45:22 +00:00
run_tests.sh Sync latest Oslo config code for i18n 2014-03-06 10:07:22 -06:00
setup.cfg Merge "Use oslo.rootwrap library instead of local copy" 2014-01-22 05:45:16 +00:00
setup.py Updated from global requirements 2013-10-10 20:24:27 +00:00
test-requirements.txt Updated from global requirements 2014-02-28 17:34:53 +00:00
tox.ini Sync latest Oslo config code for i18n 2014-03-06 10:07:22 -06:00

README.rst

The Choose Your Own Adventure README for Cinder

You have come across a storage service for an open cloud computing service. It has identified itself as "Cinder." It was abstracted from the Nova project.

To monitor it from a distance: follow @openstack on twitter.

To tame it for use in your own cloud: read http://docs.openstack.org

To study its anatomy: read http://cinder.openstack.org

To dissect it in detail: visit http://github.com/openstack/cinder

To taunt it with its weaknesses: use http://bugs.launchpad.net/cinder

To watch it: http://jenkins.openstack.org

To hack at it: read HACKING.rst