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

Mender client cannot submit inventory data to server without PUT endpoint

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.0
    • Labels:
    • Backlog:
      no
    • Days in progress:
      0

      Description

      Due to a change in the Mender client where we have changed how inventory data is pushed to the server (using PUT instead of PATCH), the next Mender client release will be incompatible with older Mender versions (anything that was released before 2.6).

      So we are enforcing an upgrade path with the 2.6 release, you must update the Mender server to 2.6 before you can use Mender client 2.5.0 (upcoming client release). I guess this is ok, but I also see some problems with this:

      • It is very likely that the Mender client is updated before the server is upgraded, e.g as soon as we update meta-mender to default to the latest version (if we do that?) most will update the Mender client without maybe knowing it
      • The incompatibility is somewhat silent/hidden, in that you can probably upgrade the Mender client to 2.5.0 without noticing this incompatibly because it only affects inventory updates. The effect is that if you do not have an up-to-date Mender server, you will stop receiver inventory data, which might take a while to notice after you have upgraded.

        Attachments

          Activity

            People

            Assignee:
            a10040 Kristian Amlie
            Reporter:
            mirzak Mirza Krak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: