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

[workflows] Workflow definitions not refreshed after upgrade

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Days in progress:
      0

      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alfrunes Alf-Rune Siqveland
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel