Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97CEF19E54 for ; Thu, 7 Apr 2016 18:55:28 +0000 (UTC) Received: (qmail 99900 invoked by uid 500); 7 Apr 2016 18:55:28 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 99843 invoked by uid 500); 7 Apr 2016 18:55:27 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 99831 invoked by uid 99); 7 Apr 2016 18:55:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2016 18:55:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2BE38180551 for ; Thu, 7 Apr 2016 18:55:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id lE7GlBqV7csU for ; Thu, 7 Apr 2016 18:55:26 +0000 (UTC) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id D2F735F1BE for ; Thu, 7 Apr 2016 18:55:25 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id fp4so58826888obb.2 for ; Thu, 07 Apr 2016 11:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=HjALUdfgX6bm6Q4DqsGPTQ+JJdOFbZcY45P8LPu9PQs=; b=Hs4Nbo7Sts47Opb/Lomvo6nEY1UWtxQEBhv4Y7ahdyKdJyvX+1V7t4Bs+psdNA0Ni4 JOCceR9owNSJrxCNZF/u+SUfA6H8PZXAoElQG4ahxGtKDap8wJNxZOvLW1rkJYfW29fe TPGv6t3G6nMemAiaJzwz1L28GqeAdlXG9Iga51WLPPzTxRnsOJB85MU/JHwS6/OdSjQ7 m6LkTcgPrS4RQk8RVTCjAuAA5nMMAyR/iq2oiXJPLa1tQj8D+3XKfANdpPDZnawlcSUP 9UdKr3LDDIZfjEDtjQNr7p/gSaoraS6OultJY8TJy9BuvztnMVuTURaxODxvj0Zpkucn TQgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=HjALUdfgX6bm6Q4DqsGPTQ+JJdOFbZcY45P8LPu9PQs=; b=TgcgLJ30Oe2DMx0e0uK055NyvGA6VNb8SLloJ/GsLUmiEsANMT/OaGVlu6FVf4ryyk Kkigwx7a63p2bv/gxnTAtBoyuN91ZHmWAzlm6GaPgzL7i7M3WksNDO52k4I+4QN/clB7 KCUB/RelLOC5Tfo+e3kli9CWPVWOuvu7knu1z6fH+yeP/DwZD2mRa+Qg0Y0plA7UjM+H IuVJFEwnpyLGWycAprQcrAhxypCO8FFetzZAGobEanjAuqHqheipKRrjEC3jVF1QuzUH koDeqwaH+WaDX3isNXuvsiSWSyCeCq3MRd3zO9GKFcP/qpw/JM7qIvXbkRbfH8loYDVZ VjWA== X-Gm-Message-State: AD7BkJLf5ssnGPfVtFRLsb5QFhMVOGjdkk3bokGKS/f24DHHF0piqsMxmqe/J1Z8dDv2bq7zk7OUVEkhPpGGfg== MIME-Version: 1.0 X-Received: by 10.182.250.169 with SMTP id zd9mr2271336obc.59.1460055319531; Thu, 07 Apr 2016 11:55:19 -0700 (PDT) Received: by 10.202.200.11 with HTTP; Thu, 7 Apr 2016 11:55:19 -0700 (PDT) Received: by 10.202.200.11 with HTTP; Thu, 7 Apr 2016 11:55:19 -0700 (PDT) In-Reply-To: References: Date: Thu, 7 Apr 2016 14:55:19 -0400 Message-ID: Subject: Re: [jira] [Created] (CLOUDSTACK-9341) Cannot upload volume when using Swift as secondary storage From: Will Stevens To: dev@cloudstack.apache.org Cc: cloudstack-issues@incubator.apache.org Content-Type: multipart/alternative; boundary=089e0160c35cac5873052fe99e6f --089e0160c35cac5873052fe99e6f Content-Type: text/plain; charset=UTF-8 PLD, do we have a github PR for this one already? I thought we had a fix for this locally. On Apr 7, 2016 2:45 PM, "Pierre-Luc Dion (JIRA)" wrote: > Pierre-Luc Dion created CLOUDSTACK-9341: > ------------------------------------------- > > Summary: Cannot upload volume when using Swift as secondary > storage > Key: CLOUDSTACK-9341 > URL: > https://issues.apache.org/jira/browse/CLOUDSTACK-9341 > Project: CloudStack > Issue Type: Bug > Security Level: Public (Anyone can view this level - this is the > default.) > Components: Secondary Storage > Affects Versions: 4.4.4, Future, 4.7.0 > Reporter: Pierre-Luc Dion > Assignee: Patrick D. > Priority: Minor > > > tested on 4.4.4 and 4.7.1: > > Uploading a volume fails when using swift as secondary storage. > The error returned is: org.apache.cloudstack.storage.to.VolumeObjectTO > cannot be cast to org.apache.cloudstack.storage.to.TemplateObjectTO > The code related to this issue: > > > https://github.com/apache/cloudstack/blob/master/plugins/storage/image/swift/src/org/apache/cloudstack/storage/datastore/driver/SwiftImageStoreDriverImpl.java#L105 > > > > > > > -- > This message was sent by Atlassian JIRA > (v6.3.4#6332) > --089e0160c35cac5873052fe99e6f--