Bug 1287680 - DoubleRenderError leading to Internal Server Error when navigating to https:/ip_address/api
Summary: DoubleRenderError leading to Internal Server Error when navigating to https:/...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: GA
: 5.6.0
Assignee: abellott
QA Contact: Jaroslav Henner
URL:
Whiteboard:
Depends On:
Blocks: 1287797
TreeView+ depends on / blocked
 
Reported: 2015-12-02 13:50 UTC by Jaroslav Henner
Modified: 2016-06-29 15:15 UTC (History)
3 users (show)

Fixed In Version: 5.6.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1287797 (view as bug list)
Environment:
Last Closed: 2016-06-29 15:15:59 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
production.log (7.96 KB, text/plain)
2015-12-02 13:50 UTC, Jaroslav Henner
no flags Details
evm log (3.70 KB, text/plain)
2015-12-02 14:37 UTC, Jaroslav Henner
no flags Details
api log (18.35 KB, text/plain)
2015-12-02 14:43 UTC, Jaroslav Henner
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Jaroslav Henner 2015-12-02 13:50:13 UTC
Created attachment 1101472 [details]
production.log

Description of problem:
MIQ main API entrypoint reports ISE, nasty-looking exceptions in logs.


Version-Release number of selected component (if applicable):
manageiq-openstack-master-201512012000-af81fde674.qc2


How reproducible:
2/2


Steps to Reproduce:
1. glance image-create ...
2. nova boot and add FlIP
3. navigate to https://FlIP/api


Actual results:
{"status":"500","error":"Internal Server Error"}


Expected results:
API self-description

Additional info:

Comment 2 Jaroslav Henner 2015-12-02 14:37:00 UTC
Created attachment 1101514 [details]
evm log

Comment 3 Jaroslav Henner 2015-12-02 14:43:58 UTC
Created attachment 1101517 [details]
api log

Comment 4 abellott 2015-12-02 16:04:02 UTC
Yep, regression with the enhanced logging to the API, never tested browser access. 

https://github.com/ManageIQ/manageiq/pull/5683

Comment 5 CFME Bot 2015-12-02 19:46:51 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/77037c208908dd58fdd49fd0dafb0151634432b7

commit 77037c208908dd58fdd49fd0dafb0151634432b7
Author:     Alberto Bellotti <abellott>
AuthorDate: Wed Dec 2 10:54:32 2015 -0500
Commit:     Alberto Bellotti <abellott>
CommitDate: Wed Dec 2 10:55:59 2015 -0500

    [api] Fix enhanced logging
    
    - Issue when hitting /api using browser with no authentication where the browser pops up
    the authentication pop-up, needed to log appropriatly (null authentication and no authorization logging).
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1287680

 app/controllers/api_controller/logger.rb | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Comment 7 errata-xmlrpc 2016-06-29 15:15:59 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/RHBA-2016:1348


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