Created attachment 1611112 [details] production.log Description of problem: When provisioning a VM on OpenStack, in the dialog for selecting the image, after clicking on Order get a stack trace in production.log and an error on the webui. [----] F, [2019-09-03T06:57:01.214730 #7983:2aea915c4fbc] FATAL -- : Error caught: [NoMethodError] undefined method `cloud_tenant' for #<VmOrTemplate:0x000055d52d74cdd8> Did you mean? cloud_tenant_id /opt/rh/cfme-gemset/gems/activemodel-5.1.7/lib/active_model/attribute_methods.rb:432:in `method_missing' /var/www/miq/vmdb/app/models/miq_provision_virt_workflow.rb:1049:in `create_hash_struct_from_vm_or_template' Version-Release number of selected component (if applicable): Version 5.11.0.22.20190827200559_e618ece How reproducible: 1/1 Steps to Reproduce: 1. Add openstack provider 2. GO to the VMs page, Click on Provision VM button 3. Select VM 4. Click on Contiune Actual results: nothing happens on Web UI. Error in production log. Expected results: The next provisioning dialog appears Additional info:
When clicking on Back after the error happens and then selecting the same image, I get: [----] F, [2019-09-03T07:46:58.886094 #7983:2aea915c578c] FATAL -- : Error caught: [NoMethodError] undefined method `[]' for nil:NilClass
Created attachment 1611126 [details] undefined [] for nil error stack trace
*** This bug has been marked as a duplicate of bug 1746931 ***