Add support for Glance disk_formats configuration
The newly added GlanceDiskFormats parameter is meant to configure a list of disk formats allowed in Glance; the service default is used unless the list is explicitly set. Depends-On: I0f343321d43efa5e4a4274f01a4592a8fcd92417 Change-Id: If38194902463557e184a8297a0a02f873d6a2a2d
This commit is contained in:
parent
85100b8bfc
commit
0d8231c169
@ -154,6 +154,12 @@ parameters:
|
||||
List of enabled Image Import Plugins. Valid values in the list are
|
||||
'image_conversion', 'inject_metadata', 'no_op'.
|
||||
type: comma_delimited_list
|
||||
GlanceDiskFormats:
|
||||
default: ''
|
||||
description: >
|
||||
List of allowed disk formats in Glance; all formats are allowed when
|
||||
left unset.
|
||||
type: comma_delimited_list
|
||||
GlanceImageConversionOutputFormat:
|
||||
default: 'raw'
|
||||
description: Desired output format for image conversion plugin.
|
||||
@ -516,6 +522,11 @@ outputs:
|
||||
glance::api::filesystem_store_metadata_file: '/etc/glance/glance-metadata-file.json'
|
||||
glance::api::filesystem_store_file_perm: '0644'
|
||||
- {}
|
||||
-
|
||||
if:
|
||||
- {equals: [{get_param: GlanceDiskFormats}, []]}
|
||||
- {}
|
||||
- glance::api::disk_formats: {get_param: GlanceDiskFormats}
|
||||
- glance::api::sync_db: false
|
||||
service_config_settings:
|
||||
mysql:
|
||||
|
Loading…
x
Reference in New Issue
Block a user