Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. choose and VM and under Lifecycle "Migrate this VM" 2. Fill all fields and select host and datastore 3. Check the error messages in the log Actual results: Vm was migrated but failed to email the owner. Expected results: The Owner should get an email about the successful VM migration. Additional info: Vm was migrated but failed to email the owner with following error messages: [----] E, [2015-11-16T16:50:08.319886 #8464:3bd196c] ERROR -- : Q-task_id([vm_migrate_task_1000000000001]) <AutomationEngine> <AEMethod vmmigratetask_complete> NoMethodError: undefined method `vm' for #<MiqAeMethodService::MiqAeServiceVmMigrateTask:0x00000007674fb0> [----] E, [2015-11-16T16:50:08.320897 #8464:3bd196c] ERROR -- : Q-task_id([vm_migrate_task_1000000000001]) <AutomationEngine> <AEMethod vmmigratetask_complete> (druby: //127.0.0.1:40434) /var/www/miq/vmdb/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:176:in `method_missing' (druby://127.0.0.1:40434) /opt/rh/ruby200/root/usr/share/ruby/drb/drb.rb:1588:in `perform_without_block' (druby://127.0.0.1:40434) /opt/rh/ruby200/root/usr/share/ruby/drb/drb.rb:1548:in `perform' (druby://127.0.0.1:40434) /opt/rh/ruby200/root/usr/share/ruby/drb/drb.rb:1626:in `block (2 levels) in main_loop' (druby://127.0.0.1:40434) /opt/rh/ruby200/root/usr/share/ruby/drb/drb.rb:1622:in `loop' (druby://127.0.0.1:40434) /opt/rh/ruby200/root/usr/share/ruby/drb/drb.rb:1622:in `block in main_loop' (druby://127.0.0.1:40434) /var/www/miq/vmdb/lib/extensions/ar_thread.rb:22:in `block in start_with_release' [----] E, [2015-11-16T16:50:08.326401 #8464:3bbe3f8] ERROR -- : Q-task_id([vm_migrate_task_1000000000001]) <AutomationEngine> Method STDERR: (druby://127.0.0.1:40434) /var/www/miq/vmdb/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:176:in `method_missing': undefined method `vm' for #<MiqAeMethodService::MiqAeServiceVmMigrateTask:0x00000007674fb0> (NoMethodError)
https://github.com/ManageIQ/manageiq/pull/5552
https://github.com/ManageIQ/manageiq/pull/5695
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/823b9fe4abbc8b74d1432dc84475159581e1536e commit 823b9fe4abbc8b74d1432dc84475159581e1536e Author: Lucy Fu <lufu> AuthorDate: Fri Nov 20 16:42:59 2015 -0500 Commit: Lucy Fu <lufu> CommitDate: Mon Dec 7 15:52:47 2015 -0500 The VM information is kept in miq_migrate_task as source. https://bugzilla.redhat.com/show_bug.cgi?id=1284110 .../__methods__/vmmigratetask_complete.rb | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-)
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/de7e9ce60b6c009c0fa6a36fd6a51b98f94b7a73 commit de7e9ce60b6c009c0fa6a36fd6a51b98f94b7a73 Author: Lucy Fu <lufu> AuthorDate: Fri Dec 4 15:41:38 2015 -0500 Commit: Lucy Fu <lufu> CommitDate: Mon Dec 7 16:02:48 2015 -0500 Add test case for automate method vmmigratetask_complete. https://bugzilla.redhat.com/show_bug.cgi?id=1284110 .../vm_migrate_task_complete_spec.rb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 spec/automation/unit/method_validation/vm_migrate_task_complete_spec.rb
New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=c60d007835b91addd79eff7b5e37bdcebe35dacd commit c60d007835b91addd79eff7b5e37bdcebe35dacd Author: Lucy Fu <lufu> AuthorDate: Fri Dec 4 15:41:38 2015 -0500 Commit: Lucy Fu <lufu> CommitDate: Tue Dec 8 10:39:11 2015 -0500 Add test case for automate method vmmigratetask_complete. https://bugzilla.redhat.com/show_bug.cgi?id=1284110 .../vm_migrate_task_complete_spec.rb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 spec/automation/unit/method_validation/vm_migrate_task_complete_spec.rb
New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=eb8ff6c81ce5e776ca54240d19eb2881ffaeb3d8 commit eb8ff6c81ce5e776ca54240d19eb2881ffaeb3d8 Author: Lucy Fu <lufu> AuthorDate: Fri Nov 20 16:42:59 2015 -0500 Commit: Lucy Fu <lufu> CommitDate: Tue Dec 8 10:38:55 2015 -0500 The VM information is kept in miq_migrate_task as source. https://bugzilla.redhat.com/show_bug.cgi?id=1284110 .../__methods__/vmmigratetask_complete.rb | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-)
*** Bug 1304015 has been marked as a duplicate of this bug. ***
Verified in 5.6.0.4
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/RHBA-2016:1348