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.
This commit is contained in:
Likitha Shetty 2014-12-06 14:43:03 +05:30
parent 1c0bf32170
commit 7b32b8a268
1 changed files with 1 additions and 1 deletions

View File

@ -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());