Merge "Add param for RBD disk cache modes"

This commit is contained in:
Zuul 2021-06-06 17:45:54 +00:00 committed by Gerrit Code Review
commit ef63ee415c
3 changed files with 20 additions and 2 deletions

View File

@ -787,6 +787,12 @@ parameters:
description: The name of the stack/plan.
type: string
RbdDiskCachemodes:
type: comma_delimited_list
default: ['network=writeback']
description: >
Disk cachemodes for RBD backend.
parameter_groups:
- label: deprecated
description: |
@ -1081,6 +1087,7 @@ outputs:
- {get_param: CephClientUserName}
tripleo::profile::base::nova::compute::cinder_nfs_backend: {get_param: CinderEnableNfsBackend}
rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
rbd_disk_cachemodes: {get_param: RbdDiskCachemodes}
nova::keystone::authtoken::project_name: 'service'
nova::keystone::authtoken::user_domain_name: 'Default'
nova::keystone::authtoken::project_domain_name: 'Default'

View File

@ -297,6 +297,11 @@ parameters:
description: >
Setting this to a unique value will re-run any deployment tasks which
perform configuration on a Heat stack-update.
RbdDiskCachemodes:
type: comma_delimited_list
default: ['network=writeback']
description: >
Disk cachemodes for RBD backend.
conditions:
use_tls_for_live_migration:
@ -447,6 +452,7 @@ outputs:
nova::compute::libvirt::log_filters: {get_param: LibvirtLogFilters}
nova::compute::libvirt::virtlogd::log_filters: {get_param: LibvirtVirtlogdLogFilters}
rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
rbd_disk_cachemodes: {get_param: RbdDiskCachemodes}
- if:
- use_tls_for_live_migration
- tripleo::profile::base::nova::migration::client::libvirt_tls: true

View File

@ -0,0 +1,5 @@
---
features:
- |
New parameter `RbdDiskCachemodes` allows to override
the disk cache modes for RBD. Defaults to ['network=writeback'].