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 1860407 - remote job-status table should not be re-loaded every second even if a job is running or completed
Summary: remote job-status table should not be re-loaded every second even if a job is...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.8.0
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: 6.8.0
Assignee: Ron Lavi
QA Contact: Peter Ondrejka
URL:
Whiteboard:
: 1866682 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-24 13:27 UTC by Devendra Singh
Modified: 2020-10-27 13:04 UTC (History)
6 users (show)

Fixed In Version: foreman-2.1.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 13:04:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 29990 0 Normal Closed each polling response is getting reset on every new request 2020-10-28 17:44:43 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:04:49 UTC

Description Devendra Singh 2020-07-24 13:27:19 UTC
Description of problem: remote job-status table should not be re-loaded even if a job is running or complete

Version-Release number of selected component (if applicable):
6.8

How reproducible:
always

Steps to Reproduce:
1. Used Satellite(Upgraded from 6.7 to 6.8) with 3 Capsules(2 was on 6.7 and 1 was on 6.8)
2. Go to all hosts page and select the 6.7 capsule host.
3. Go to schedule remote job and select "run ansible roles"
4. Submit the job and the job starts to execute
5. job status table starts to load every second until the job has not completed.

Actual results:
remote job execution status table re-loaded every second during the job execution.

Expected results:
The status table should not be loaded every second while the job runs.

Additional info:
Attached the recording of job execution.

Comment 2 Brad Buckingham 2020-07-27 14:24:05 UTC
Is this a regression from 6.7?

Comment 7 Ron Lavi 2020-07-29 09:01:33 UTC
Tested and this commit: https://github.com/theforeman/foreman/commit/26d08e6ab1f1a634e9560132118da8686f9f17e9 solved the issue.
It should be cheery-picked into Foreman 2.1-stable and downstream.

Comment 8 Leos Stejskal 2020-07-29 10:08:05 UTC
Created redmine issue https://projects.theforeman.org/issues/30516 from this bug

Comment 9 Leos Stejskal 2020-07-29 10:10:43 UTC
Created redmine issue https://projects.theforeman.org/issues/30517 from this bug

Comment 10 Adam Ruzicka 2020-07-29 15:04:36 UTC
Fix was merged into foreman 2.1-stable, downstream MR is opened, moving to POST

Comment 11 Tomer Brisker 2020-08-04 07:25:43 UTC
Connecting redmine issue https://projects.theforeman.org/issues/29990 from this bug

Comment 12 Adam Ruzicka 2020-08-06 07:11:12 UTC
*** Bug 1866682 has been marked as a duplicate of this bug. ***

Comment 13 Peter Ondrejka 2020-08-21 10:51:48 UTC
Verified on Sat 6.8 snap 12, the unnecessary reloading no longer occurs.

Comment 16 errata-xmlrpc 2020-10-27 13:04:32 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 (Important: Satellite 6.8 release), 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-2020:4366


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