Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-8302

Cleanup snapshot on KVM with RBD

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.4.0, 4.4.1, 4.4.2
    • 4.9.0
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • CloudStack 4.4.2 + KVM on CentOS 6.6 + Ceph/RBD 0.80.8

    Description

      I just build a lab with CloudStack 4.4.2 + CentOS 6.6 KVM + Ceph/RBD 0.80.8.
      I deploy an instance on RBD and I create the ROOT volume snapshots. When delete a snapshot the UI show OK, but the snapshot of the volume in the RBD pool is still exist.
      And I find the code in com/cloud/hypervisor/kvm/storage/KVMStorageProcessor.java:

      @Override
      public Answer deleteSnapshot(DeleteCommand cmd)

      { return new Answer(cmd); }


      deleteSnapshot() does not be implememented. And I also find the code:
      ...
      @Override
      public Answer createTemplateFromSnapshot(CopyCommand cmd)

      { return null; //To change body of implemented methods use File | Settings | File Templates. }

      ...
      So does createTenokateFromSnapshot(). I just look for it in MASTER branch but not do that yet. Will CloudStack Dev Team plan to do that ? Thanks .

      Attachments

        Issue Links

          Activity

            People

              widodh Wido den Hollander
              starg Star Guo
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: