OpenStack Image Management (Glance)
Go to file
Dharini Chandrasekar c74e6bb8dd Prevent v1_api from making requests to v2_registry
In glance v2, when one opts to use v2_registry, it is required that
'data_api' is set to 'glance.db.registry.api'. This is returned by
method 'get_api()' which currently simply returns whatever is provided
to 'data_api'. This is suitable for v2. But when using v1, this same
method is used to fetch the db api. This returns 'glance.db.registry.api'
which inturn relies on the registry rpc client (v2).
To prevent this, this patch proposes to change what get_api()
will return based on whether it is serving v1 api or v2 api.

Change-Id: Ifef36859b3f7692769a6991364b6063c9f7cc451
Closes-Bug: 1516706
2017-02-09 18:44:08 +00:00
api-ref/source Update api-ref for image visibility changes 2017-01-30 12:29:59 -05:00
doc/source Add expand/migrate/contract commands to glance-manage CLI 2017-02-01 23:23:11 +00:00
etc Refresh config files for Ocata RC-1 2017-02-02 23:40:19 +00:00
glance Prevent v1_api from making requests to v2_registry 2017-02-09 18:44:08 +00:00
rally-jobs Merge "Add 'vhdx' disk format." 2016-08-01 18:32:59 +00:00
releasenotes Update reno for stable/ocata 2017-02-03 10:43:44 +00:00
tools Prepare for using standard python tests 2017-02-03 20:11:48 +01:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 17:09:56 +05:30
.gitignore Add reno for release notes management 2015-11-04 18:21:25 +00:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 11:02:16 -04:00
.mailmap Add a mailmap entry for myself 2014-02-11 12:00:44 +08:00
.testr.conf Allow specifying OS_TEST_PATH (to reduce tests ran) 2016-11-07 11:09:26 -08:00
CONTRIBUTING.rst Remove uneccessary "in" from CONTRIBUTING.rst 2016-11-22 08:59:39 +08:00
HACKING.rst Corrected section underline 2016-04-15 11:40:59 +05:30
LICENSE Add a LICENSE file. 2012-01-03 10:14:01 -05:00
MANIFEST.in Remove old traces of the oslo-incubator 2015-09-09 09:11:05 +02:00
README.rst Add alt text for badges 2016-12-01 16:23:35 +00:00
babel.cfg Added first step of babel-based translations. 2012-02-28 02:00:37 -08:00
bandit.yaml Move bandit into pep8 2016-02-26 08:12:45 +01:00
pylintrc Typo in pylintrc file 2015-03-25 11:21:16 +01:00
requirements.txt Port Glance Migrations to Alembic 2017-01-31 22:42:43 -06:00
setup.cfg revert warnerrors before gate breaks 2016-03-14 09:17:13 -04:00
setup.py Updated from global requirements 2015-09-24 01:01:31 +00:00
test-requirements.txt Updated from global requirements 2017-01-26 12:49:58 +00:00
tox.ini Refactor tests to use Alembic to run migrations 2017-02-01 16:08:17 -06: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",
"team:diverse-affiliation",
"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:

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: