Description of problem:
When there is a task that has paused in an error state it is hard to find. A manual search filter can be used. It would be quicker to sort the table on State or status. At the moment this is not possible, only on the Started At column.
Also an additional column Ended At in the table makes it better to spot overlapping tasks and to help with analysis.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Sorting is enabled on all columns
Ended At column is visible
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
I don't think the sorting is the right answer for fixing the issue, but rather predefined filters on the state/result. The issue with sorting is, what sorting should be used (and the fact, that the paused is before running and stopped is just a happy coincidence, not talking about the situation, that one would use other locatization.
So, I'm suggesting to have the predefined filters there to filter the paused tasks and then combining with https://bugzilla.redhat.com/show_bug.cgi?id=1201660
to resume it.
Proposed fix for adding bookmarks merged https://github.com/theforeman/foreman-tasks/pull/133
I can confirm that filters on tasks work fine.
Additional i have a filter "Last 24h" to limit the output: 'started_at > "24 hours ago"'. Maybe that can be also be added to the default bookmarks.
The PR has been already merged, please submit a feature request for any additional bookmarks.
please provide verification steps
Thanks and Regards,
1. Default Satellite installation
2. Start some background tasks, e.g. Repo Syncs
3. Goto Tasks
4a. Able to easily Filter Tasks on running tasks using a Bookmark
4b. Able to easily Filter Tasks on paused tasks using a Bookmark
4c. Able to easily Filter Tasks started in the last 24 hours using a Bookmark
Created attachment 1080019 [details]
Screenshot shows the bookmarked results for running tasks
Created attachment 1080020 [details]
Screenshot shows the results from the Failed tasks bookmarked search
Created attachment 1080021 [details]
Custom bookmarked search
Screenshot shows the results from a custom bookmarked search returning state = stopped and result = success search
Verified on the latest Satellite-6.1.0-RHEL-7-20151002.0 compose
You can now use pre-defined bookmarked searches to find failed or running tasks, as well as create your own.
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.