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

Empty deployments details window after decommissioning device.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      Preconditions:

      • 2 disconnected devices
      • 1 active device

      Steps:
      1) Created deployment with artifact matching all 3 devices (all vexpress-qemu).
      2) 2 devices in pending, 1 completed with success
      3) Everything seemed OK by this point.
      4) Decomissioned one of the disconnected devices – expeted to find "decomissioned" status in details page for one of the listed devices.

      Got dashboard widget slightly off and half-empty details page.



      Browser: Safari
      Server: Hosted Mender

      API calls:

      List deplyoments (on dashboard page)

      [{
          "name": "All devices",
          "artifact_name": "release-2_1.2.1",
          "created": "2018-07-13T11:05:21.14Z",
          "id": "f210d71c-49b8-4c0e-b354-0e5888ef32d2",
          "artifacts": ["10c59f5f-1f44-4c34-8c2a-f95c0e36dd79"],
          "device_count": 3,
          "status": "inprogress"
      }]
      

      List devices (on dashboard page)

      [{
          "created": "2018-07-13T11:05:21.14Z",
          "status": "pending",
          "id": "5a6f4e05497d5700018b84fa",
          "log": false
      }, {
          "created": "2018-07-13T11:05:21.14Z",
          "status": "decommissioned",
          "id": "5a6f4e17497d5700018b8542",
          "log": false
      }, {
          "created": "2018-07-13T11:05:21.14Z",
          "finished": "2018-07-13T11:07:56.647Z",
          "status": "success",
          "id": "5b48872ff2f9850001c4af99",
          "log": false
      }]
      

      Statistics (note 1 is missing in UI)

      {
          "aborted": 0,
          "already-installed": 0,
          "decommissioned": 1,
          "downloading": 0,
          "failure": 0,
          "installing": 0,
          "noartifact": 0,
          "pending": 1,
          "rebooting": 0,
          "success": 1
      }
      

        Attachments

          Activity

            People

            • Assignee:
              a10041 Michael Clelland
              Reporter:
              a10020 Maciej Mrowiec
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel