Bug 1518391

Summary: Error during 'Provisioning': undefined when Transform VMs to RHV
Product: Red Hat CloudForms Management Engine Reporter: Josh Carter <jocarter>
Component: ProvidersAssignee: Shmuel Melamud <smelamud>
Status: CLOSED DUPLICATE QA Contact: Ilanit Stein <istein>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, gblomqui, jfrey, jhardy, jocarter, michal.skrivanek, obarenbo, oourfali
Target Milestone: GA   
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-04 14:19:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:

Description Josh Carter 2017-11-28 19:59:13 UTC
Description of problem:

Tag a VMWare vm with tag category of "Migration Factory" and a tag of "Group 1" 

Select the RHV Provider, Cluster and valid storage  not iso or export. 

The following error is raised in the ui "Error during 'Provisioning': undefined method `id' for nil:NilClass"

[----] I, [2017-11-28T14:49:55.677122 #13326:d19cb4]  INFO -- : MIQ(ResourceAction#deliver_to_automate_from_dialog_field) Running <ResourceAction:42> for <DialogField:42>
[----] I, [2017-11-28T14:49:55.679517 #13326:d19cb4]  INFO -- : MIQ(MiqAeEngine.deliver) Delivering {"dialog_tag_category"=>"migration_group", "dialog_tag_name"=>"group1", "dialog_name"=>"", "dialog_provider"=>"4", "dialog_cluster"=>"", "dialog_storage"=>"", "dialog_sparse"=>"f", "dialog_install_drivers"=>"f", "dialog_drivers_iso"=>""} for object [.] with state [] to Automate
[----] E, [2017-11-28T14:51:26.603116 #13326:d19cb4] ERROR -- : MIQ(vm_infra_controller-dialog_form_button_pressed): Error during 'Provisioning': undefined method `id' for nil:NilClass 

Version-Release number of selected component (if applicable): 5.9.0.11.20171127204214_e316988 


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Oved Ourfali 2017-11-29 07:50:52 UTC
Josh - can you please attach all the logs?

Comment 4 Shmuel Melamud 2017-12-04 14:19:08 UTC

*** This bug has been marked as a duplicate of bug 1514939 ***