Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1596883 - UI fails silently when uploading manifests produces warnings/errors
Summary: UI fails silently when uploading manifests produces warnings/errors
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.4.0
Assignee: Tomas Strachota
QA Contact: jcallaha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-29 22:58 UTC by Corey Welton
Modified: 2019-11-05 23:26 UTC (History)
4 users (show)

Fixed In Version: rubygem-katello-3.7.0-1,tfm-rubygem-katello-3.7.0.7-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-16 18:56:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
verification video (953.04 KB, application/octet-stream)
2018-07-30 17:22 UTC, jcallaha
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 23063 0 None None None 2018-07-12 15:29:48 UTC

Description Corey Welton 2018-06-29 22:58:37 UTC
Description of problem:
When a user encounters a warning/error uploading a manifest, there appears to be no validation bubbling up to the UI. The only clue that "something went wrong" is that the user is taken immediately back to the Subscriptions page, and warnings in Monitor > Tasks

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

How reproducible:


Steps to Reproduce:

Do something which would trigger a validation error. Below is an example.
1. Create two orgs "Org A" and "Org B".
2. Switch to Org A
3. Go to Content > Subscriptions > Manage Manifest
4. Upload a manifest.
5. Switch to Org B
6. Attempt to upload the same manifest used in Org A.
 
Actual results:

User is silently taken back to Subscriptions page. No error messages, but no manifest upload status bar appears.

If user navigates to Monitor > Tasks, they will see the warning about bad manifest. This needs more visibility.

Expected results:
Errors bubble up to UI

Additional info:
Surely there are other things which can trigger this, but nothing else has been explored. It would be quite worthwhile for dev to try out a number of different permutations while fixing, and for QE to write up test cases.

Comment 2 Tomas Strachota 2018-07-02 12:07:15 UTC
Created redmine issue https://projects.theforeman.org/issues/24127 from this bug

Comment 3 Tomas Strachota 2018-07-02 12:19:43 UTC
Note that it's not 100% reproducible. It happens only when the import task finishes before the UI polls for a running tasks. If the import task is fast enough to complete in this gap, UI doesn't show any toast notification. If it catches the task, a toast warning is shown normally.

There's a message in the notification drawer reporting an error that appears with some delay eventually. Only toast notifications are affected.

Comment 4 Satellite Program 2018-07-17 18:08:30 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/23063 has been resolved.

Comment 6 jcallaha 2018-07-30 17:22:05 UTC
Verified in Satellite 6.4 Snap 14.

I followed the reproduction steps outlined in the initial report.

Upon trying to import the manifest in the second organization, a notification pops up letting me know that the upload failed. In that notification is a link to the task that elaborates on the cause.

See attached webm for verification video.

Comment 7 jcallaha 2018-07-30 17:22:27 UTC
Created attachment 1471599 [details]
verification video

Comment 8 Bryan Kearney 2018-10-16 18:56:40 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-2018:2927


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