Bug 1331660 - RFE: add ability to find all jobs that were run against a particular host.
Summary: RFE: add ability to find all jobs that were run against a particular host.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: Unspecified
Assignee: Marek Hulan
QA Contact: jcallaha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-29 07:38 UTC by Ivan Necas
Modified: 2019-09-25 21:19 UTC (History)
3 users (show)

Fixed In Version: rubygem-foreman_remote_execution-0.3.0.12-1
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-14 21:00:13 UTC
Target Upstream Version:


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


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14875 0 None None None 2016-04-29 07:39:16 UTC
Red Hat Product Errata RHBA-2016:1885 0 normal SHIPPED_LIVE Satellite 6.2.2 bug fix update 2016-09-15 00:57:56 UTC

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


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