Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-462

Protect tier2 images with locking mechanism

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 1.2.4
    • Fix Version/s: None
    • Component/s: Garbage Collector
    • Labels:
      None
    • Commits:
      76425dbac3a38b68bf8b01cdc2031579397f9490 (qtqa/tqtc-coin-ci/master)

      Description

      The tier2 image garbage collector has been enabled in production and now a tier2 image might be removed by the gcvms script. There is a race condition that might cause a provisioned template or image to be removed by the script. Therefore there has to be a lock mechanism to protect a tier2 image from being garbage collected by accident.

      The vm template names need a locking mechanism after which patch https://codereview.qt-project.org/c/qtqa/tqtc-coin-ci/+/256747 can be applied to allow removing the cache.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            aakeskimo Aapo Keskimölö
            Reporter:
            aakeskimo Aapo Keskimölö
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes