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 8DD2F200C24 for ; Thu, 23 Feb 2017 20:33:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8C652160B67; Thu, 23 Feb 2017 19:33:54 +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 F3F55160B3E for ; Thu, 23 Feb 2017 20:33:53 +0100 (CET) Received: (qmail 77154 invoked by uid 500); 23 Feb 2017 19:33:53 -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 77143 invoked by uid 99); 23 Feb 2017 19:33:52 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2017 19:33:52 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C8C20DFDB1; Thu, 23 Feb 2017 19:33:52 +0000 (UTC) From: syed To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack pull request #1963: CLOUDSTACK-9799 - Unable to create volume fro... Content-Type: text/plain Message-Id: <20170223193352.C8C20DFDB1@git1-us-west.apache.org> Date: Thu, 23 Feb 2017 19:33:52 +0000 (UTC) archived-at: Thu, 23 Feb 2017 19:33:54 -0000 Github user syed commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1963#discussion_r102798055 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -711,6 +711,7 @@ private void handleCreateVolumeFromSnapshotBothOnStorageSystem(SnapshotInfo snap } catch (Exception ex) { errMsg = ex.getMessage() != null ? ex.getMessage() : "Copy operation failed in 'StorageSystemDataMotionStrategy.handleCreateVolumeFromSnapshotBothOnStorageSystem'"; + copyCmdAnswer = new CopyCmdAnswer(errMsg); --- End diff -- That would be great @mike-tutkowski. That makes sure that the snapshot goes back to a good state if the storage driver operation fails. I will close this request then. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---