Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-16916

Recurring tasks not rescheduled to future during upgrade.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • 6.13.0
    • Tasks Plugin
    • None
    • 0
    • False
    • Moderate
    • None
    • None
    • None
    • None

      Description of problem:
      Recurring tasks do not get rescheduled to future during upgrade. That may lead to them being scheduled to past once the upgrade finishes, so they never run. When disabled, they can't be enabled again. Error:

      ERF28-1357 [ForemanTasks::RecurringLogicCancelledException]: Cannot update a cancelled Recurring Logic.

      Version-Release number of selected component (if applicable):
      Sat 6.13.0 snap 15.0 and upgrade path 6.12.3 snap 2.0 -> 6.13.0 snap 15.0. Not a regression.

      How reproducible:
      Deterministic

      Steps to Reproduce:
      1) Create a recurring task (All hosts -> <host> -> Schedule a job) with cron "*/2 * * * *"
      2) Create a sync plan (Content -> Sync plans -> Create sync plan) on some repo with the same cron
      3) Run the upgrade to 6.13
      4) Go to Recurring logics and disable both
      5) Enable them again

      Actual results:
      A sync plan created in 2) was rescheduled to future during upgrade.
      A recurring task created in 1) was NOT rescheduled to future during upgrade. After disabling it manually, it can't be enabled again due to above error. It doesn't run at specified time.

      Expected results:
      A recurring task created in 2) is also rescheduled to future during upgrade

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: