
* Replace jsonutils.dumps() with jsonutils.dump_as_bytes() since output is used for the HTTP body, and HTTP body type is bytes, not Unicode. On Python 3, jsonutils.dumps() returns Unicode. * FakeHttplibSocket: replace io.StringIO with io.BytesIO, HTTP body type is bytes. Encode Unicode to UTF-8. * Fix FakeHttplibSocket.makefile() API: only the first parameter is mandatory. On Python 3, it's only called with the first 'mode' parameter. * Use bytes strings to test HTTP bodies (JSON or XML). * Replace dict.values() with list(dict.values()) to get a list on Python 3. * Replace error.message with encodeutils.exception_to_unicode(error), exceptions loose their message attribute in Python 3. * Update JSON serializer test in test_wsgi.py to use bytes. * tests-py3.txt: add cinder.tests.unit.api.v1 and cinder.tests.unit.api.v2 Partial-Implements: blueprint cinder-python3 Change-Id: I0f0048f4a1344feaa3434cbf7ebd31e3f12d6ae4
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.
- Wiki: http://wiki.openstack.org/Cinder
- Developer docs: http://docs.openstack.org/developer/cinder
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
git clone https://github.com/openstack/cinder.git
For developer information please see HACKING.rst
You can raise bugs here http://bugs.launchpad.net/cinder
Python client
Description
Languages
Python
99.7%
Smarty
0.3%