Bug 1243536

Summary: manifest import messages no longer displayed in UI
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: Subscription ManagementAssignee: Adam Price <adprice>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.4CC: adahms, bbuckingham, bkearney, cwelton, jsherril, lpramuk, mmccune, pmutha, rjain, sthirugn, tomckay, xdmoon
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/11125
Whiteboard:
Fixed In Version: rubygem-katello-3.0.0.44-1 Doc Type: Bug Fix
Doc Text:
This update resolves an issue that prevented the web user interface from displaying error messages when a manifest import error occured.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:01:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1115190    

Description Tom McKay 2015-07-15 17:13:45 UTC
Importing a manifest should display the candlepin message on error. Simply displaying "Error importing manifest." is not helpful.

This is a regression from SAM.

Comment 1 Tom McKay 2015-07-15 17:13:46 UTC
Created from redmine issue http://projects.theforeman.org/issues/11125

Comment 2 Tom McKay 2015-07-15 17:13:49 UTC
Upstream bug assigned to tomckay

Comment 4 Brad Buckingham 2015-07-16 17:16:00 UTC
User should be able to get details related to the error either from the manifest task (e.g. Monitor -> Tasks) or the Satellite log (/var/log/foreman/production.log).

Comment 5 Bryan Kearney 2015-08-25 18:36:07 UTC
Upstream bug component is Subscription Management

Comment 12 Brad Buckingham 2016-04-21 14:59:28 UTC
WORKAROUND: If the result of importing a manifest is an error similar to 'Error importing manifest.', the following may be done to obtain more details:

- View the ManifestImport task from Monitor->Tasks in the UI
- View the /var/log/foreman/production.log.  The manifest import is initiated by the following request: "SubscriptionsController#upload"

Comment 13 Bryan Kearney 2016-05-26 22:09:16 UTC
Upstream bug assigned to tomckay

Comment 14 Bryan Kearney 2016-05-26 22:09:19 UTC
Upstream bug assigned to tomckay

Comment 15 Bryan Kearney 2016-06-03 20:08:08 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/11125 has been closed

Comment 17 Tom McKay 2016-06-20 11:57:53 UTC
To test, 1) download a manifest, 2) add/remove sub in portal to same manifest, 3) download manifest again, 4) import manifest from step 3, 5) import manifest from step 1, 6) note error displayed in UI after step 5

Comment 19 Bryan Kearney 2016-07-27 11:01:32 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:1501