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

Support restarting the deployment from an interrupted Download state

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Rejected
    • Priority: (None)
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Days in progress:
      0

      Description

      Acceptance criteria:

      • If the client spontaneously reboots in the Download state, it restarts instead of failing
      • If the Download was finished in its entirety, it must resume at Download_Leave, not at Download_Enter
      • In order to avoid consuming huge amounts of bandwidth if the deployment was cancelled in between, it must resume in the updateFetchState, so that the backend is queried for the update again. It must not store the S3 link
      • Spontaneous rebooting and resuming must be tested in the TestStateTransitionsWithUpdateModules test

      Resuming in the Download state should be safe because it is supposed to have no side effects. Resuming in other states may not be safe, so this is not included in the task.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                a10040 Kristian Amlie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel