Red Hat Bugzilla – Bug 1478518
CFME reports VM migration passed when it fails on RHV side
Last modified: 2017-09-18 11:41:06 EDT
New commit detected on ManageIQ/manageiq-content/fine:
Author: Madhu Kanoor <firstname.lastname@example.org>
AuthorDate: Fri Jun 23 14:51:02 2017 -0400
Commit: Satoe Imaishi <email@example.com>
CommitDate: Fri Aug 4 14:09:09 2017 -0400
Merge pull request #135 from billfitzgerald0120/check_migrate
Updated vm migration to report when an error occurs.
(cherry picked from commit 61793a6a2a1e7aa0b7061d6986a27af84d4052ff)
.../Methods.class/__methods__/checkmigration.rb | 68 ++++++++++++-----
.../__methods__/checkmigration_spec.rb | 88 ++++++++++++++++++++++
2 files changed, 139 insertions(+), 17 deletions(-)
create mode 100644 spec/content/automate/ManageIQ/Infrastructure/VM/Migrate/StateMachines/Methods.class/__methods__/checkmigration_spec.rb
Tested on CFME-5.8.2/RHV-4.1.3:
Started VM migration from CFME side.
After RHV UI showed VM is migrating, destination host was rebooted,
and in RHV events, it was reported that migration failed.
On CFME side,
Shortly after VM migration was started, the Request state turned into "Migrated" - Which is not true.
and the request few minutes later failed on email send.
Request State Migrated
Request Type VM Migrate
Description VM Migrate for: <vm name> - Host: host_mixed_2
Last Message Server [EVM] VM [cfme_5815_bug_1478108] Step [EmailOwner] Status [Error Emailing Owner] Message [Emailing Owner]
Created On Sun, 03 Sep 2017 10:34:07 +0000
Last Update Sun, 03 Sep 2017 10:36:37 +0000
Approval State Approved
Approved/Denied by admin (Administrator)
Approved/Denied on Sun, 03 Sep 2017 10:34:28 +0000
As Migration failed on RHV side, on a problem occurred during the VM migration,
the expected behavior is that on CFME side, the Migration VM request will fail,
and the Migration error will be propagated from RHV side to CFME side.
Thus, moving bug back to assigned.
William, can you take a look?
Can you re-create this and let me have access to your appliance?