From aa657644e82dee78d3289bf8581b650af97fd033 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Sat, 14 Jul 2018 21:35:47 -0500 Subject: [PATCH] Add meta groups to the elk readme and env.d file Change-Id: I8031fd5d6736197d2fd9a36352c941c882bc062d Signed-off-by: Kevin Carter --- elk_metrics_6x/env.d/elk.yml | 5 +++++ elk_metrics_6x/readme.rst | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/elk_metrics_6x/env.d/elk.yml b/elk_metrics_6x/env.d/elk.yml index 0e8323b7..286534ce 100644 --- a/elk_metrics_6x/env.d/elk.yml +++ b/elk_metrics_6x/env.d/elk.yml @@ -3,9 +3,14 @@ component_skel: apm-server: belongs_to: - elk_all + - apm_all elastic-logstash: belongs_to: - elk_all + - elasticsearch + - elasticsearch_all + - logstash + - logstash_all kibana: belongs_to: - elk_all diff --git a/elk_metrics_6x/readme.rst b/elk_metrics_6x/readme.rst index 7b6da013..b25558de 100644 --- a/elk_metrics_6x/readme.rst +++ b/elk_metrics_6x/readme.rst @@ -268,7 +268,7 @@ Create the containers .. code-block:: bash cd /opt/openstack-ansible/playbooks - openstack-ansible lxc-containers-create.yml -e 'container_group=elastic-logstash:Kibana:apm-server' + openstack-ansible lxc-containers-create.yml --limit elk_all Deploying | Installing with embedded Ansible @@ -470,7 +470,7 @@ Example command using the embedded Ansible from within the grafana directory. ansible-playbook ${USER_VARS} installGrafana.yml \ -e @../elk_metrics_6x/vars/variables.yml \ - -e galera_root_user=root \ + -e 'galera_root_user="root"' \ -e 'galera_address={{ internal_lb_vip_address }}' Optional | add kibana custom dashboard @@ -511,5 +511,5 @@ If everything goes bad, you can clean up with the following command .. code-block:: bash - openstack-ansible /opt/openstack-ansible-ops/elk_metrics_6x/site.yml -e "elk_package_state=absent" --tags package_install - openstack-ansible /opt/openstack-ansible/playbooks/lxc-containers-destroy.yml --limit=Kibana:elastic-logstash_all + openstack-ansible /opt/openstack-ansible-ops/elk_metrics_6x/site.yml -e 'elk_package_state="absent"' --tags package_install + openstack-ansible /opt/openstack-ansible/playbooks/lxc-containers-destroy.yml --limit elk_all