Bug 1306421 - Server 500 Error When uploading Manifest
Summary: Server 500 Error When uploading Manifest
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: Installation - RHCI
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ga
: 1.0
Assignee: Jesus M. Rodriguez
QA Contact: Tasos Papaioannou
Dan Macpherson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-10 19:38 UTC by Adam Haile
Modified: 2016-09-13 16:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-13 16:26:16 UTC
Target Upstream Version:


Attachments (Terms of Use)
Offending manifest (108.65 KB, application/zip)
2016-02-10 19:38 UTC, Adam Haile
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:1862 0 normal SHIPPED_LIVE Red Hat Quickstart Installer 1.0 2016-09-13 20:18:48 UTC

Description Adam Haile 2016-02-10 19:38:54 UTC
Created attachment 1122891 [details]
Offending manifest

Description of problem:
On the latest RHCI, when trying to do a disconnected install and upload the required manifest file, the server throws a 500 error (though absolutely nothing is shown on the UI, looking at the console was required).


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


How reproducible: 100% with the attached file


Steps to Reproduce:
1. Get to SHN Subscription section of install for RHEV/CF
2. Choose disconnected mode
3. Upload the attached manifest zip file

Actual results:
Nothing happens on the UI. Javascript console shows 500 Error


Expected results:
Manifest uploads and is verified by the UI


Additional info:
See foreman log: https://gist.github.com/anonymous/56af1716e5d7ce778821

Comment 1 John Matthews 2016-02-10 19:46:30 UTC
Was related to a manifest uploaded that lacked RHCI subscriptions.

Comment 2 Jesus M. Rodriguez 2016-02-10 19:52:05 UTC
The ultimate cause was an entitlement that had no branding field. We were logging some debug information including the branding field even though we don't use it in the application. I fixed it by removing the offending debug statement.

https://github.com/fusor/fusor/pull/677

Comment 4 Tasos Papaioannou 2016-03-23 18:43:03 UTC
Verified on QCI-1.0-RHEL-7-20160321.t.1.

Comment 10 errata-xmlrpc 2016-09-13 16:26:16 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/RHEA-2016:1862


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