Created attachment 1521368 [details] Screenshot Description of problem: V2V UI goes blank when trying to create Infra mapping for RHV Version-Release number of selected component (if applicable): 5.10.0.32 How reproducible: believe 100% Steps to Reproduce: 1.Add VMware and RHV provider 2.Go to create Infra Mapping wizard 3.Select RHV/RHOS as target provider, enter a name for mapping and hit next Actual results: Screen goes blank with errors in browsers javascript console as per screenshot attached Expected results: Wizards should work without errors Additional info: It is pretty much a blocker for entire v2v and is a regression
https://github.com/ManageIQ/manageiq-v2v/issues/852
On initial investigation, there seems to be a problem with the conversion hosts on this appliance. Using the rails console, I retrieved the first conversion host #<ConversionHost:0x000000000aaefc18 id: 1, name: "env-rhv42-01.cfme2.lab.eng.rdu2.redhat.com", address: nil, type: nil, resource_type: nil, resource_id: 6, version: nil, max_concurrent_tasks: nil, vddk_transport_supported: true, ssh_transport_supported: true, created_at: Thu, 17 Jan 2019 20:07:09 UTC +00:00, updated_at: Thu, 17 Jan 2019 20:07:09 UTC +00:00, concurrent_transformation_limit: nil, cpu_limit: nil, memory_limit: nil, network_limit: nil, blockio_limit: nil> notice that the resource_type is nil. Further, ConversionHost.first.resource returns nil, but it should return the underlying VmOrTemplate. @KK, perhaps something went wrong in the conversion host configuring process?
After discussing with @vconzola we've decided that the best course of action will be to ignore these malformed conversion hosts in the mapping wizard. This will 1. Allow us to keep the UI from crashing when processing invalid conversion host records 2. Allow the user to continue forward in the wizard. In the case where all the conversion host records are invalid, the user will see the current messaging informing them that they need to configure a conversion host before attempting to execute a migration plan based on the mapping. Our plan is to deal with these broken records in the upcoming Conversion Hosts page that will be added to the UI in one of the upcoming z-streams.
https://github.com/ManageIQ/manageiq-v2v/pull/853
Fixed in 5.11.0.4.20190514210444_0c91ee1