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

Race condition in image upload due to overlapping/conflicting image names

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Labels:

      Description

      Machine names that are equal should reflect images that are compatible, but this is not true for GRUB/UEFI vs GRUB/BIOS, due to the mount point of the environment being different (/boot/efi vs /boot/grub). So two images that both have the name core-image-full-cmdline-qemux86-64.sdimg are not necessarily compatible. This causes problems in uploading because two platforms will try to upload different images, but with the same name, causing a race condition where we don't know which image will be the end result.

      Some work has started in https://github.com/mendersoftware/meta-mender/pull/568 to use a different MACHINE name for different configuration, but more work is needed, and it's not fully decided whether this is the best solution.

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              a10040 Kristian Amlie
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel