Red Hat Bugzilla – Bug 1473169
[v2v] Failures/Errors are not reflected at all in the Automate request messages
Last modified: 2018-03-06 09:46:36 EST
Description of problem:
When there are failures in the import of VM, from VMWare to RHV, It is not reflected in the CFME Automate->Request.
The Request last message keeps having Message [Checking for VM Import completion] Current Retry Number [...].
1. When running v2v for a Windows VM that has snapshots, which is not possible.
On vdsm.log, this error is seen:
"2017-07-19 15:31:22,081+0300 ERROR (jsonrpc/7) [root] vm 'win7_auto' has snapshots and therefore can not be imported since snapshot conversion is not supported for VMware (v2v:176)"
(See vdsm.log attached)
2. When v2v fail for a Windows VM on the following error (taken from v2v import log):
"virt-v2v: error: unable to mount the disk image for writing. This has
probably happened because Windows Hibernation or Fast Restart is being used
in this guest. You have to disable this (in the guest) in order to use
(See import log attached)
Source VM name: "win10_IDE"
** Indeed those errors are not seen in the engine.log, but in engine.log,
it is mentioned that the import/convert failed, and even that is not propagated to CFME.
Version-Release number of selected component (if applicable):
CFME-5.8.1 + several fixes for v2v bugs/RHV-4.1
Created attachment 1301555 [details]
Created attachment 1301557 [details]
Verified on CFME-126.96.36.199/RHV-4.1.8,
that the message in the request indicate import failed:
* When destination VM name already exist (Seen in engine.log):
[EVM] VM [mb-win10] Step [Launch] Status [Error submitting VM Import to RHV] Message [Submitting VM Import to RHV]
* When windows VM import failed on mount problem (seen in the host vdsm/import log):
[EVM] VM [tg-win10] Step [WaitForImport] Status [Error encountered during VM import] Message [Checking for VM Import completion]