• Icon: Sub-task Sub-task
    • Resolution: Obsolete
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • sat-rocket
    • Satellite Rocket Sprint 16

      As discovered during PR review (https://github.com/theforeman/foreman/pull/10784/changes/BASE..5ca5a66b3557d8efe27129c5aa8b2dacf3cdc4b2#r2667468333), some recurring rake tasks(e.g. audits:expire) that call exit will abort the entire process and skip subsequent tasks when run via systemd timers framework. 

      This causes the entire cron:* rake invocation to abort early, silently skipping any subsequent tasks, while still exiting with success.

      This behavior was acceptable when tasks were executed individually via cron, but is incompatible with the new framework where multiple tasks are executed sequentially via cron:daily, cron:weekly, etc.

       

      Scope:

              Unassigned Unassigned
              rh-ee-akumari Archana Kumari
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: