Bug 1219005

Summary: Openstack prov. request - undefined method `fetch_path' for nil:NilClass [miq_request/prov_field_changed]
Product: Red Hat CloudForms Management Engine Reporter: Jan Krocil <jkrocil>
Component: UI - OPSAssignee: Roman Blanco <rblanco>
Status: CLOSED ERRATA QA Contact: Kyrylo Zvyagintsev <kzvyahin>
Severity: medium Docs Contact:
Priority: high    
Version: 5.4.0CC: akarol, cbolz, dclarizi, hkataria, jhardy, kzvyahin, mpovolny, mwelk, obarenbo
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-08 13:07:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Extract from production.log none

Description Jan Krocil 2015-05-06 11:55:36 UTC
Created attachment 1022636 [details]
Extract from production.log

Description of problem:
User lands on an error page after switching to the "Properties" tab on a request detail page.
In my case - the provider used was RHOS 5 and the request failed.

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

How reproducible:
Always

Steps to Reproduce:
1. Setup RHOS provider
2. Create a provisioning request that will fail
3. Visit that request's detail page
4. Click the "Properties" tab

Actual results:
Error page with:
undefined method `fetch_path' for nil:NilClass [miq_request/prov_field_changed]

Expected results:
The page loads.

Additional info:

Comment 1 Jan Krocil 2015-05-06 12:10:16 UTC
This happens with a successful request as well. I can, however, copy the request and then visit the "Properties" tab with no issues.

Comment 3 Harpreet Kataria 2015-05-20 14:23:37 UTC
*** Bug 1223333 has been marked as a duplicate of this bug. ***

Comment 4 CFME Bot 2015-05-20 16:36:00 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/21bed751d29f5c424822aff39d365017b3989a11

commit 21bed751d29f5c424822aff39d365017b3989a11
Author:     Roman Blanco <rblanco>
AuthorDate: Wed May 20 13:24:48 2015 +0200
Commit:     Roman Blanco <rblanco>
CommitDate: Wed May 20 13:24:48 2015 +0200

    Fixed Openstack prov. request error
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1219005

 vmdb/app/views/miq_request/_prov_dialog_cloud_quota.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 5 Kyrylo Zvyagintsev 2015-10-05 15:49:26 UTC
verified in 5.5.0.3
Bug was checked in two cases:
1. Successful request
2. Failed request

Comment 7 errata-xmlrpc 2015-12-08 13:07:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:2551