[LMA] Elasticsearch/Kibana - Curator cron job does not run correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StackLight |
Fix Released
|
Medium
|
guillaume thouvenin |
Bug Description
Looking at:
It seems there's a small typo in the curator cronjob, making it so the job does not run properly on a daily basis.
Instead of:
0 2 * * * /usr/local/
The timestring variables need to be escaped for the job to run successfully, else the variables are interpreted:
0 2 * * * /usr/local/
-----
Otherwise, the job will error with:
From <email address hidden> Thu Dec 17 02:00:01 2015
X-Original-To: root
From: <email address hidden> (Cron Daemon)
To: <email address hidden>
Subject: Cron <root@node-11> /usr/local/
Content-Type: text/plain; charset=
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/
X-Cron-Env: <LOGNAME=root>
Date: Thu, 17 Dec 2015 02:00:01 +0000 (UTC)
/bin/sh: 1: Syntax error: Unterminated quoted string
Changed in lma-toolchain: | |
assignee: | LMA-Toolchain Fuel Plugins (mos-lma-toolchain) → guillaume thouvenin (guillaume-thouvenin) |
tags: | added: elasticsearch |
Changed in lma-toolchain: | |
status: | Confirmed → In Progress |
tags: | added: customer-found |
Changed in lma-toolchain: | |
status: | Fix Committed → Won't Fix |
status: | Won't Fix → Fix Released |
Hi,
I didn't manage to reproduce it with the current master branch and MOS 8 (ubuntu).
Could you please indicate the versions of the plugin and MOS ?
Thanks.