OpenStack Image Management (Glance)
Go to file
Abhishek Kekane 9a104acbae 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)
2020-07-14 16:20:22 +00:00
api-ref/source Correct reference to 2 import methods 2020-02-26 17:35:27 -05:00
doc Exclude http store if --all-stores specified for import/copy operation 2020-06-04 19:12:27 +00:00
etc Merge "Update OS::Glance::CommonImageProperties in metadefs" 2020-04-21 08:39:36 +00:00
glance Improve lazy loading mechanism for multiple stores 2020-07-14 16:20:22 +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 Don't include plugins on 'copy-image' import 2020-07-10 10:56:42 +00: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 Move policy defaults into code 2020-01-06 12:56:30 -05:00
.gitreview Update .gitreview for stable/ussuri 2020-04-22 13:08:07 +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-06-30 22:39:56 +02: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
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
lower-constraints.txt Merge "Add deprecation message to policy "default" rule" 2020-04-08 11:49:38 +00:00
pylintrc Typo in pylintrc file 2015-03-25 11:21:16 +01:00
requirements.txt Add deprecation message to policy "default" rule 2020-03-30 05:41:49 +00:00
setup.cfg Cleanup old cruft 2020-03-28 08:18:01 +01:00
setup.py Cleanup old cruft 2020-03-28 08:18:01 +01:00
test-requirements.txt Use unittest.mock instead of third party mock 2020-04-20 15:07:00 +00:00
tox.ini Update TOX_CONSTRAINTS_FILE for stable/ussuri 2020-04-22 13:08:10 +00: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: