Elasticsearch logs aren't compressed nor deleted

Bug #1572929 reported by Simon Pasquier
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
StackLight
Fix Released
Medium
Swann Croiset
0.8
Won't Fix
Undecided
Unassigned
0.9
Won't Fix
Undecided
Unassigned

Bug Description

Tested on MOS 8 & StackLight 0.9.

# ls -lart /var/log/elasticsearch/es-01/
total 1508
drwxr-xr-x 3 elasticsearch elasticsearch 4096 Apr 11 09:34 ..
-rw-r--r-- 1 elasticsearch elasticsearch 0 Apr 11 09:34 lma_index_search_slowlog.log
-rw-r--r-- 1 elasticsearch elasticsearch 0 Apr 11 09:34 lma_index_indexing_slowlog.log
-rw-r--r-- 1 elasticsearch elasticsearch 1490048 Apr 11 10:30 lma.log.2016-04-11
-rw-r--r-- 1 elasticsearch elasticsearch 836 Apr 12 00:00 lma.log.2016-04-12
-rw-r--r-- 1 elasticsearch elasticsearch 836 Apr 13 00:00 lma.log.2016-04-13
-rw-r--r-- 1 elasticsearch elasticsearch 836 Apr 14 00:00 lma.log.2016-04-14
-rw-r--r-- 1 elasticsearch elasticsearch 697 Apr 15 00:00 lma.log.2016-04-15
-rw-r--r-- 1 elasticsearch elasticsearch 697 Apr 16 00:00 lma.log.2016-04-16
-rw-r--r-- 1 elasticsearch elasticsearch 697 Apr 17 00:00 lma.log.2016-04-17
-rw-r--r-- 1 elasticsearch elasticsearch 836 Apr 18 00:01 lma.log.2016-04-18
-rw-r--r-- 1 elasticsearch elasticsearch 697 Apr 19 00:00 lma.log.2016-04-19
-rw-r--r-- 1 elasticsearch elasticsearch 836 Apr 20 00:02 lma.log.2016-04-20
drwxr-xr-x 2 elasticsearch elasticsearch 4096 Apr 21 00:00 .
-rw-r--r-- 1 elasticsearch elasticsearch 697 Apr 21 00:00 lma.log

Changed in lma-toolchain:
milestone: 1.0.0 → 0.10.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-elasticsearch-kibana (master)

Fix proposed to branch: master
Review: https://review.openstack.org/325251

Changed in lma-toolchain:
assignee: LMA-Toolchain Fuel Plugins (mos-lma-toolchain) → Swann Croiset (swann-w)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugin-elasticsearch-kibana (master)

Reviewed: https://review.openstack.org/325251
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-elasticsearch-kibana/commit/?id=6853f52c5c32882c5044915b0a4a02a829af6c7d
Submitter: Jenkins
Branch: master

commit 6853f52c5c32882c5044915b0a4a02a829af6c7d
Author: Swann Croiset <email address hidden>
Date: Fri Jun 3 14:18:52 2016 +0200

    Rotate Elasticsearch logs

    In order to fully wrap up the Elasticsearch configuration including
    log management, this commit moves all the Elasticsearch related stuff
    from the manifest into a new Puppet module lma_logging_analytics::elasticsearch.

    Closes-bug: #1572929
    Change-Id: I3dd6d027d2b1de3d6ae3baa01a92dbca1d0ff95b

Changed in lma-toolchain:
status: In Progress → Fix Committed
Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

To apply the fix on the 0.8.x and 0.9.x versions of the Elasticsearch/Kibana plugin, you need to:
- create/modify the files as described in [1] on all Elasticsearch nodes.
- restart the Elasticsearch service on all the nodes. If you have several nodes, it is recommended to restart the Elasticsearch services one node after the other to avoid a cluster outage.

[1] http://paste.openstack.org/show/531753/

Changed in lma-toolchain:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.