Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Add NovaImageTypeExcludeList parameter
Browse files Browse the repository at this point in the history
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
  • Loading branch information
olliewalsh committed Jan 12, 2021
1 parent 9fd7090 commit ae1f4c1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deployment/nova/nova-compute-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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}
Expand Down Expand Up @@ -702,6 +711,7 @@ resources:
NovaComputeOptVolumes: {get_param: NovaComputeOptVolumes}
NovaComputeOptEnvVars: {get_param: NovaComputeOptEnvVars}
NovaDisableImageDownloadToRbd: {get_param: NovaDisableImageDownloadToRbd}
NovaImageTypeExcludeList: {get_param: NovaImageTypeExcludeList}


conditions:
Expand Down

0 comments on commit ae1f4c1

Please sign in to comment.