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 24999F1ED for ; Mon, 13 May 2013 12:01:36 +0000 (UTC) Received: (qmail 63271 invoked by uid 500); 13 May 2013 12:01:35 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 63068 invoked by uid 500); 13 May 2013 12:01:35 -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 63008 invoked by uid 99); 13 May 2013 12:01:34 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 12:01:34 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id CC3D288F40A; Mon, 13 May 2013 12:01:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: nitin@apache.org To: commits@cloudstack.apache.org Date: Mon, 13 May 2013 12:01:33 -0000 Message-Id: <1f4268fc3c9c4ae39150401b96aa9126@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/5] git commit: updated refs/heads/cs2163 to f84b6ab Updated Branches: refs/heads/cs2163 8d53b1ef0 -> f84b6abde Fixed CLOUDSTACK-2189 Volume is stuck in resizing state 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/756a4179 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/756a4179 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/756a4179 Branch: refs/heads/cs2163 Commit: 756a4179e28b66fe42fec40c0b183907eab0dde2 Parents: 78ffb7a Author: Rajesh Battala Authored: Mon May 6 17:53:01 2013 +0530 Committer: Sateesh Chodapuneedi Committed: Mon May 13 14:41:00 2013 +0530 ---------------------------------------------------------------------- .../storage/volume/VolumeServiceImpl.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/756a4179/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java ---------------------------------------------------------------------- diff --git a/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java b/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java index b39502b..2625354 100644 --- a/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java +++ b/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java @@ -772,9 +772,8 @@ public class VolumeServiceImpl implements VolumeService { return future; } CreateVolumeContext context = new CreateVolumeContext(null, volume, future); - AsyncCallbackDispatcher caller = AsyncCallbackDispatcher.create(this); - caller.setCallback(caller.getTarget().registerVolumeCallback(null, null)) - .setContext(context); + AsyncCallbackDispatcher caller = AsyncCallbackDispatcher.create(this); + caller.setCallback(caller.getTarget().resizeVolumeCallback(caller, context)).setContext(context); volume.getDataStore().getDriver().resize(volume, caller); return future; }