OpenStack Image Management (Glance) Client
Go to file
Mridula Joshi 1eb0bbbed7 Fix undesirable raw Python error
Using the glanceclient without a subcommand while
passing an optional argument triggers the raw Python
error `ERROR: 'Namespace' object has no attribute
'func'`. This bug can be reproduced by issuing the
command `glance --os-image-api-version 2`.
Added a default value to `func` as placeholder
so that a help message is shown instead of the Python error.

Closes-Bug: #1903727
Change-Id: Ie4288262e408192310cbbc240bd1779b265a64fd
2021-08-03 10:35:40 +00:00
doc Switch to newer openstackdocstheme and reno versions 2020-05-22 17:23:12 +00:00
glanceclient Fix undesirable raw Python error 2021-08-03 10:35:40 +00:00
releasenotes Fix undesirable raw Python error 2021-08-03 10:35:40 +00: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 OpenDev Migration Patch 2019-04-19 19:39:30 +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 Add Python3 xena unit tests 2021-03-11 10:24:57 +00: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
lower-constraints.txt bump mccabe in lc to unblock the gate 2020-12-18 10:14:30 +00:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-08-24 10:47:42 +08:00
requirements.txt Uncap PrettyTable 2021-05-17 09:15:02 +00:00
run_tests.sh Clean up extra spaces 2021-07-07 20:46:00 +08:00
setup.cfg Add py38 package metadata 2020-04-24 08:23:16 -05:00
setup.py Cleanup py27 support 2020-04-04 16:47:34 +02:00
test-requirements.txt Fix hacking min version to 3.0.1 2020-05-12 19:31:22 -05:00
tox.ini Remove F403, F812 and F821 from the ignorelist in tox.ini 2020-07-27 20:47:21 +02:00

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/.