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 1784254 - Static recurring job failed to schedule on 2nd iteration if any of the target host record is invalid.
Summary: Static recurring job failed to schedule on 2nd iteration if any of the target...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.11.0
Assignee: satellite6-bugs
QA Contact: Peter Ondrejka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-17 05:37 UTC by Alexey Masolov
Modified: 2023-12-15 17:05 UTC (History)
5 users (show)

Fixed In Version: tfm-rubygem-foreman_remote_execution-4.5.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:27:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:28:14 UTC

Description Alexey Masolov 2019-12-17 05:37:21 UTC
Description of problem:
If the first run of a recurring job fails (hosts are not available for example) then it won't get rescheduled. The next occurrence time reflects the first run. 

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

How reproducible:
It can be successful on some deployments. Couldn't find the difference. 


Steps to Reproduce:
1. Create a new recurring job and include unavailable hosts. 
2. Wait for the first run and check its next time 

Expected results:
The job will be rescheduled even if the first run failed.

Comment 9 Adam Ruzicka 2021-09-06 11:45:57 UTC
It feels like this might be actually a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1944322 and therefore fixed in tfm-rubygem-foreman_remote_execution-4.5.1. If it really is so, then it should be already fixed since 6.10 snap 12. Moving to on_dev to have it go through qa process with next snap.

Comment 11 Peter Ondrejka 2022-01-14 14:57:30 UTC
Verified on Satellite 7 snap4, recurring job is correctly rescheduled and retriggered even if there are unavailable hosts

Comment 14 errata-xmlrpc 2022-07-05 14:27:59 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 (Moderate: Satellite 6.11 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-2022:5498


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