Bug 1537953

Summary: [RHV] Unclear error further to VM migration failure.
Product: Red Hat CloudForms Management Engine Reporter: Ilanit Stein <istein>
Component: ProvidersAssignee: Martin Perina <mperina>
Status: CLOSED CURRENTRELEASE QA Contact: Angelina Vasileva <anikifor>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: cpelland, gblomqui, jfrey, jhardy, obarenbo
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-12 19:18:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log
none
evm.log
none
automation.log
none
rhevm.log none

Description Ilanit Stein 2018-01-24 07:28:45 UTC
Description of problem:
Flow:
====
Have CFME connected to a RHV provider. On CFME side, run VM migration.
While VM migration was running, destination host was powered OFF, and then powered back ON.
On RHV UI:
It was seen that VM migration actually started (also there was an event on that), but the VM's host was yet switched to the destination host.

In this flow the VM migration was interrupted before the VM was fully passed to the destination host.

Results:
=======
On RHV logs, there was a VM migration failure (also "Migration failed" event).

On CFME, 
This error appeared in the VM migration request (under Services-> Requests):

"Server [EVM] VM [cfme_57_vm_0] Step [CheckMigration] Status [Error Migrating VM] Message [Error: Validation failed: Status is not included in the list]"

Problem:
=======
This error ("Status in not included in the list") is not clear.
Could you please fix it?

Version-Release number of selected component (if applicable):
CFME-5.8.3.1/RHV-4.1.8

Comment 2 Ilanit Stein 2018-01-24 07:30:27 UTC
Created attachment 1385270 [details]
engine.log

VM migration of "cfme_57_vm_0" started January 23 @12:22 and ended @12:24

Comment 3 Ilanit Stein 2018-01-24 07:31:20 UTC
Created attachment 1385271 [details]
evm.log

VM migration of "cfme_57_vm_0"

Comment 4 Ilanit Stein 2018-01-24 07:31:43 UTC
Created attachment 1385279 [details]
automation.log

Comment 5 Ilanit Stein 2018-01-24 07:32:11 UTC
Created attachment 1385284 [details]
rhevm.log