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

recreate deployment doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Labels:
    • Sprint:
      MEN Sprint 165
    • Story Points:
      2
    • Backlog:
      yes
    • Days in progress:
      3

      Description

      It's impossible to use RECREATE DEPLOYMENT functionality in the UI.
      It's because frontend any API consumer can create deployments with logically empty update control map, and backend simply forwards it to the client.
      control map: 

      "update_control_map":{"states":{}}}

      doesn't contain ID, which causes

      "failed to parse the HTTP update response: ID must be a UUID"

      error in the client

       

      slack discussion:

      https://northern-tech.slack.com/archives/C0XM0KX9C/p1653906421098769

       

        Attachments

          Activity

            People

            Assignee:
            olmi Alex Miliukov
            Reporter:
            kjaskiewicz Krzysztof Jaśkiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: