Add observability_data_only bool

This parameter allows the operator to set a condition that will trigger,
in the context of the ceph dashboard, only the node-exporter(s) deployment.
The parameter will be propagated to the cephadm playbook which is
responsible to deploy additional ceph daemons during the overcloud
deployment phase.

Depends-On: Ia1723394dae5ed03e50f2a236eb808f234e63331
Signed-off-by: Francesco Pantano <fpantano@redhat.com>
Change-Id: I7227a7ef7bba9c7eb41af42e5c8e0b9f53955ae6
This commit is contained in:
Francesco Pantano 2022-08-23 14:10:22 +02:00
parent 665391f63f
commit 700ab15052
2 changed files with 6 additions and 0 deletions

View File

@ -84,3 +84,4 @@ parameter_defaults:
ManilaCephFSCephFSProtocolHelperType: 'NFS'
DisableCephadm: true
CephConfigPath: "/etc/ceph"
CephObservabilityDataOnly: true

View File

@ -46,6 +46,10 @@ parameters:
type: boolean
default: false
description: Parameter used to trigger the dashboard deployment.
CephObservabilityDataOnly:
type: boolean
default: false
description: Parameter used to trigger only node-exporter deployment.
CephConfigOverrides:
type: json
description: Extra config settings to dump into ceph.conf
@ -449,6 +453,7 @@ resources:
tripleo_cephadm_container_cli: {get_param: ContainerCli}
tripleo_ceph_client_vars: {get_param: CephClientConfigVars}
tripleo_cephadm_dashboard_enabled: {get_param: CephEnableDashboard}
tripleo_cephadm_observability_data_only: {get_param: CephObservabilityDataOnly}
cephfs: {get_param: ManilaCephFSShareBackendName}
tripleo_cephadm_container_ns: {get_attr: [ContainerImageUrlParts, value, host]}
tripleo_cephadm_container_image: {get_attr: [ContainerImageUrlParts, value, image]}