OpenStack Image Management (Glance)
Go to file
Flavio Percoco f6e7992a68 Adopt glance.store library in Glance
This commits removes the old `store` package from glance and adopts the
usage of the new glance.store library. The library was designed to
preserve backwards compatibility as much as possible. In fact, most of
the changes in this patch are related to function args ordering and not
function renames or workflow changes.

Some changes that are worth mentioning:

1. Glance store doesn't rely on a global config object. All config
options must be explicitly registered.

2. All store operations now accepted an optional context. This is a
fallout from the context not being required in the `Store` constructor
anymore.

3. Store drivers are behind a private package called `_drivers` and
they're not suppose to be accessed directly. Instead, functions like
`get_store_from_scheme` should be used.

4. Stores are disabled by default

5. All the store specific options are under the `glance_store` group.

DocImpact:
The old store related configuration options have been moved under the
`glance_store` section. However, the old options will go through a
deprecation path. That is, they'll still be read from the `DEFAULT`
section to give deployers enough time to update their config files.

In k-2, the deprecated options will be completely obsolete.

Closes-bug: #1291848
Implements-blueprint: create-store-package

Change-Id: Iaacc70993ad5da292b93de42bbecda73d53b19fd
2014-09-08 15:48:36 +02:00
doc/source Introduces eventlet executor for Glance Tasks 2014-09-02 11:45:58 -04:00
etc Merge "Glance Metadata Definitions Catalog - Seed" 2014-09-06 09:04:56 +00:00
glance Adopt glance.store library in Glance 2014-09-08 15:48:36 +02:00
rally-scenarios Fix rally performance job in glance 2014-08-08 02:57:58 +04:00
tools Merge "colorizer: use staticmethod rather than classmethod" 2014-06-19 18:06:40 +00:00
.coveragerc Update .coveragerc 2013-02-06 16:47:06 +02:00
.gitignore Switch to testrepository for running tests 2014-01-29 08:30:55 +08: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 Switch to testrepository for running tests 2014-01-29 08:30:55 +08:00
CONTRIBUTING.rst Add CONTRIBUTING.rst 2014-07-01 09:32:54 +08:00
HACKING.rst Add hacking checks 2014-06-10 02:06:56 +00:00
LICENSE Add a LICENSE file. 2012-01-03 10:14:01 -05:00
MANIFEST.in Update version code from oslo. 2013-01-13 14:27:48 -08:00
README.rst Glance Metadata Definitions Catalog - Seed 2014-08-28 10:47:36 -04:00
babel.cfg Added first step of babel-based translations. 2012-02-28 02:00:37 -08:00
openstack-common.conf Move to oslo.db 2014-07-21 12:31:10 +03:00
pylintrc Packaging fixups 2010-10-21 15:51:44 -04:00
requirements.txt Adopt glance.store library in Glance 2014-09-08 15:48:36 +02:00
run_tests.sh Fix Jenkins translation jobs 2014-04-03 20:13:12 +02:00
setup.cfg Open Juno development 2014-04-01 09:16:36 -07:00
setup.py Updated from global requirements 2014-06-19 13:54:45 -04:00
test-requirements.txt Updated from global requirements 2014-06-19 13:54:45 -04:00
tox.ini Enable F821 check: undefined name 'name' 2014-07-23 16:28:24 +04:00

README.rst

Glance

Glance is a project that defines services for discovering, registering, retrieving and storing virtual machine images. Use the following resources to learn more: * Official Glance documentation * Official Client documentation