Add param for RBD disk cache modes
New parameter to control RBD disk caching modes. Depends-On: https://review.opendev.org/792326 Change-Id: I6fac9ff39892c08453c050816f61a4bcee4bddf0 Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
parent
9860ea91f0
commit
8a3cf6aa87
|
@ -787,6 +787,12 @@ parameters:
|
||||||
description: The name of the stack/plan.
|
description: The name of the stack/plan.
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
RbdDiskCachemodes:
|
||||||
|
type: comma_delimited_list
|
||||||
|
default: ['network=writeback']
|
||||||
|
description: >
|
||||||
|
Disk cachemodes for RBD backend.
|
||||||
|
|
||||||
parameter_groups:
|
parameter_groups:
|
||||||
- label: deprecated
|
- label: deprecated
|
||||||
description: |
|
description: |
|
||||||
|
@ -1093,6 +1099,7 @@ outputs:
|
||||||
- {get_param: CephClientUserName}
|
- {get_param: CephClientUserName}
|
||||||
tripleo::profile::base::nova::compute::cinder_nfs_backend: {get_param: CinderEnableNfsBackend}
|
tripleo::profile::base::nova::compute::cinder_nfs_backend: {get_param: CinderEnableNfsBackend}
|
||||||
rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
|
rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
|
||||||
|
rbd_disk_cachemodes: {get_param: RbdDiskCachemodes}
|
||||||
nova::keystone::authtoken::project_name: 'service'
|
nova::keystone::authtoken::project_name: 'service'
|
||||||
nova::keystone::authtoken::user_domain_name: 'Default'
|
nova::keystone::authtoken::user_domain_name: 'Default'
|
||||||
nova::keystone::authtoken::project_domain_name: 'Default'
|
nova::keystone::authtoken::project_domain_name: 'Default'
|
||||||
|
@ -1115,7 +1122,7 @@ outputs:
|
||||||
nova::compute::live_migration_wait_for_vif_plug: {get_param: NovaLiveMigrationWaitForVIFPlug}
|
nova::compute::live_migration_wait_for_vif_plug: {get_param: NovaLiveMigrationWaitForVIFPlug}
|
||||||
nova::migration::libvirt::live_migration_permit_post_copy:
|
nova::migration::libvirt::live_migration_permit_post_copy:
|
||||||
if:
|
if:
|
||||||
- permit_post_copy_set
|
- permit_post_copy_set
|
||||||
- {get_attr: [RoleParametersValue, value, nova_permit_post_copy]}
|
- {get_attr: [RoleParametersValue, value, nova_permit_post_copy]}
|
||||||
- if:
|
- if:
|
||||||
- live_migration_optimization_set
|
- live_migration_optimization_set
|
||||||
|
|
|
@ -297,6 +297,11 @@ parameters:
|
||||||
description: >
|
description: >
|
||||||
Setting this to a unique value will re-run any deployment tasks which
|
Setting this to a unique value will re-run any deployment tasks which
|
||||||
perform configuration on a Heat stack-update.
|
perform configuration on a Heat stack-update.
|
||||||
|
RbdDiskCachemodes:
|
||||||
|
type: comma_delimited_list
|
||||||
|
default: ['network=writeback']
|
||||||
|
description: >
|
||||||
|
Disk cachemodes for RBD backend.
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
use_tls_for_live_migration:
|
use_tls_for_live_migration:
|
||||||
|
@ -364,7 +369,7 @@ resources:
|
||||||
VhostuserSocketGroup: {get_param: VhostuserSocketGroup}
|
VhostuserSocketGroup: {get_param: VhostuserSocketGroup}
|
||||||
QemuMemoryBackingDir: {get_param: QemuMemoryBackingDir}
|
QemuMemoryBackingDir: {get_param: QemuMemoryBackingDir}
|
||||||
NovaLibvirtOptVolumes: {get_param: NovaLibvirtOptVolumes}
|
NovaLibvirtOptVolumes: {get_param: NovaLibvirtOptVolumes}
|
||||||
|
|
||||||
ContainersCommon:
|
ContainersCommon:
|
||||||
type: ../containers-common.yaml
|
type: ../containers-common.yaml
|
||||||
|
|
||||||
|
@ -447,6 +452,7 @@ outputs:
|
||||||
nova::compute::libvirt::log_filters: {get_param: LibvirtLogFilters}
|
nova::compute::libvirt::log_filters: {get_param: LibvirtLogFilters}
|
||||||
nova::compute::libvirt::virtlogd::log_filters: {get_param: LibvirtVirtlogdLogFilters}
|
nova::compute::libvirt::virtlogd::log_filters: {get_param: LibvirtVirtlogdLogFilters}
|
||||||
rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
|
rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
|
||||||
|
rbd_disk_cachemodes: {get_param: RbdDiskCachemodes}
|
||||||
- if:
|
- if:
|
||||||
- use_tls_for_live_migration
|
- use_tls_for_live_migration
|
||||||
- tripleo::profile::base::nova::migration::client::libvirt_tls: true
|
- tripleo::profile::base::nova::migration::client::libvirt_tls: true
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
New parameter `RbdDiskCachemodes` allows to override
|
||||||
|
the disk cache modes for RBD. Defaults to ['network=writeback'].
|
Loading…
Reference in New Issue