1b144f4c12
This patch adds a task for image conversion. It uses `qemu-img` to convert images. This tool has support for several image formats. The current implementation converts images if and only if the operator has configured glance to do so. That is, the `convert_to_format` option has been set. There are few things about this patch that should be improved by follow-up patches. The first one is the fact that it relies on the entry_points order for task execution. Although this works, it is not the most flexible/controllable way to do it. The second thing is that it relies on the aforementioned configuration option to enable/disable the task (as in, it becomes a non-op). There should be an explicit way to enable/disable tasks. Since both things mentioned in the previous paragraph affect the task management in general, I've decided to leave the fix for a follow-up patch. DocImpact SecurityImpact Partially-implements blueprint: new-upload-workflow Partially-implements blueprint: basic-import-conversion Change-Id: I0196a6f327c0147f897ae051ee60a8cb11b8fd40
80 lines
2.3 KiB
INI
80 lines
2.3 KiB
INI
[metadata]
|
|
name = glance
|
|
version = 2015.1
|
|
summary = OpenStack Image Service
|
|
description-file =
|
|
README.rst
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
home-page = http://www.openstack.org/
|
|
classifier =
|
|
Environment :: OpenStack
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
|
|
[global]
|
|
setup-hooks =
|
|
pbr.hooks.setup_hook
|
|
|
|
[entry_points]
|
|
console_scripts =
|
|
glance-api = glance.cmd.api:main
|
|
glance-cache-prefetcher = glance.cmd.cache_prefetcher:main
|
|
glance-cache-pruner = glance.cmd.cache_pruner:main
|
|
glance-cache-manage = glance.cmd.cache_manage:main
|
|
glance-cache-cleaner = glance.cmd.cache_cleaner:main
|
|
glance-control = glance.cmd.control:main
|
|
glance-manage = glance.cmd.manage:main
|
|
glance-registry = glance.cmd.registry:main
|
|
glance-replicator = glance.cmd.replicator:main
|
|
glance-scrubber = glance.cmd.scrubber:main
|
|
glance.common.image_location_strategy.modules =
|
|
location_order_strategy = glance.common.location_strategy.location_order
|
|
store_type_strategy = glance.common.location_strategy.store_type
|
|
oslo.config.opts =
|
|
glance.api = glance.opts:list_api_opts
|
|
glance.registry = glance.opts:list_registry_opts
|
|
glance.scrubber = glance.opts:list_scrubber_opts
|
|
glance.cache= glance.opts:list_cache_opts
|
|
glance.manage = glance.opts:list_manage_opts
|
|
glance.database.migration_backend =
|
|
sqlalchemy = oslo.db.sqlalchemy.migration
|
|
glance.database.metadata_backend =
|
|
sqlalchemy = glance.db.sqlalchemy.metadata
|
|
|
|
glance.flows =
|
|
import = glance.async.flows.base_import:get_flow
|
|
|
|
glance.flows.import =
|
|
convert = glance.async.flows.convert:get_flow
|
|
introspect = glance.async.flows.introspect:get_flow
|
|
|
|
[build_sphinx]
|
|
all_files = 1
|
|
build-dir = doc/build
|
|
source-dir = doc/source
|
|
|
|
[egg_info]
|
|
tag_build =
|
|
tag_date = 0
|
|
tag_svn_revision = 0
|
|
|
|
[compile_catalog]
|
|
directory = glance/locale
|
|
domain = glance
|
|
|
|
[update_catalog]
|
|
domain = glance
|
|
output_dir = glance/locale
|
|
input_file = glance/locale/glance.pot
|
|
|
|
[extract_messages]
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = glance/locale/glance.pot
|