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

[workflows] Workflow definitions not refreshed after upgrade

    XMLWordPrintable

    Details

    • Sprint:
      MEN Sprint 147
    • Story Points:
      5
    • Backlog:
      yes
    • Days in progress:
      3

      Description

      When upgrading to a new version of Mender, there is a potential problem with workflows when starting the backend for the first time: since workflows-server starts before the workflows-worker the definitions are updated after workflows-server has loaded the old definitions in memory. As a result, when the new definitions breaks the http schema, the workflow stop working entirely (until the user restart the workflows-server) as seen in this thread.

      To prevent this from happening, the when the workflows are loaded from the file, (all) server instances should refresh the cached definitions.

        Attachments

          Release management

            Issue Links

              Activity

                People

                Assignee:
                merlin Peter Grzybowski
                Reporter:
                alfrunes Alf-Rune Siqveland
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: