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 1438951 - when remote execution job is running, numbers in Monitor -> Jobs columns are not updated correctly/in time
Summary: when remote execution job is running, numbers in Monitor -> Jobs columns are ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.2.8
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Adam Ruzicka
QA Contact: Peter Ondrejka
URL:
Whiteboard: scale_lab
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-04 20:40 UTC by Jan Hutař
Modified: 2019-09-26 16:15 UTC (History)
9 users (show)

Fixed In Version: tfm-rubygem-foreman_remote_execution 1.3.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:44:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 20466 0 None None None 2017-09-15 11:08:44 UTC
Red Hat Bugzilla 1465296 0 unspecified CLOSED It takes too long for parent task to stop after its sub-tasks have stopped 2021-06-10 12:30:43 UTC

Internal Links: 1465296

Description Jan Hutař 2017-04-04 20:40:43 UTC
Description of problem:
When remote execution job is running, numbers in Monitor -> Jobs columns are not updated correctly/in time.


Version-Release number of selected component (if applicable):
satellite-6.2.8-4.0.el7sat.noarch


How reproducible:
always for bugger ReX jobs


Steps to Reproduce:
1. Run some bigger ReX job (thousands of systems)
2. Note difference in counts on Monitor -> Jobs -> <your_job> -> Hosts
   and Monitor -> Jobs -> see Succeeded/Failed/Pending/Total hosts columns


Actual results:
Counts does not match


Expected results:
Counts should match or Monitor -> Jobs page should indicate it is still updating numbers or so.

Comment 1 Jan Hutař 2017-04-04 20:41:56 UTC
Forgot to mention that the problem is visible only when job is still running (or maybe when it is still creating sub-tasks).

Comment 2 Ivan Necas 2017-04-05 15:15:13 UTC
Could you provide screenshots and more specific description of the difference?

Comment 3 Jan Hutař 2017-04-07 06:33:03 UTC
I'm sorry. I had this in the backlog to report and did not checked it is still the issue. I was convinced the issue is there but looks like it is reporting numbers correctly.

Comment 4 Jan Hutař 2017-04-12 11:37:25 UTC
I see. Figured it out now. We have job which system query resolves into "Total hosts: 2251". It is now in "running 52%". But monitor -> Jobs shows in the columns for that job:

  Status: running 52%   <--- good
  Succeeded: 1127
  Failed: 58
  Pending: 115
  Total hosts: 1300   <--- not correct

Problem is the percentage shows 52% ran, but numbers show 91% ran (115 is 9% out of 1300).

I understand these numbers are probably taken from the job's master task, but simply might be confusing.

Comment 5 Ivan Necas 2017-09-15 11:08:41 UTC
Connecting redmine issue http://projects.theforeman.org/issues/20466 from this bug

Comment 7 Peter Ondrejka 2017-10-16 12:33:14 UTC
Verified on satellite-6.3.0-20.0.beta.el7sat.noarch, the table at monitor > jobs is now updated correctly as the job executes

Comment 8 Bryan Kearney 2018-02-21 16:41:10 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/RHSA-2018:0336

Comment 9 Bryan Kearney 2018-02-21 16:44:03 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/RHSA-2018:0336


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