Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1287680 - DoubleRenderError leading to Internal Server Error when navigating to https:/ip_address/api
DoubleRenderError leading to Internal Server Error when navigating to https:/...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API (Show other bugs)
5.5.0
Unspecified Unspecified
unspecified Severity urgent
: GA
: 5.6.0
Assigned To: abellott
Jaroslav Henner
: Regression
Depends On:
Blocks: 1287797
  Show dependency treegraph
 
Reported: 2015-12-02 08:50 EST by Jaroslav Henner
Modified: 2016-06-29 11:15 EDT (History)
3 users (show)

See Also:
Fixed In Version: 5.6.0.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1287797 (view as bug list)
Environment:
Last Closed: 2016-06-29 11:15:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Jaroslav Henner 2015-12-02 08:50:13 EST
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 09:37 EST
Created attachment 1101514 [details]
evm log
Comment 3 Jaroslav Henner 2015-12-02 09:43 EST
Created attachment 1101517 [details]
api log
Comment 4 abellott 2015-12-02 11:04:02 EST
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 14:46:51 EST
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/77037c208908dd58fdd49fd0dafb0151634432b7

commit 77037c208908dd58fdd49fd0dafb0151634432b7
Author:     Alberto Bellotti <abellott@redhat.com>
AuthorDate: Wed Dec 2 10:54:32 2015 -0500
Commit:     Alberto Bellotti <abellott@redhat.com>
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 11:15:59 EDT
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.