Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1331660 - RFE: add ability to find all jobs that were run against a particular host.
RFE: add ability to find all jobs that were run against a particular host.
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Remote Execution (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity medium (vote)
: 6.2.2
: Unused
Assigned To: Marek Hulan
jcallaha
: FutureFeature, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-29 03:38 EDT by Ivan Necas
Modified: 2016-09-14 17:00 EDT (History)
3 users (show)

See Also:
Fixed In Version: rubygem-foreman_remote_execution-0.3.0.12-1
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-09-14 17:00:13 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Jobs filtered by host (76.71 KB, image/png)
2016-09-01 15:07 EDT, jcallaha
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 14875 None None None 2016-04-29 03:39 EDT
Red Hat Product Errata RHBA-2016:1885 normal SHIPPED_LIVE Satellite 6.2.2 bug fix update 2016-09-14 20:57:56 EDT

  None (edit)
Description Ivan Necas 2016-04-29 03:38:16 EDT
Description of problem:
Currently, the only way to find the jobs run against a host, one needs to know the id of the host (you can use hammer host info to find out), and search in `Monitory -> Tasks` for

`label = Actions::RemoteExecution::RunHostJob and resource_type = Host::Managed and resource_id = 2`

This is just a raw tasks data, and it's not very user friendly.

We should be able to search for a host in the `Monitor -> Jobs` page, based on the host name and ideally, having a link from a host details page to get to that page.
Comment 1 Ivan Necas 2016-04-29 03:39:15 EDT
Created redmine issue http://projects.theforeman.org/issues/14875 from this bug
Comment 2 Bryan Kearney 2016-05-09 10:18:37 EDT
Upstream bug assigned to mhulan@redhat.com
Comment 3 Bryan Kearney 2016-05-09 10:18:39 EDT
Upstream bug assigned to mhulan@redhat.com
Comment 4 Bryan Kearney 2016-05-11 08:17:44 EDT
Moving to POST since upstream bug http://projects.theforeman.org/issues/14875 has been closed
Comment 7 jcallaha 2016-09-01 15:04:15 EDT
Verified in Satellite 6.2.2. You can now search by host on the job invocations page.

See attached verification screenshot.
Comment 8 jcallaha 2016-09-01 15:07 EDT
Created attachment 1196939 [details]
Jobs filtered by host
Comment 10 errata-xmlrpc 2016-09-14 17:00:13 EDT
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:1885

Note You need to log in before you can comment on or make changes to this bug.