Project

General

Profile

Actions

Bug #24733

closed

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

Added by Samir Jha about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Sync Plans
Target version:
Difficulty:
Triaged:
Yes
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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Samir Jha about 6 years ago

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

Updated by John Mitsch about 6 years ago

  • Triaged changed from No to Yes
Actions #3

Updated by Samir Jha about 6 years 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.

Actions #4

Updated by Samir Jha about 6 years ago

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

Updated by Samir Jha about 6 years ago

  • Status changed from New to Ready For Testing
Actions #6

Updated by Samir Jha about 6 years ago

  • Assignee set to Samir Jha
Actions #7

Updated by Samir Jha about 6 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF