OpenStack Image Management (Glance) Client
Go to file
Alex Schultz 1aba8f2d24 Cleanup session object
If a session object is not provided to the get_http_client function (as
is done via osc), the glance client uses it's own HTTPClient class. This
class creates a session but does not properly close it when it is done.
This can lead to resource warnings about unclosed sockets. This change
adds a __del__() to the HTTPClient class to close out the session
correctly.

Change-Id: Idccff338fa84c46ca0e429bb533a2a5217205eef
Closes-Bug: #1838694
(cherry picked from commit 436f797e8d)
2020-03-17 21:49:47 +00:00
doc Merge "Bump openstackdocstheme to 1.20.0" 2019-07-17 14:52:26 +00:00
glanceclient Cleanup session object 2020-03-17 21:49:47 +00:00
releasenotes Add release note for glanceclient 2.17.0 2019-09-12 12:34:17 -04:00
tools Split glanceclient functional tests 2018-03-28 22:32:44 -04:00
.coveragerc Move old oslo-incubator code out of openstack/common 2016-11-08 11:33:09 +05:30
.gitignore Switch to using stestr 2018-06-05 14:38:51 +00:00
.gitreview Update .gitreview for stable/train 2019-09-13 14:59:25 +00:00
.mailmap Add support for location parameters in v2 commands 2014-06-16 21:56:41 +00:00
.stestr.conf Switch to using stestr 2018-06-05 14:38:51 +00:00
.zuul.yaml Remove v1 tests 2020-03-11 20:05:15 +01:00
CONTRIBUTING.rst Update and optimize documentation links 2017-07-19 12:38:19 +08:00
HACKING.rst Update and optimize documentation links 2017-07-19 12:38:19 +08:00
LICENSE Basic get/list operations work 2012-03-26 22:48:48 -07:00
README.rst Remove team diversity tags note in README 2018-08-10 09:51:35 +08:00
lower-constraints.txt Bump openstackdocstheme to 1.20.0 2019-07-02 09:45:33 +08:00
requirements.txt Handle HTTP headers per RFC 8187 2018-05-17 15:53:34 -04:00
run_tests.sh Start using Pyflakes and Hacking 2013-06-22 16:00:26 +02:00
setup.cfg Add Python 3 Train unit tests 2019-06-25 13:32:16 +00:00
setup.py Updated from global requirements 2017-03-02 11:54:22 +00:00
test-requirements.txt Update hacking version 2019-03-27 09:06:39 +00:00
tox.ini Remove v1 tests 2020-03-11 20:05:15 +01: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".
Follow the link for an explanation of these tags.

Python bindings to the OpenStack Images API

Latest Version

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 https://docs.openstack.org/python-glanceclient/latest/.