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 44FB010A50 for ; Wed, 24 Dec 2014 09:18:36 +0000 (UTC) Received: (qmail 73383 invoked by uid 500); 24 Dec 2014 09:18:36 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 73348 invoked by uid 500); 24 Dec 2014 09:18:36 -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 73339 invoked by uid 99); 24 Dec 2014 09:18:36 -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, 24 Dec 2014 09:18:36 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id BC481A37391; Wed, 24 Dec 2014 09:18:35 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: likithas@apache.org To: commits@cloudstack.apache.org Message-Id: <23160527bbcc45e9981053aee0859d95@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: updated refs/heads/master to 7b32b8a Date: Wed, 24 Dec 2014 09:18:35 +0000 (UTC) Repository: cloudstack Updated Branches: refs/heads/master 1c0bf3217 -> 7b32b8a26 CLOUDSTACK-8125. VM fails to start on the first attempt after a cold migration. Update volume chain_info to NULL during cold migration. Otherwise during VM start, CCP will configure and try to power-on the VM with wrong disk information. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7b32b8a2 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7b32b8a2 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7b32b8a2 Branch: refs/heads/master Commit: 7b32b8a26808a546d1dbfdf4728c6228a41852b6 Parents: 1c0bf32 Author: Likitha Shetty Authored: Sat Dec 6 14:43:03 2014 +0530 Committer: Likitha Shetty Committed: Wed Dec 24 14:33:51 2014 +0530 ---------------------------------------------------------------------- .../org/apache/cloudstack/storage/volume/VolumeServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7b32b8a2/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 c00785e..5527c3d 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 @@ -830,7 +830,7 @@ public class VolumeServiceImpl implements VolumeService { VolumeVO newVol = new VolumeVO(volume); newVol.setInstanceId(null); - newVol.setPoolId(pool.getId()); + newVol.setChainInfo(null); newVol.setFolder(folder); newVol.setPodId(pool.getPodId()); newVol.setPoolId(pool.getId());