From 11a05a4d5218b4df1011063f666ce93b79a0afc3 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 31 Jul 2020 09:26:18 -0700 Subject: [PATCH] openshift / staging: add infra nodes and add logging pvs We need to define infra nodes in the inventory and we also need to setup logging pv's as part of the install. See https://access.redhat.com/solutions/4562161 Signed-off-by: Kevin Fenzi --- .../templates/cluster-inventory-stg.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory-stg.j2 b/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory-stg.j2 index 78c29baec9..d5072c4a2f 100644 --- a/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory-stg.j2 +++ b/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory-stg.j2 @@ -21,6 +21,10 @@ {% for host in groups[openshift_cluster_nodes_group] %} {{ host }} openshift_node_group_name='node-config-compute' {% endfor %} +{% for host in groups['os_infra_nodes_stg'] %} +{{ host }} openshift_node_group_name='node-config-infra' +{% endif %} +{% endfor %} #[nfs] #ose3-master1.test.example.com @@ -718,6 +722,10 @@ openshift_logging_storage_host=ntap-iad2-c02-fedora01-nfs01a openshift_logging_storage_nfs_directory=/ openshift_logging_storage_volume_name=openshift-stg-logging openshift_logging_storage_volume_size=100Gi +openshift_logging_es_pvc_size=10Gi +openshift_logging_es_pvc_storage_class_name='' +openshift_logging_es_pvc_dynamic=true +openshift_logging_es_pvc_prefix=logging # # Option C - Dynamic -- If openshift supports dynamic volume provisioning for # your cloud platform use this.