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 183D51889E for ; Mon, 20 Jul 2015 10:12:05 +0000 (UTC) Received: (qmail 28459 invoked by uid 500); 20 Jul 2015 10:12:04 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 28426 invoked by uid 500); 20 Jul 2015 10:12:04 -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 28409 invoked by uid 500); 20 Jul 2015 10:12:04 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 28383 invoked by uid 99); 20 Jul 2015 10:12:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jul 2015 10:12:04 +0000 Date: Mon, 20 Jul 2015 10:12:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8651) [Browser Based Upload Template] Partially uploaded templates doesn't get cleaned up after the SSVM handling it is destroyed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14633364#comment-14633364 ] ASF GitHub Bot commented on CLOUDSTACK-8651: -------------------------------------------- Github user koushik-das commented on the pull request: https://github.com/apache/cloudstack/pull/607#issuecomment-122836717 Test browser based incomplete template upload, followed by SSVM destroy. Template should go to UploadAbandoned state and get cleaned up. ... === TestName: test_browser_upload_template_incomplete | Status : SUCCESS === ok ---------------------------------------------------------------------- Ran 1 test in 111.128s OK > [Browser Based Upload Template] Partially uploaded templates doesn't get cleaned up after the SSVM handling it is destroyed > --------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-8651 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8651 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.6.0 > Reporter: Koushik Das > Assignee: Koushik Das > Fix For: 4.6.0 > > > Repro steps: > 1. Make a call to getuploadparamsfortemplate, don't start actual upload to SSVM or make sure that the upload is in partially completed state. > 2. Destroy SSVM (when template state is NotUploaded or UploadInProgress). > 3. After a new SSVM comes up, these templates continue to remain in the same state and cannot be removed/cleaned-up. > The issue is happening as the original SSVM is destroyed and no longer able to monitor the template. The fix is to clean-up the partially uploaded templates as part of template sync-up when the new SSVM comes up. -- This message was sent by Atlassian JIRA (v6.3.4#6332)