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

Protect tier2 images with locking mechanism

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 1.2.4
    • Garbage Collector
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: