Merge "Add the NovaImageCacheTTL to the nova compute service" into stable/train
This commit is contained in:
commit
8474feba63
|
@ -398,6 +398,14 @@ parameters:
|
|||
The value can be multiple addresses separated by commas.
|
||||
type: comma_delimited_list
|
||||
default: []
|
||||
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.
|
||||
|
@ -496,6 +504,7 @@ resources:
|
|||
nova::disk_allocation_ratio: NovaDiskAllocationRatio
|
||||
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}
|
||||
|
@ -569,6 +578,7 @@ resources:
|
|||
NovaDiskAllocationRatio: {get_param: NovaDiskAllocationRatio}
|
||||
NovaPMEMMappings: {get_param: NovaPMEMMappings}
|
||||
NovaPMEMNamespaces: {get_param: NovaPMEMNamespaces}
|
||||
NovaImageCacheTTL: {get_param: NovaImageCacheTTL}
|
||||
|
||||
conditions:
|
||||
insecure_registry_is_empty: {equals : [{get_param: DockerInsecureRegistryAddress}, []]}
|
||||
|
|
|
@ -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…
Reference in New Issue