Project

General

Profile

Bug #24733

[Sync-plans] Sync plans created with start date in the past schedule a lot of dynflow tasks.

Added by Samir Jha over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Sync Plans
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

It is possible to create sync plans with start date in the past. Possibly need to add validation to stop that from happening.


Related issues

Related to Katello - Tracker #23927: Convert sync plans to Foreman TasksClosed

History

#1 Updated by Samir Jha over 1 year ago

  • Related to Tracker #23927: Convert sync plans to Foreman Tasks added

#2 Updated by John Mitsch over 1 year ago

  • Triaged changed from No to Yes

#3 Updated by Samir Jha over 1 year ago

  • Subject changed from [Sync-plans] Sync plans can be created with start date in the past to [Sync-plans] Sync plans created with start date in the past schedule a lot of dynflow tasks.

Steps to repro:

1. Create a sync plan with a start date in the past.
2, Go to task group of the recurring logic associated.

Actual Behavior:
A lot of dynflow tasks get scheduled probably to compensate for all the missed tasks between start date in the past and Time now..

Expected:
The next sync date is set correctly. Tasks shouldn't be scheduled before that.

#4 Updated by Samir Jha over 1 year ago

  • Pull request https://github.com/Katello/katello/pull/7644 added

#5 Updated by Samir Jha over 1 year ago

  • Status changed from New to Ready For Testing

#6 Updated by Samir Jha over 1 year ago

  • Assignee set to Samir Jha

#7 Updated by Samir Jha over 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF