Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-1190

Implement "retry-later" functionality in artifact install scripts

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Labels:

      Description

      Acceptance criteria:

      • Scripts that return a certain error code should put the client on pause and then retry the script after some interval.
      • Scripts that have been repeatedly retried should have an upper timeout limit that causes the script to count as a failure, even if it keeps returning "retry-later"
      • Retry interval should be configurable
      • Retry timeout should be configurable
      • The execution state and the time of execution must be recorded in local database so that a reboot resumes the same script, and the elapsed time of the timeout is not forgotten

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                oleorhagen Ole Petter Orhagen
                Reporter:
                a10040 Kristian Amlie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel