Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1331660

Summary: RFE: add ability to find all jobs that were run against a particular host.
Product: Red Hat Satellite Reporter: Ivan Necas <inecas>
Component: Remote ExecutionAssignee: Marek Hulan <mhulan>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bkearney, jcallaha, kbidarka
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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 21:00:13 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:
Attachments:
Description Flags
Jobs filtered by host none

Description Ivan Necas 2016-04-29 07:38:16 UTC
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 07:39:15 UTC
Created redmine issue http://projects.theforeman.org/issues/14875 from this bug

Comment 2 Bryan Kearney 2016-05-09 14:18:37 UTC
Upstream bug assigned to mhulan

Comment 3 Bryan Kearney 2016-05-09 14:18:39 UTC
Upstream bug assigned to mhulan

Comment 4 Bryan Kearney 2016-05-11 12:17:44 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14875 has been closed

Comment 7 jcallaha 2016-09-01 19:04:15 UTC
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 19:07:05 UTC
Created attachment 1196939 [details]
Jobs filtered by host

Comment 10 errata-xmlrpc 2016-09-14 21:00:13 UTC
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