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

Explain cause when error uploading on Artifact

    XMLWordPrintable

    Details

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

      Description

      When uploading of an Artifact to the Mender Server fails, there are a couple of generic error messages that are shown.
      This is causing some diagnostics headache for users.

      It does not seem like we explain that the Artifact format version is not supported either, in these cases.
      I tested this with Mender Server 1.0.1 and uploaded an Artifact with format version 2. I just got generic error messages (see attached).

      Acceptance criteria

      • When an Artifact fails to upload, the cause is shown, both in the UI and API
      • If the Artifact format version is not supported, the error message includes the Artifact formats version this Mender Server supports and the Artifact format version of the Artifact uploaded
      • If the checksum mismatches, this is indicated and the calculated as well as the checksum in the Artifact are both shown

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kjaskiewicz Krzysztof Jaƛkiewicz
                Reporter:
                a10003 Eystein Maloy Stenberg
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel