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

Delta update fails if no full update done before

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Rejected
    • Priority: High
    • Resolution: Won't Do
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Yocto Zeus image with mender-client 2.3.0. Mender server 2.4.0.
      mender-delta modules 1.1.0.
    • Days in progress:
      0

      Description

      A mender delta artifact is rejected on a newly dd'ed client.

      This works:

      1) Create new mender device: dd .sdimg (build-1)
      2) Deploy full update (build-2)
      3) Deploy delta update (build-3 from build-2)

      If I do not deploy a full update before a delta update, the delta update
      is rejected. For example, the following does not work:

      1) Create new mender device: dd .sdimg (build-1)
      2) Deploy delta update (build-2 from build-1) => fails with "No artifact".

      So it looks like we have to deploy a full update before we can use delta updates.
      A dd'ed sdimg seems missing some artifact information in mender-store to be
      compatible with delta updates?

      Is this "intended" or a bug? Is this something we can fix, because
      we want to avoid full updates now that we have delta update mechanism
      even if it is "just one more" full update.

      Further, this issue seems to apply also if the client received only version 2 artifacts before. For example this also fails:

      1) Create new mender device: dd .sdimg (build-1)
      2) Deploy full update (build-2, artifact is version 2)
      3) Deploy delta update (build-3 from build-2, artifact version 3) => fails with "No artifact".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              __martin__ Martin Steegmanns
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: