OpenStack Image Management (Glance)
Go to file
Abhishek Kekane baf6b5ebf0 Improve lazy loading mechanism for multiple stores
Glance has a facility lazy loading for legacy images which will be called
on get/list api calls to add store information in image's location metadata
based on location URL of image. Even if admin decides to change the store
names in glance-api.conf same will also be updated in location metadata
for all images related to that particular store. Current implementation of
legacy image performs this operation on each get/list call as location metadata
is not getting updated in database or it doesn't handle to perform store name
check in glance-api.conf.

Improvements done:
1. Save updated location metadata information in database permenantly
2. Add logic to perform lazy loading only if store information is not present
in location metadata or store present in location metadata is not defined in
glance's enbaled_backends configuration option.

Change-Id: I789fa7adfb459e7861c90a51f418a635c0c22244
Closes-Bug: #1886374
(cherry picked from commit ab0e5268a9)
(cherry picked from commit 9a104acbae)
2020-07-15 05:19:13 +00:00
api-ref/source Set API version 2.9 CURRENT 2019-10-01 17:45:26 +00:00
doc Wrong visibility flag in the glance image-create 2020-01-28 06:54:43 +00:00
etc fix properties' missing underline for VirtCPUTopology 2020-01-31 06:20:05 +00:00
glance Improve lazy loading mechanism for multiple stores 2020-07-15 05:19:13 +00:00
httpd Update http deploy docs to be a bit more explicit 2017-11-02 01:19:19 -04:00
rally-jobs Update some url links of rally/README.rst 2018-02-27 00:29:38 -08:00
releasenotes Reminder: show_multiple_locations still deprecated 2020-02-27 18:41:47 -05:00
tools Use group_regex to serialize scrubber tests 2018-06-07 09:25:04 -04:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 17:09:56 +05:30
.gitignore tests: replace .testr.conf with .stestr.conf 2017-10-13 23:42:03 +00:00
.gitreview Update .gitreview for stable/train 2019-10-02 10:06:17 +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 Use grenade-multinode instead of the custom legacy job 2020-07-06 01:05:51 +02:00
CONTRIBUTING.rst Update the documention for doc migration 2017-08-02 07:22:46 +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 Update api-ref location 2019-07-22 19:15:05 +02:00
babel.cfg Added first step of babel-based translations. 2012-02-28 02:00:37 -08:00
bindep.txt add libpq-dev to build psycopg2 2019-04-09 18:06:35 -05:00
broken-functional-py3-ssl-tests.txt Don't target broken ssl tests to specific py3.minor 2019-05-14 11:34:04 +00:00
lower-constraints.txt Add support for oslo.reports 2019-09-20 05:17:58 +00:00
pylintrc Typo in pylintrc file 2015-03-25 11:21:16 +01:00
requirements.txt Add support for oslo.reports 2019-09-20 05:17:58 +00:00
setup.cfg Revert "Add reserved stores to the sample config file" 2019-09-19 12:40:34 +01:00
setup.py Updated from global requirements 2017-03-04 01:43:26 +00:00
test-requirements.txt Blacklist sphinx 2.1.0 (autodoc bug) 2019-06-12 14:17:22 +08:00
tox.ini Update TOX/UPPER_CONSTRAINTS_FILE for stable/train 2019-10-02 10:06:23 +00:00

README.rst

Team and repository tags

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

Glance is a 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: