Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4ECEB10D2C for ; Wed, 17 Jul 2013 19:11:09 +0000 (UTC) Received: (qmail 19070 invoked by uid 500); 17 Jul 2013 19:11:09 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 18941 invoked by uid 500); 17 Jul 2013 19:11:08 -0000 Mailing-List: contact commits-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 commits@cloudstack.apache.org Received: (qmail 18934 invoked by uid 99); 17 Jul 2013 19:11:07 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jul 2013 19:11:07 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 412F78AC880; Wed, 17 Jul 2013 19:11:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sateesh@apache.org To: commits@cloudstack.apache.org Message-Id: <7bcb64d5b0ac4e15855e0302b02703f6@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: updated refs/heads/master to 59788c1 Date: Wed, 17 Jul 2013 19:11:07 +0000 (UTC) Updated Branches: refs/heads/master e8e207863 -> 59788c147 CLOUDSTACK-3530 Runtime exception while creating Snapshot from volume (ROOT/DATA) Worker name is not being configured for CopyCommand. Signed-off-by: Sateesh Chodapuneedi Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/59788c14 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/59788c14 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/59788c14 Branch: refs/heads/master Commit: 59788c1473d77e2f9f8f9ad67f3191d808f0e829 Parents: e8e2078 Author: Sateesh Chodapuneedi Authored: Thu Jul 18 00:39:28 2013 +0530 Committer: Sateesh Chodapuneedi Committed: Thu Jul 18 00:39:28 2013 +0530 ---------------------------------------------------------------------- .../vmware/src/com/cloud/hypervisor/guru/VMwareGuru.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/59788c14/plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMwareGuru.java ---------------------------------------------------------------------- diff --git a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMwareGuru.java b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMwareGuru.java index 4c4d8df..b86b6d9 100644 --- a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMwareGuru.java +++ b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMwareGuru.java @@ -30,6 +30,8 @@ import javax.inject.Inject; import org.apache.log4j.Logger; +import org.apache.cloudstack.storage.command.CopyCommand; + import com.cloud.agent.api.BackupSnapshotCommand; import com.cloud.agent.api.Command; import com.cloud.agent.api.CreatePrivateTemplateFromSnapshotCommand; @@ -89,8 +91,6 @@ import com.cloud.vm.VirtualMachineProfile; import com.cloud.vm.VmDetailConstants; import com.cloud.vm.dao.NicDao; -import org.apache.cloudstack.storage.command.CopyCommand; - @Local(value=HypervisorGuru.class) public class VMwareGuru extends HypervisorGuruBase implements HypervisorGuru { private static final Logger s_logger = Logger.getLogger(VMwareGuru.class); @@ -356,6 +356,7 @@ public class VMwareGuru extends HypervisorGuruBase implements HypervisorGuru { cmd instanceof CreatePrivateTemplateFromVolumeCommand || cmd instanceof CreatePrivateTemplateFromSnapshotCommand || cmd instanceof CopyVolumeCommand || + cmd instanceof CopyCommand || cmd instanceof CreateVolumeOVACommand || cmd instanceof PrepareOVAPackingCommand || cmd instanceof CreateVolumeFromSnapshotCommand) {