Browse Source

Merge "Add the NovaImageCacheTTL to the nova compute service" into stable/ussuri

changes/51/749951/2
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
12df206416
2 changed files with 18 additions and 0 deletions
  1. +10
    -0
      deployment/nova/nova-compute-container-puppet.yaml
  2. +8
    -0
      releasenotes/notes/nova_image_cache_ttl-824f241363b9dd4e.yaml

+ 10
- 0
deployment/nova/nova-compute-container-puppet.yaml View File

@@ -421,6 +421,14 @@ parameters:
default: ""
tags:
- role_specific
NovaImageCacheTTL:
type: number
description: >
Time in seconds that nova compute should continue caching an image once
it is no longer used by any instances on the host
default: 86400
tags:
- role_specific

# DEPRECATED: the following options are deprecated and are currently maintained
# for backwards compatibility. They will be removed in future release.
@@ -520,6 +528,7 @@ resources:
nova::compute::max_disk_devices_to_attach: NovaMaxDiskDevicesToAttach
nova::compute::libvirt::pmem_namespaces: NovaPMEMMappings
nova_pmem_namespaces: NovaPMEMNamespaces
nova::compute::libvirt::remove_unused_original_minimum_age_seconds: NovaImageCacheTTL
- values: {get_param: [RoleParameters]}
- values:
NovaVcpuPinSet: {get_param: NovaVcpuPinSet}
@@ -594,6 +603,7 @@ resources:
NovaMaxDiskDevicesToAttach: {get_param: NovaMaxDiskDevicesToAttach}
NovaPMEMMappings: {get_param: NovaPMEMMappings}
NovaPMEMNamespaces: {get_param: NovaPMEMNamespaces}
NovaImageCacheTTL: {get_param: NovaImageCacheTTL}

conditions:
enable_instance_ha: {equals: [{get_param: EnableInstanceHA}, true]}


+ 8
- 0
releasenotes/notes/nova_image_cache_ttl-824f241363b9dd4e.yaml View File

@@ -0,0 +1,8 @@
---
features:
- |
Add the NovaImageCacheTTL to the nova compute service.
This exposes the remove_unused_original_minimum_age_seconds from nova.conf
which controls the time (in seconds) that nova compute should continue
caching an image once it is no longer used by and instances on the host.
Defaults to 86400 (24hrs)

Loading…
Cancel
Save