ceilometer expirer crontab doesn't work

Bug #1790503 reported by Mehdi Abaakouk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Mehdi Abaakouk

Bug Description

Hi,

ceilometer expirer crontab doesn't work:

From: "(Cron Daemon)" <ceilometer@xxxxxx>
To: ceilometer@xxxx
Subject: Cron <ceilometer@xxxx> sleep $(($(od -A n -t d -N 3 /dev/urandom)
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
Precedence: bulk
X-Cron-Env: <XDG_SESSION_ID=138388>
X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/166>
X-Cron-Env: <LANG=en_US.UTF-8>
X-Cron-Env: <PATH=/bin:/usr/bin:/usr/sbin SHELL=/bin/sh>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/var/lib/ceilometer>
X-Cron-Env: <LOGNAME=ceilometer>
X-Cron-Env: <USER=ceilometer>
Message-Id: <20180821000101.5B079141080@xx>
Date: Tue, 21 Aug 2018 00:01:01 +0000 (UTC)

/bin/sh: -c: line 0: unexpected EOF while looking for matching `)'
/bin/sh: -c: line 1: syntax error: unexpected end of file

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

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

Changed in tripleo:
assignee: nobody → Mehdi Abaakouk (sileht)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/599421
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=10074cd5989df1093c4dedde98e28d9a9dcb7de6
Submitter: Zuul
Branch: master

commit 10074cd5989df1093c4dedde98e28d9a9dcb7de6
Author: Mehdi Abaakouk <email address hidden>
Date: Mon Sep 3 17:01:45 2018 +0200

    ceilometer: escape % in crontab

    % in cron is a reserved character and must be escape.

    Change-Id: Ic5c4a6126f42c700a8534c3c4d30f5951e4718ae
    Closes-bug: #1790503

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/611428

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/611429

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/611430

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/rocky)

Reviewed: https://review.openstack.org/611428
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=c6f8f9bf4aed97d7e73e584cabcc1ec750b120ec
Submitter: Zuul
Branch: stable/rocky

commit c6f8f9bf4aed97d7e73e584cabcc1ec750b120ec
Author: Mehdi Abaakouk <email address hidden>
Date: Mon Sep 3 17:01:45 2018 +0200

    ceilometer: escape % in crontab

    % in cron is a reserved character and must be escape.

    Change-Id: Ic5c4a6126f42c700a8534c3c4d30f5951e4718ae
    Closes-bug: #1790503
    (cherry picked from commit 10074cd5989df1093c4dedde98e28d9a9dcb7de6)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 10.1.0

This issue was fixed in the openstack/puppet-tripleo 10.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/queens)

Reviewed: https://review.openstack.org/611429
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=a9848a9ce83d7584ffadaf5dd536b2ebdeb0fb57
Submitter: Zuul
Branch: stable/queens

commit a9848a9ce83d7584ffadaf5dd536b2ebdeb0fb57
Author: Mehdi Abaakouk <email address hidden>
Date: Mon Sep 3 17:01:45 2018 +0200

    ceilometer: escape % in crontab

    % in cron is a reserved character and must be escape.

    Change-Id: Ic5c4a6126f42c700a8534c3c4d30f5951e4718ae
    Closes-bug: #1790503
    (cherry picked from commit 10074cd5989df1093c4dedde98e28d9a9dcb7de6)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/pike)

Reviewed: https://review.openstack.org/611430
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=9d05b9f884ae0a8c6505fc70200682dcb9fb49b6
Submitter: Zuul
Branch: stable/pike

commit 9d05b9f884ae0a8c6505fc70200682dcb9fb49b6
Author: Mehdi Abaakouk <email address hidden>
Date: Mon Sep 3 17:01:45 2018 +0200

    ceilometer: escape % in crontab

    % in cron is a reserved character and must be escape.

    Change-Id: Ic5c4a6126f42c700a8534c3c4d30f5951e4718ae
    Closes-bug: #1790503
    (cherry picked from commit 10074cd5989df1093c4dedde98e28d9a9dcb7de6)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 8.4.0

This issue was fixed in the openstack/puppet-tripleo 8.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 9.4.0

This issue was fixed in the openstack/puppet-tripleo 9.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 7.4.17

This issue was fixed in the openstack/puppet-tripleo 7.4.17 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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