RETIRED, further work has moved to Debian project infrastructure
Go to file
Eric Fried 7df87fd4a2 Convert IOError from requests
This requests commit [1] changed the behavior when a nonexistent cacert
file is passed in: now it raises IOError.  This is getting through
glanceclient.common.http.HTTPClient._request, which used to raise
CommunicationError in this scenario.

Even though there is arguably a better exception than CommunicationError
to represent this condition (like maybe IOError), for backward
compatibility this change set converts IOError to CommunicationError.

We also improve the unit test to raise the original exception if the
expected conditions aren't met; this improves debugability.

[1] 7d8b87c37f

Change-Id: I6a2cf4c6d041b67d3509153b4cef18b459263648
Closes-Bug: #1692085
2017-05-19 14:59:58 -04:00
doc/source Use Sphinx 1.5 warning-is-error 2017-04-20 09:40:15 +01:00
glanceclient Convert IOError from requests 2017-05-19 14:59:58 -04:00
releasenotes Update reno for stable/ocata 2017-01-24 17:33:12 +00:00
tools Improve tools/tox_install.sh 2016-08-30 20:40:33 +02:00
.coveragerc Move old oslo-incubator code out of openstack/common 2016-11-08 11:33:09 +05:30
.gitignore Add reno to glanceclient 2016-02-11 11:58:19 +00:00
.gitreview Added gitreview file. 2012-04-03 20:50:44 -06:00
.mailmap Add support for location parameters in v2 commands 2014-06-16 21:56:41 +00:00
.testr.conf Move unit tests to standard directory 2015-04-18 17:42:20 +00:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:39 +00:00
HACKING.rst Make HACKING.rst DRYer 2013-11-11 10:52:07 -08:00
LICENSE Basic get/list operations work 2012-03-26 22:48:48 -07:00
README.rst Add alt text for badges 2016-12-01 12:38:08 -05:00
requirements.txt Updated from global requirements 2017-05-03 12:22:23 +00:00
run_tests.sh Start using Pyflakes and Hacking 2013-06-22 16:00:26 +02:00
setup.cfg Use Sphinx 1.5 warning-is-error 2017-04-20 09:40:15 +01:00
setup.py Updated from global requirements 2017-03-02 11:54:22 +00:00
test-requirements.txt Updated from global requirements 2017-05-01 13:40:05 +00:00
tox.ini Remove references to Python 3.4 2017-03-24 01:52:08 +00:00

README.rst

Team and repository tags

The following tags have been asserted for Python bindings to the
OpenStack Images API:
"project:official",
"stable:follows-policy",
"vulnerability:managed",
"team:diverse-affiliation".
Follow the link for an explanation of these tags.

Python bindings to the OpenStack Images API

Latest Version

Downloads

This is a client library for Glance built on the OpenStack Images API. It provides a Python API (the glanceclient module) and a command-line tool (glance). This library fully supports the v1 Images API, while support for the v2 API is in progress.

Development takes place via the usual OpenStack processes as outlined in the developer guide. The master repository is in Git.

See release notes and more at http://docs.openstack.org/developer/python-glanceclient/.