expirer cron fails to run properly
Bug #1729663 reported by
Pradeep Kilambi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Low
|
Pradeep Kilambi |
Bug Description
/bin/sh: -c: line 0: unexpected EOF while looking for matching `)'
/bin/sh: -c: line 1: syntax error: unexpected end of file
~~~
The ceilometer user's cron contains:
1 0 * * * sleep $(($(od -A n -t d -N 3 /dev/urandom) % 86400)) && ceilometer-expirer
This seems to work if the % is escaped in the cron:
1 0 * * * sleep $(($(od -A n -t d -N 3 /dev/urandom) \% 86400)) && ceilometer-expirer
1. Install undercloud
2. Deploy overcloud with director
Actual results:
cron does not run and error is seen in /var/spool/
Expected results:
cron runs and does not produce error
Changed in tripleo: | |
importance: | Undecided → Low |
status: | New → Triaged |
assignee: | nobody → Pradeep Kilambi (pkilambi) |
milestone: | none → queens-2 |
tags: | added: pike-backport-potential |
tags: | added: ocata-backport-potential |
tags: | added: newton-backport-potential |
Changed in tripleo: | |
status: | Triaged → In Progress |
Changed in tripleo: | |
milestone: | queens-2 → queens-3 |
Changed in tripleo: | |
milestone: | queens-3 → queens-rc1 |
Changed in tripleo: | |
milestone: | queens-rc1 → rocky-1 |
Changed in tripleo: | |
milestone: | rocky-1 → rocky-2 |
Changed in tripleo: | |
milestone: | rocky-2 → rocky-3 |
To post a comment you must log in.
The patch is already merged, moving to fix released:
https:/ /review. openstack. org/#/q/ I8eac2d978380cc c1c6998929c8aa6 a440ed4bcce