Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem:VM Migrate fails on RHEVM/VMware if no host was selected. but it's possible to create such Request Version-Release number of selected component (if applicable):5.7.1.2 How reproducible:100% Steps to Reproduce: 1.Migrate Vm without selecting Host on RHEVM/VMware Actual results: Request gets created but fails Expected results: Warning/Error message should be shown Additional info:
I am working on this now. We need to add enhanced messaging, error notification and error logging.
https://github.com/ManageIQ/manageiq/pull/15332
https://github.com/ManageIQ/manageiq-automation_engine/pull/38
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/a4d4652cf8d2f1bf4af14ceae87f36f89318eb55 commit a4d4652cf8d2f1bf4af14ceae87f36f89318eb55 Author: Tina Fitzgerald <tfitzger> AuthorDate: Wed Jun 7 12:28:48 2017 -0400 Commit: Tina Fitzgerald <tfitzger> CommitDate: Wed Jun 7 12:28:48 2017 -0400 Add vm_migrate_task factory. https://bugzilla.redhat.com/show_bug.cgi?id=1422961 spec/factories/miq_request_task.rb | 3 +++ 1 file changed, 3 insertions(+)
New commit detected on ManageIQ/manageiq-automation_engine/master: https://github.com/ManageIQ/manageiq-automation_engine/commit/aaf998e6b2b40503725fe35e9df75358f5eb99b2 commit aaf998e6b2b40503725fe35e9df75358f5eb99b2 Author: Tina Fitzgerald <tfitzger> AuthorDate: Wed Jun 7 12:47:15 2017 -0400 Commit: Tina Fitzgerald <tfitzger> CommitDate: Wed Jun 7 12:47:15 2017 -0400 Check status to determine return value. https://bugzilla.redhat.com/show_bug.cgi?id=1422961 .../miq_ae_service_vm_migrate_task.rb | 2 +- ...roviders-vmware-infra_manager-provision_spec.rb | 50 ++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-)
Still working on this. Still missing a couple of things. Thanks Billy
This ticket initially reports an issue with required fields for a successful migration. We found issues in the VM migration state machine that needed to be resolved prior to addressing the reported issue of required fields. Splitting this ticket into 2 separate tickets to track both issues. This ticket addresses the VM migrate state machine issues that prevented a failed migration from properly reporting the error.