Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29097185D3 for ; Tue, 27 Oct 2015 15:06:33 +0000 (UTC) Received: (qmail 15125 invoked by uid 500); 27 Oct 2015 15:06:28 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 15090 invoked by uid 500); 27 Oct 2015 15:06:28 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 15077 invoked by uid 500); 27 Oct 2015 15:06:27 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 15073 invoked by uid 99); 27 Oct 2015 15:06:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Oct 2015 15:06:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B78402C1F5C for ; Tue, 27 Oct 2015 15:06:27 +0000 (UTC) Date: Tue, 27 Oct 2015 15:06:27 +0000 (UTC) From: "Andrei Mikhailovsky (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8302) Cleanup snapshot on KVM with RBD MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8302?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D14976528#comment-14976528 ]=20 Andrei Mikhailovsky commented on CLOUDSTACK-8302: ------------------------------------------------- Wido, thanks=20 is it safe to remove all the primary storage stored snapshots if they have = been successfully backed up to the secondary storage?=20 Thanks=20 > Cleanup snapshot on KVM with RBD > -------------------------------- > > Key: CLOUDSTACK-8302 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-830= 2 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: KVM, Snapshot, Storage Controller > Affects Versions: 4.4.0, 4.4.1, 4.4.2 > Environment: CloudStack 4.4.2 + KVM on CentOS 6.6 + Ceph/RBD 0.80= .8 > Reporter: Star Guo > Assignee: Wido den Hollander > Priority: Critical > > 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/KVMStorageProcess= or.java:=20 > =E2=80=A6 > @Override > public Answer deleteSnapshot(DeleteCommand cmd) { > return new Answer(cmd); > } > =E2=80=A6 > 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 . -- This message was sent by Atlassian JIRA (v6.3.4#6332)