Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6BF19200C64 for ; Fri, 14 Apr 2017 01:04:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6A785160BA7; Thu, 13 Apr 2017 23:04:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B10F6160B98 for ; Fri, 14 Apr 2017 01:04:44 +0200 (CEST) Received: (qmail 15094 invoked by uid 500); 13 Apr 2017 23:04:43 -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 15085 invoked by uid 500); 13 Apr 2017 23:04:43 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 15082 invoked by uid 99); 13 Apr 2017 23:04:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Apr 2017 23:04:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 7786BCCE69 for ; Thu, 13 Apr 2017 23:04:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id qzavxCf95A0o for ; Thu, 13 Apr 2017 23:04:42 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 88D8C5F239 for ; Thu, 13 Apr 2017 23:04:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 12EE3E0D20 for ; Thu, 13 Apr 2017 23:04:41 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A746F2406A for ; Thu, 13 Apr 2017 23:04:41 +0000 (UTC) Date: Thu, 13 Apr 2017 23:04:41 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9555) when a template is deleted and then copied over again , it is still marked as Removed in template_zone_ref table MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 13 Apr 2017 23:04:45 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15968361#comment-15968361 ] ASF GitHub Bot commented on CLOUDSTACK-9555: -------------------------------------------- Github user ustcweizhou commented on the issue: https://github.com/apache/cloudstack/pull/1716 this is not an isolated issue. See https://issues.apache.org/jira/browse/CLOUDSTACK-8186 it would be better to fix it in framework/db/ > when a template is deleted and then copied over again , it is still marked as Removed in template_zone_ref table > ---------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-9555 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9555 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.9.0, 4.5.2.2 > Environment: All Hypervisors > Reporter: subhash yedugundla > Fix For: 4.10.0.0 > > > Charging of template stops in the following use case > Step1:Register a Template(Name:A) to Zone1 > Step2:Copy the template(Name:A) to Zone 2 > Step3:Delete the template(Name:A) of only Zone2 > Step4:Copy the template(Name:A) to Zone 2 > Step5:Check the charging of the template -- This message was sent by Atlassian JIRA (v6.3.15#6346)