Skip to content

Commit

Permalink
Merge pull request #528 from cloudnull/remove-elasticsearch
Browse files Browse the repository at this point in the history
Remove the elasticsearch maas check
  • Loading branch information
tonytan4ever authored Jul 24, 2018
2 parents c98854d + 78b532c commit f17a91a
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 321 deletions.
4 changes: 1 addition & 3 deletions doc/maas-checks/source/maas_checks_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,7 @@ def _get_globals(config_variables):
# configured list.
# NOTE: Don't copy config_variables into new_globals wholesale as we
# want things such as alarm criteria to remain as actual template values.
for name in ("elasticsearch_process_names",
"ceph_radosgw_protocol",
"filebeat_process_names",
for name in ("ceph_radosgw_protocol",
"rsyslogd_process_names",
"maas_swift_account_process_names",
"maas_swift_container_process_names",
Expand Down
15 changes: 0 additions & 15 deletions doc/source/static-inventory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,21 +135,6 @@ section
osds
elasticsearch_all
~~~~~~~~~~~~~~~~~

If you have node(s) running ``elasticsearch``, add the node(s) into the
"elasticsearch" section

.. code-block:: ini
[elasticsearch]
infra1
[elasticsearch_all:children]
elasticsearch
rsyslog_all
~~~~~~~~~~~

Expand Down
145 changes: 0 additions & 145 deletions playbooks/files/rax-maas/plugins/elasticsearch.py

This file was deleted.

8 changes: 0 additions & 8 deletions playbooks/maas-infra-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

- include: maas-infra-elasticsearch.yml
tags:
- maas-infra

- include: maas-infra-filebeat.yml
tags:
- maas-infra

- include: maas-infra-galera.yml
tags:
- maas-infra
Expand Down
44 changes: 0 additions & 44 deletions playbooks/maas-infra-elasticsearch.yml

This file was deleted.

47 changes: 0 additions & 47 deletions playbooks/maas-infra-filebeat.yml

This file was deleted.

2 changes: 1 addition & 1 deletion playbooks/templates/common/macros.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
api
{% elif check_label.startswith('managed_k8') %}
kubernetes
{% elif check_label in ['elasticsearch_process_check', 'filebeat_process_check'] or check_label.startswith('rsyslogd_process_check') %}
{% elif check_label.startswith('rsyslogd_process_check') %}
logging
{% elif check_label in ['container_storage_check', 'holland_local_check', 'maas_poller_fd_count', 'memcached_status'] or check_label.startswith('galera') or check_label.startswith('rabbitmq') %}
infrastructure
Expand Down
26 changes: 0 additions & 26 deletions playbooks/templates/rax-maas/elasticsearch_process_check.yaml.j2

This file was deleted.

26 changes: 0 additions & 26 deletions playbooks/templates/rax-maas/filebeat_process_check.yaml.j2

This file was deleted.

6 changes: 0 additions & 6 deletions playbooks/vars/maas-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

elasticsearch_process_names:
- java

filebeat_process_names:
- filebeat

maas_holland_venv_bin: "/openstack/venvs/holland-{{ rpc_release }}/bin"
maas_mysql_connection_warning_threshold: 80
maas_mysql_connection_critical_threshold: 90
Expand Down
7 changes: 7 additions & 0 deletions releasenotes/notes/remove-elasticsearch-3ad96fe1e81f3383.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
upgrade:
- |
The elasticsearch maas check is not doing a whole lot and is more noise
than value. This is on top of the fact that the elasticsearch checks are
not made for a deployment where elasticsearch/logstash are deployed in a
high performance cluster. This change also removes the filebeat check.

0 comments on commit f17a91a

Please sign in to comment.