Bug 1436222

Summary: The option of VM migration to the same host it is already running on is possible
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: cpelland, istein, jfrey, jhardy, mgoldboi, obarenbo, oourfali, simaishi, tjelinek
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev, vm migration
Fixed In Version: 5.7.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1418708 Environment:
Last Closed: 2017-06-28 14:57:56 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: 1418708    
Bug Blocks:    

Comment 2 CFME Bot 2017-04-13 22:16:09 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/22bf18ab11e337d6de0354ab93f4785c7cccbef7

commit 22bf18ab11e337d6de0354ab93f4785c7cccbef7
Author:     Šimon Lukašík <isimluk>
AuthorDate: Wed Mar 22 10:58:11 2017 +0100
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Apr 13 18:10:40 2017 -0400

    Merge pull request #14155 from jelkosz/fail-migration-with-better-error
    
    Provide better error message when migrating to the same host
    (cherry picked from commit 976486006c16f51478718409200b818d509c7a14)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1436222

 app/models/vm_or_template/operations/relocation.rb | 4 ++++
 1 file changed, 4 insertions(+)

Comment 3 Ilanit Stein 2017-06-11 11:51:22 UTC
Verified on CFME-5.7.3.1/RHV-4.1.3

VM migration to the same host is still possible, 
however the request fail on :
"Error: The VM 'golden_env_mixed_virtio_1' can not be migrated to the same host it is already running on."

Comment 5 errata-xmlrpc 2017-06-28 14:57:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:1601