Cronjob does not run
Bug #1833723 reported by
Diko Parvanov
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logrotate-charm |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Running the cronjob manually throws an exception for charmhelpers
ubuntu@XXXX:~$ /usr/bin/python3 /var/lib/
Traceback (most recent call last):
File "/var/lib/
from lib_logrotate import LogrotateHelper
File "/var/lib/
from charmhelpers.core import hookenv
ImportError: No module named 'charmhelpers'
Cronjob does not update the logrotate files.
Related branches
charm-logrotated:bug_1833723
- Paul Goins: Approve
- Canonical IS Reviewers: Pending requested
- Canonical IS Reviewers: Pending requested
-
Diff: 814 lines (+242/-150)13 files modifiedREADME.md (+8/-0)
actions/actions.py (+12/-21)
config.yaml (+10/-0)
dev/null (+0/-13)
lib/lib_cron.py (+47/-34)
lib/lib_logrotate.py (+54/-26)
reactive/logrotate.py (+34/-16)
tests/functional/conftest.py (+14/-9)
tests/functional/juju_tools.py (+14/-13)
tests/functional/test_logrotate.py (+5/-2)
tests/unit/conftest.py (+11/-0)
tests/unit/test_logrotate.py (+31/-9)
tox.ini (+2/-7)
Changed in logrotate-charm: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in charm-logrotated: | |
milestone: | none → 20.05 |
status: | Confirmed → Fix Committed |
Changed in charm-logrotated: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.