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

The image garbage collector should be able to delete images used by VMs

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Labels:
      None
    • Commits:
      0406d840f462ce17516b4203d24f10de15ff9445 (qtqa/tqtc-coin-ci/master)

      Description

      The image garbage collector is crucial for guaranteeing available space for opennebula server.

      Sometimes, gcvms will fail to delete image that it considers to be garbage

      coin:gcvms.go:256: Destroying:
      coin:gcvms.go:258: qtci-linux-openSUSE-15.0-x86_64-9cd6a1
      coin:gcvms.go:260: Unable to delete image qtci-linux-openSUSE-15.0-x86_64-9cd6a1: Error placing method call one.image.delete: 2048
      

      because the image is used for running old VM. The logic should be changed so that the image garbage collector will detect if image has running VMs, terminate them and finally delete the image.

        Attachments

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

          Activity

            People

            Assignee:
            hehalmet Heikki Halmet
            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