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

Mender Client stuck after providing unsigned artifact

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 3.0.0, 3.0.0-report
    • Labels:
    • Environment:
      Buildroot 2020.02.12
    • Days in progress:
      0

      Description

      Hello everyone.

      We are running Mender Client version 2.1.2 runtime: go1.13.15 on a Buildroot 2020.02.12 system. The client is configured with an ArtifactVerifyKey. When we are deploying a signed artifact, the client works as it should transitioning among all the states and updating the system successfully, but when we are deploying an unsigned artifact the mender client executes the available Download_Enter state scripts provided by us and then gets indefinitely stuck toggling between the following internal states:

      • update-store [Download_Enter] -> fetch-install-retry-wait [Download_Enter]
      • fetch-install-retry-wait [Download_Enter] -> update-fetch [Download_Enter]

      with message msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: expecting signed artifact, but no signature file found"

      instead of error exiting to Idle and going through Download_Error scripts if present.

      Attached, please find the log.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support