Merge "Enable image import plugins & image output format" into stable/queens

This commit is contained in:
Zuul 2019-12-19 15:37:59 +00:00 committed by Gerrit Code Review
commit 91cf0dcc6b
3 changed files with 20 additions and 1 deletions

View File

@ -138,7 +138,7 @@ outputs:
# BEGIN DOCKER SETTINGS # # BEGIN DOCKER SETTINGS #
puppet_config: puppet_config:
config_volume: glance_api config_volume: glance_api
puppet_tags: glance_api_config,glance_api_paste_ini,glance_swift_config,glance_cache_config puppet_tags: glance_api_config,glance_api_paste_ini,glance_swift_config,glance_cache_config,glance_image_import_config
step_config: step_config:
list_join: list_join:
- "\n" - "\n"

View File

@ -139,6 +139,16 @@ parameters:
Whether to show multiple image locations e.g for copy-on-write support on Whether to show multiple image locations e.g for copy-on-write support on
RBD or Netapp backends. Potential security risk, see glance.conf for more information. RBD or Netapp backends. Potential security risk, see glance.conf for more information.
type: boolean type: boolean
GlanceImageImportPlugins:
default: ['no_op']
description: >
List of enabled Image Import Plugins. Valid values in the list are
'image_conversion', 'inject_metadata', 'no_op'.
type: comma_delimited_list
GlanceImageConversionOutputFormat:
default: 'raw'
description: Desired output format for image conversion plugin.
type: string
GlanceEnabledImportMethods: GlanceEnabledImportMethods:
default: 'web-download' default: 'web-download'
description: > description: >
@ -273,6 +283,8 @@ outputs:
glance::api::image_member_quota: {get_param: GlanceImageMemberQuota} glance::api::image_member_quota: {get_param: GlanceImageMemberQuota}
glance::api::enabled_import_methods: {get_param: GlanceEnabledImportMethods} glance::api::enabled_import_methods: {get_param: GlanceEnabledImportMethods}
glance::api::node_staging_uri: {get_param: GlanceNodeStagingUri} glance::api::node_staging_uri: {get_param: GlanceNodeStagingUri}
glance::api::image_import_plugins: {get_param: GlanceImageImportPlugins}
glance::api::image_conversion_output_format: {get_param: GlanceImageConversionOutputFormat}
# NOTE: bind IP is found in hiera replacing the network name with the # NOTE: bind IP is found in hiera replacing the network name with the
# local node IP for the given network; replacement examples # local node IP for the given network; replacement examples
# (eg. for internal_api): # (eg. for internal_api):

View File

@ -0,0 +1,7 @@
---
features:
- |
Add new parameter 'GlanceImageImportPlugins', to enable plugins
used by image import process.
Add parameter 'GlanceImageConversionOutputFormat', to provide desired
output format for image conversion plugin.