Bug 1503833
Summary: | ceilometer-expirer cron job does not run correctly | |||
---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | nalmond | |
Component: | instack-undercloud | Assignee: | Pradeep Kilambi <pkilambi> | |
Status: | CLOSED ERRATA | QA Contact: | Sasha Smolyak <ssmolyak> | |
Severity: | medium | Docs Contact: | ||
Priority: | low | |||
Version: | 8.0 (Liberty) | CC: | augol, mburns, pkilambi, rhel-osp-director-maint, srevivo | |
Target Milestone: | Upstream M2 | Keywords: | Reopened, Triaged | |
Target Release: | 13.0 (Queens) | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | instack-undercloud-8.3.1-0.20180304032746.fc5704f.el7ost | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1598927 1598931 (view as bug list) | Environment: | ||
Last Closed: | 2018-06-27 13:37:56 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1598927, 1598931 |
Description
nalmond
2017-10-18 21:08:04 UTC
I'm not sure Bugzilla are the best place to report problem about KCS, but anyway, I've fixed the KCS and added the missing \ in front of %. Reopening this as this was opened because the puppet modules are creating the cron job incorrectly. My understanding is the kcs was written to verify the value set by the puppet modules, but the kcs is not the target of this bug. The issue lies within these files: /usr/share/instack-undercloud/puppet-stack-config/puppet-stack-config.pp and /usr/share/openstack-puppet/modules/tripleo/manifests/profile/base/ceilometer/expirer.pp Upon rereading this bug, I realized this was poorly worded, my apologies for any confusion. Let me know if I can clarify this further. In /var/spool/mail/ceilometer in undercloud we now see following error: From ceilometer.local Tue Mar 6 00:32:46 2018 Return-Path: <ceilometer.local> X-Original-To: ceilometer Delivered-To: ceilometer.local Received: by undercloud-0.redhat.local (Postfix, from userid 166) id 574CDC957E5; Tue, 6 Mar 2018 00:32:46 -0500 (EST) From: "(Cron Daemon)" <ceilometer.local> To: ceilometer.local Subject: Cron <ceilometer@undercloud-0> sleep $(($(od -A n -t d -N 3 /dev/urandom) % 86400)) && ceilometer-expirer Content-Type: text/plain; charset=UTF-8 Auto-Submitted: auto-generated Precedence: bulk X-Cron-Env: <XDG_SESSION_ID=346> 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: <20180306053246.574CDC957E5.local> Date: Tue, 6 Mar 2018 00:32:46 -0500 (EST) /bin/sh: ceilometer-expirer: command not found Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:2086 |