PATH missing in keystone token_flush cronjob
Bug #1410437 reported by
Bjoern
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-ansible |
Invalid
|
Low
|
Matt Thompson | ||
Icehouse |
Fix Released
|
High
|
Kevin Carter | ||
Juno |
Fix Released
|
Low
|
Matt Thompson | ||
Trunk |
Invalid
|
Low
|
Matt Thompson |
Bug Description
keystone manage was installed in a non system path and therefore can not be found when running it without a prefix.
Easy fix is to add the PATH variable in the cronjob
PATH=/usr/
tags: | added: low-hanging-fruit |
Changed in openstack-ansible: | |
importance: | Undecided → Low |
tags: |
added: juno-backport-potential removed: low-hanging-fruit |
Changed in openstack-ansible: | |
status: | New → In Progress |
assignee: | nobody → Matt Thompson (mattt416) |
tags: |
added: icehouse-backport-potential removed: juno-backport-potential |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/147877 /git.openstack. org/cgit/ stackforge/ os-ansible- deployment/ commit/ ?id=4f77d789e87 7e887f2c3f2d86c f9a5527bb421fd
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4f77d789e877e88 7f2c3f2d86cf9a5 527bb421fd
Author: Matt Thompson <email address hidden>
Date: Fri Jan 16 15:14:51 2015 +0000
Include paths in cron jobs
As reported, keystone-manage is failing to run via cron due to default cache_crons/ tasks/main. yml
PATH not including /usr/local/bin. This commit includes path while
also updating the cron jobs in roles/glance_
which are also affected.
On a side note, we may want to create these crons under /etc/cron.d
so we can have system cron jobs all under one place, but that can be
done in a later commit if others agree.
Change-Id: I9237c2a191c514 5e946288e2f1466 493844f1ad5
Closes-Bug: #1410437