Return-Path: X-Original-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BDED5EDD3 for ; Wed, 27 Feb 2013 09:25:20 +0000 (UTC) Received: (qmail 33297 invoked by uid 500); 27 Feb 2013 09:25:20 -0000 Delivered-To: apmail-incubator-cloudstack-commits-archive@incubator.apache.org Received: (qmail 33267 invoked by uid 500); 27 Feb 2013 09:25:20 -0000 Mailing-List: contact cloudstack-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-commits@incubator.apache.org Received: (qmail 33153 invoked by uid 99); 27 Feb 2013 09:25:15 -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, 27 Feb 2013 09:25:15 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 79E3BF7B3; Wed, 27 Feb 2013 09:25:15 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mice@apache.org To: cloudstack-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: git commit: refs/heads/master - CLOUDSTACK-1350 Management server Stop and start causes previously downloaded ISOs to redownload Message-Id: <20130227092515.79E3BF7B3@tyr.zones.apache.org> Date: Wed, 27 Feb 2013 09:25:15 +0000 (UTC) Updated Branches: refs/heads/master f30da781f -> 9d043cba8 CLOUDSTACK-1350 Management server Stop and start causes previously downloaded ISOs to redownload Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/9d043cba Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/9d043cba Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/9d043cba Branch: refs/heads/master Commit: 9d043cba812a625d00de57da49a6a4921675a447 Parents: f30da78 Author: Mice Xia Authored: Wed Feb 27 14:35:45 2013 +0800 Committer: Mice Xia Committed: Wed Feb 27 17:25:01 2013 +0800 ---------------------------------------------------------------------- .../cloud/storage/template/RawImageProcessor.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/9d043cba/core/src/com/cloud/storage/template/RawImageProcessor.java ---------------------------------------------------------------------- diff --git a/core/src/com/cloud/storage/template/RawImageProcessor.java b/core/src/com/cloud/storage/template/RawImageProcessor.java index 7833eab..a002df5 100644 --- a/core/src/com/cloud/storage/template/RawImageProcessor.java +++ b/core/src/com/cloud/storage/template/RawImageProcessor.java @@ -57,6 +57,7 @@ public class RawImageProcessor extends AdapterBase implements Processor { String imgPath = templatePath + File.separator + templateName + "." + ImageFormat.RAW.getFileExtension(); if (!_storage.exists(imgPath)) { s_logger.debug("Unable to find raw image:" + imgPath); + return null; } FormatInfo info = new FormatInfo(); info.format = ImageFormat.RAW;