From ae1f4c1fbcdfc2ec41212685e011bbdb82c5f7c7 Mon Sep 17 00:00:00 2001 From: Oliver Walsh Date: Mon, 11 Jan 2021 23:36:47 +0000 Subject: [PATCH] Add NovaImageTypeExcludeList parameter Add support for the [compute]/image_type_exclude_list parameter to prevent image types being reported as supported by a compute node. Depends-On: I389d4b586468720d73ac69b025a3c34df54fe73e Change-Id: I326cb9facf33693fdf8f361f9bc58aa28b3c20af --- deployment/nova/nova-compute-container-puppet.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/deployment/nova/nova-compute-container-puppet.yaml b/deployment/nova/nova-compute-container-puppet.yaml index 6926148d8c..345286edd7 100644 --- a/deployment/nova/nova-compute-container-puppet.yaml +++ b/deployment/nova/nova-compute-container-puppet.yaml @@ -512,6 +512,14 @@ parameters: ownership and selinux context. default: - 'triliovault-mounts' + NovaImageTypeExcludeList: + type: comma_delimited_list + description: > + List of image formats that should not be advertised as supported by the compute + service. + default: [] + tags: + - role_specific # DEPRECATED: the following options are deprecated and are currently maintained # for backwards compatibility. They will be removed in future release. @@ -618,6 +626,7 @@ resources: nova_compute_opt_volumes: NovaComputeOptVolumes nova_compute_opt_env_vars: NovaComputeOptEnvVars nova::workarounds::never_download_image_if_on_rbd: NovaDisableImageDownloadToRbd + nova::compute::image_type_exclude_list: NovaImageTypeExcludeList - values: {get_param: [RoleParameters]} - values: NovaVcpuPinSet: {get_param: NovaVcpuPinSet} @@ -702,6 +711,7 @@ resources: NovaComputeOptVolumes: {get_param: NovaComputeOptVolumes} NovaComputeOptEnvVars: {get_param: NovaComputeOptEnvVars} NovaDisableImageDownloadToRbd: {get_param: NovaDisableImageDownloadToRbd} + NovaImageTypeExcludeList: {get_param: NovaImageTypeExcludeList} conditions: