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 40812200B5B for ; Thu, 21 Jul 2016 15:50:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3F309160A72; Thu, 21 Jul 2016 13:50:22 +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 ADD77160A73 for ; Thu, 21 Jul 2016 15:50:21 +0200 (CEST) Received: (qmail 31672 invoked by uid 500); 21 Jul 2016 13:50:20 -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 31644 invoked by uid 500); 21 Jul 2016 13:50:20 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 31624 invoked by uid 99); 21 Jul 2016 13:50:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2016 13:50:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 976042C0D59 for ; Thu, 21 Jul 2016 13:50:20 +0000 (UTC) Date: Thu, 21 Jul 2016 13:50:20 +0000 (UTC) From: "syed ahmed (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9423) Object storage should get the correct size for compressed templates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 21 Jul 2016 13:50:22 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15387719#comment-15387719 ] syed ahmed commented on CLOUDSTACK-9423: ---------------------------------------- Closed via https://github.com/apache/cloudstack/pull/1598 > Object storage should get the correct size for compressed templates > ------------------------------------------------------------------- > > Key: CLOUDSTACK-9423 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9423 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Reporter: syed ahmed > Labels: secondary_storage, swift, template > > When uploading templates to an object store like Swift, if the template is compressed, we get an invalid size (negative). This fix tries to see if the template is compressed, if so, gets the correct size by partially decompressing the VHD header. -- This message was sent by Atlassian JIRA (v6.3.4#6332)