Created attachment 1566746 [details] automation.log Description of problem: Migration failing with 'rescue in run_conversion' error in automation. Version-Release number of selected component (if applicable): 5.10.4.3.20190509221642_282f74e How reproducible: 100% Steps to Reproduce: 1. Add providers, make sure you don't add RSA with OSP provider 2. Add conversion host via API using VDDK (https://gitter.im/ManageIQ/v2v?at=5cd5b05c0f381d0a7692f673) 3. Run migration Actual results: Failing with attached error Expected results: Migration should work with VDDK over OSP Additional info: We have also tested by providing RSA key while adding provider, same error.
We will test this in the new build with the fix .
We have tested patch with @Daniel and able to add RHV conversion host successfully with VDDK. We are currently with other usecases like OSP with VDDK and SSH and RHV with SSH.
Created attachment 1568649 [details] Wrapper log VDDK with RHV failed after applying the patch. Logs are attached.
Created attachment 1569030 [details] new_wrapper.log We have tested RHV and OSP with VDDK again with patch from Comment #3. RHV worked well and end to end migration passed. For OSP migration failed with some certificate error again. Logs are attached. In automation.log it is saying ``` [root@10-16-5-106 vmdb]# tailf log/automation.log | grep "ERROR" [----] E, [2019-05-15T11:41:00.879381 #622:1223368] ERROR -- : Q-task_id([r31_service_template_transformation_plan_task_33]) <AEMethod weightedupdatestatus> The following error occurred during method evaluation: [----] E, [2019-05-15T11:41:00.880195 #622:1223368] ERROR -- : Q-task_id([r31_service_template_transformation_plan_task_33]) <AEMethod weightedupdatestatus> RuntimeError: Task cancellation requested. [----] E, [2019-05-15T11:41:00.882657 #622:1223368] ERROR -- : Q-task_id([r31_service_template_transformation_plan_task_33]) <AEMethod weightedupdatestatus> /ManageIQ/System/CommonMethods/MiqAe/WeightedUpdateStatus:145:in `main' [----] E, [2019-05-15T11:41:00.894992 #622:1223368] ERROR -- : Q-task_id([r31_service_template_transformation_plan_task_33]) Method STDERR: /ManageIQ/System/CommonMethods/MiqAe/WeightedUpdateStatus:145:in `main': Task cancellation requested. (RuntimeError) [----] E, [2019-05-15T11:41:00.895726 #622:1223368] ERROR -- : Q-task_id([r31_service_template_transformation_plan_task_33]) Method STDERR: from /ManageIQ/System/CommonMethods/MiqAe/WeightedUpdateStatus:159:in `<main>' [----] E, [2019-05-15T11:41:00.934936 #622:f9cf54] ERROR -- : Q-task_id([r31_service_template_transformation_plan_task_33]) State=<State11> running on_entry raised exception: <Method exited with rc=Unknown RC: [1]> ```
Created attachment 1569031 [details] new_import.log
You're now hitting the problem with SSL certificate, because CA cert is not installed on the conversion host.
Thanks for all the help from devel. We have tested OSP + VDDK with SSL and disk migration worked well with patches mentioned in Comment #3; just at the end, OSP failed to cleanup volume but that is infra issue we can see on our OSP side. So I'm pretty sure it will work with OSP + VDDK with SSL after resolving this OSP infra issue. To add provider as a SSL we have copied undercloud and overcloud certs to CFME appliance as well as OSP conversion instance. For a note, initially we tried with 'SSL without validation' and it failed but devel is currently working on resolving that certificate matter in https://bugzilla.redhat.com/show_bug.cgi?id=1710469.
Test both RHV and OSP with VDDK to verify this BZ.
https://github.com/ManageIQ/manageiq/pull/18805
Fixed! Verifying since OSP worked last time and RHV working on 5.11.0.16.20190724210259_2b4aa51. Thanks.