Bug 1289384
Summary: | Include foreman-rake foreman_tasks:cleanup with Satellite | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Chris Roberts <chrobert> |
Component: | Tasks Plugin | Assignee: | Katello Bug Bin <katello-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Stephen Benjamin <stbenjam> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | Nightly | CC: | acontant, aperotti, bbuckingham, chartwel, chorn, cwelton, daniele, ldelouw, mlinden, oshtaier, pmoravec, riehecky, stbenjam |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 09:21:26 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: | 1353215, 1296845 |
Description
Chris Roberts
2015-12-08 00:31:55 UTC
+1 we need to do some cleanup to have benefits like: - shrink psql tables *a lot* - make task list faster to load (due to much less data to process) - task-export generation much faster, tarball is much smaller, easier to investigate it This improvement is great, but NikStSG found a gotcha: cleaning tasks this way, a repository synced long time ago is newly shown as Never synced see https://bugzilla.redhat.com/show_bug.cgi?id=1308430 filed for that Verified, task is included in Satellite 6.2 Snap 5.1: [root@sat-r220-06 ~]# foreman-rake foreman_tasks:cleanup NOOP=true [noop] deleting all tasks matching filter label = Actions::Foreman::Host::ImportFacts AND started_at < "2016-02-23 16:32:02" AND state = stopped [noop] 0 tasks would be deleted [noop] deleting all tasks matching filter label = Actions::Foreman::Puppetclass::Import AND started_at < "2016-02-23 16:32:02" AND state = stopped [noop] 0 tasks would be deleted 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/RHBA-2016:1501 |