mirror of https://github.com/apache/cloudstack.git
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.
(cherry picked from commit 7b32b8a268)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
6ddaef7a48
commit
7de7885a54
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue