Actions
Bug #34737
openEnable foreman::plugin::tasks::automatic_cleanup by default
Status:
New
Priority:
Normal
Assignee:
-
Category:
Foreman modules
Target version:
-
Description
The installer can deploy a cronjob to clean up old tasks from the database.
This is enabled by default in the Satellite scenario, but not for Foreman and Katello.
We should change that.
Changing the default for new installations is easy.
Changing the default on upgrade requires a migration a la:
if !answers['foreman::plugin::tasks'].is_a?(Hash) answers['foreman::plugin::tasks']['automatic_cleanup'] = true answers['foreman::plugin::tasks']['cron_line'] = "45 19 * * *" end
This should be clearly documented in the release notes, so users can pass --foreman-plugin-tasks-automatic-cleanup false
during upgrade, to avoid having the cronjob active.
Updated by Evgeni Golov about 2 years ago
- Related to Bug #34716: Dynflow msgpack migration possibly tries to slurp the entire table into memory before migrating it added
Actions