Bug 1748330 - Error caught: [NoMethodError] undefined method `cloud_tenant' for #<VmOrTemplate:0x000055d52d74cdd8> Did you mean? cloud_tenant_id
Summary: Error caught: [NoMethodError] undefined method `cloud_tenant' for #<VmOrTempl...
Keywords:
Status: CLOSED DUPLICATE of bug 1746931
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.11.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: GA
: 5.11.z
Assignee: Harpreet Kataria
QA Contact: Jaroslav Henner
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-03 11:45 UTC by Jaroslav Henner
Modified: 2019-09-03 13:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-03 13:49:03 UTC
Category: Bug
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
production.log (8.93 KB, text/plain)
2019-09-03 11:45 UTC, Jaroslav Henner
no flags Details
undefined [] for nil error stack trace (5.99 KB, text/plain)
2019-09-03 12:49 UTC, Jaroslav Henner
no flags Details

Description Jaroslav Henner 2019-09-03 11:45:54 UTC
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:

Comment 2 Jaroslav Henner 2019-09-03 12:48:25 UTC
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

Comment 3 Jaroslav Henner 2019-09-03 12:49:13 UTC
Created attachment 1611126 [details]
undefined [] for nil error stack trace

Comment 5 Tina Fitzgerald 2019-09-03 13:49:03 UTC

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


Note You need to log in before you can comment on or make changes to this bug.