OpenStack Image Management (Glance)
Go to file
Dan Smith 2a0d2303c3 Fix image/tasks API for in-progress tasks
A slight error in the tasks_get_by_image() DB API method resulted in
our excluding in-progress tasks from the returned list. This is
because those tasks have expires_at=NULL, and we were comparing
the expires_at>=$NOW to find unexpired tasks. This makes us check for
"NULL or not expired" instead.

We did have a test asserting the wrong behavior, but it was done to
increase coverage and thus was asserting the behavior of the code and
not the *desired* behavior. This fixes that as well.

Closes-Bug: #1922928
Change-Id: I1b6971888673b64ef60bed8fbcc97bbcbcf5c2ac
2021-04-07 08:10:03 -07:00
api-ref/source Make some metadef operations admin-only 2021-03-15 07:59:05 -07:00
devstack Fail to start if authorization and policy is misconfigured 2021-03-02 14:52:21 +00:00
doc Merge "Make some metadef operations admin-only" 2021-03-17 18:08:04 +00:00
etc Refresh Glance example configs for Wallaby milestone 3 2021-03-08 08:59:50 +00:00
glance Fix image/tasks API for in-progress tasks 2021-04-07 08:10:03 -07:00
httpd Update http deploy docs to be a bit more explicit 2017-11-02 01:19:19 -04:00
playbooks Do not use OSC in infra playbook 2020-09-22 18:07:39 +01:00
rally-jobs Update some url links of rally/README.rst 2018-02-27 00:29:38 -08:00
releasenotes Merge "Imported Translations from Zanata" 2021-03-24 07:09:02 +00:00
tools Stream-friendly disk format inspection module 2020-08-05 08:41:55 -07:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 17:09:56 +05:30
.gitignore Move policy defaults into code 2020-01-06 12:56:30 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:45:31 +00:00
.mailmap Add a mailmap entry for myself 2014-02-11 12:00:44 +08:00
.stestr.conf Use group_regex to serialize scrubber tests 2018-06-07 09:25:04 -04:00
.zuul.yaml Add Python3 xena unit tests 2021-03-23 17:09:16 +00:00
CONTRIBUTING.rst Community Goal: Project PTL & Contrib Docs Update 2020-03-11 06:09:47 +00:00
HACKING.rst Add doc8 to pep8 check for glance project 2018-01-19 08:20:56 +00:00
LICENSE Add a LICENSE file. 2012-01-03 10:14:01 -05:00
README.rst Start README.rst with a better title 2019-11-13 17:03:44 +01:00
bindep.txt Stream-friendly disk format inspection module 2020-08-05 08:41:55 -07:00
lower-constraints.txt Bump requirements to prepare for secure RBAC 2021-02-23 17:27:03 +00:00
pylintrc Typo in pylintrc file 2015-03-25 11:21:16 +01:00
requirements.txt Bump requirements to prepare for secure RBAC 2021-02-23 17:27:03 +00:00
setup.cfg [goal] Deprecate the JSON formatted policy file 2021-01-29 15:31:47 -08:00
setup.py Cleanup old cruft 2020-03-28 08:18:01 +01:00
test-requirements.txt Bump requirements to prepare for secure RBAC 2021-02-23 17:27:03 +00:00
tox.ini Tox.ini: add py39 2021-01-14 14:00:54 +01:00

README.rst

OpenStack Glance

The following tags have been asserted for the Glance project:
"project:official",
"tc:approved-release",
"stable:follows-policy",
"tc:starter-kit:compute",
"vulnerability:managed",
"assert:supports-upgrade",
"assert:follows-standard-deprecation".
Follow the link for an explanation of these tags.

Glance is an OpenStack project that provides services and associated libraries to store, browse, share, distribute and manage bootable disk images, other data closely associated with initializing compute resources, and metadata definitions.

Use the following resources to learn more:

API

To learn how to use Glance's API, consult the documentation available online at:

Developers

For information on how to contribute to Glance, please see the contents of the CONTRIBUTING.rst in this repository.

Any new code must follow the development guidelines detailed in the HACKING.rst file, and pass all unit tests.

Further developer focused documentation is available at:

Operators

To learn how to deploy and configure OpenStack Glance, consult the documentation available online at:

In the unfortunate event that bugs are discovered, they should be reported to the appropriate bug tracker. You can raise bugs here:

Release notes

To learn more about Glance's new features, optimizations, and changes between versions, consult the release notes online at:

Other Information

During each design summit, we agree on what the whole community wants to focus on for the upcoming release. You can see image service plans:

For more information about the Glance project please see: