Bug 1533280

Summary: CFME reports VM migration passed when it fails on RHV side
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Piotr Kliczewski <pkliczew>
Status: CLOSED CURRENTRELEASE QA Contact: Radim Hrazdil <rhrazdil>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: cpelland, gblomqui, jfrey, jhardy, mgoldboi, obarenbo, rhrazdil, simaishi, tjelinek, wfitzger
Target Milestone: GA   
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: vm:migrate:rhev
Fixed In Version: 5.9.0.17 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1448023 Environment:
Last Closed: 2018-03-06 15:20:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:
Bug Depends On: 1448023    
Bug Blocks:    

Comment 2 CFME Bot 2018-01-10 23:39:05 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/gaprindashvili:
https://github.com/ManageIQ/manageiq-providers-ovirt/commit/354470eec052588710638dfd3db87675a2bbdb8a

commit 354470eec052588710638dfd3db87675a2bbdb8a
Author:     Moti Asayag <masayag>
AuthorDate: Wed Jan 10 16:05:35 2018 +0200
Commit:     Satoe Imaishi <simaishi>
CommitDate: Wed Jan 10 18:36:31 2018 -0500

    Merge pull request #182 from pkliczewski/master
    
    Block migration call
    (cherry picked from commit bc7972b4ba1c85bb8b66340e7c7d656e2f35dded)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1533280

 .../manageiq/providers/redhat/infra_manager.rb     | 18 +++++++++++++-
 .../providers/redhat/infra_manager_spec.rb         | 29 ++++++++++++++++++++++
 2 files changed, 46 insertions(+), 1 deletion(-)

Comment 3 Radim Hrazdil 2018-01-19 10:47:27 UTC
Verified in RHV 4.1.8 and CFME 5.9.0.17 that when migration starts and fails during the migration process, an error is displayed in CFME and the request finishes with Error status.