@@ -154,7 +154,7 @@ private Answer migrateVmWithVolumesAcrossCluster(VMInstanceVO vm, VirtualMachine
154154 throw new CloudRuntimeException ("Error while migrating the vm " + vm + " to host " + destHost );
155155 } else if (!receiveAnswer .getResult ()) {
156156 s_logger .error ("Migration with storage of vm " + vm + " failed. Details: " + receiveAnswer .getDetails ());
157- throw new CloudRuntimeException ("Error while migrating the vm " + vm + " to host " + destHost + ". " + receiveAnswer . getDetails () );
157+ throw new CloudRuntimeException ("Error while migrating the vm " + vm + " to host " + destHost );
158158 }
159159
160160 MigrateWithStorageSendCommand sendCmd =
@@ -165,7 +165,7 @@ private Answer migrateVmWithVolumesAcrossCluster(VMInstanceVO vm, VirtualMachine
165165 throw new CloudRuntimeException ("Error while migrating the vm " + vm + " to host " + destHost );
166166 } else if (!sendAnswer .getResult ()) {
167167 s_logger .error ("Migration with storage of vm " + vm + " failed. Details: " + sendAnswer .getDetails ());
168- throw new CloudRuntimeException ("Error while migrating the vm " + vm + " to host " + destHost + ". " + sendAnswer . getDetails () );
168+ throw new CloudRuntimeException ("Error while migrating the vm " + vm + " to host " + destHost );
169169 }
170170
171171 MigrateWithStorageCompleteCommand command = new MigrateWithStorageCompleteCommand (to );
@@ -175,7 +175,7 @@ private Answer migrateVmWithVolumesAcrossCluster(VMInstanceVO vm, VirtualMachine
175175 throw new CloudRuntimeException ("Error while migrating the vm " + vm + " to host " + destHost );
176176 } else if (!answer .getResult ()) {
177177 s_logger .error ("Migration with storage of vm " + vm + " failed. Details: " + answer .getDetails ());
178- throw new CloudRuntimeException ("Error while migrating the vm " + vm + " to host " + destHost + ". " + answer . getDetails () );
178+ throw new CloudRuntimeException ("Error while migrating the vm " + vm + " to host " + destHost );
179179 } else {
180180 // Update the volume details after migration.
181181 updateVolumePathsAfterMigration (volumeToPool , answer .getVolumeTos ());
0 commit comments