Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1204929 - activation key - create: "Loading...." hangs on UI due to 404/elasticsearch error
activation key - create: "Loading...." hangs on UI due to 404/elasticsearch ...
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Content Management (Show other bugs)
Unspecified
Unspecified Unspecified
unspecified Severity high (vote)
: 6.1.3
: Unused
Assigned To: Walden Raines
jcallaha
http://projects.theforeman.org/issues...
: Reopened, Triaged
: 1252150 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-23 15:10 EDT by Corey Welton
Modified: 2017-02-23 15:15 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-10-15 14:19: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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 9887 None None None 2016-04-22 12:01 EDT
Red Hat Product Errata RHBA-2015:1911 normal SHIPPED_LIVE Satellite 6.1.3 bug fix update 2015-10-15 18:19:19 EDT

  None (edit)
Description Corey Welton 2015-03-23 15:10:15 EDT
Description of problem:

When creating AKs, user will sporadically get a "Loading...." hang, upon submission.  This is apparently due to a resource 404.  This 404, in turn, is due to things being completed/returned too quickly for elasticsearch, which is apparently returning our ak info.


Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-7-20150317.0

How reproducible:
Sometimes!! It seems to happen every 2-3 AK creates on this box, but not every time.  On jcalla's box, we haven't seen it at all.... yet.

Steps to Reproduce:
1.  attempt to create an activation key; submit.
2.  If you do not get stuck, repeat step 1 until you do get stuck
3.  View results

Actual results:

* UI reading "Loading...." with a misplaced "environments" arrowhead

* Console in chrome reads

Remote Address:10.16.4.115:443
Request URL:https://rhsm-qe-3.rhq.lab.eng.bos.redhat.com/katello/api/v2/activation_keys/15?fields=full
Request Method:GET
Status Code:404 Not Found

* In production log:

2015-03-23 14:44:49 [I] Completed 404 Not Found in 18ms (Views: 0.3ms | ActiveRecord: 0.9ms)
2015-03-23 14:44:50 [I]   Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.26/app/views/katello/api/v2/environments/paths.json.rabl within katello/api/v2/layouts/collection (225.3ms)


Expected results:
No 404s, "Loading" page 'just works.

Additional info:
Comment 3 Corey Welton 2015-03-23 15:30:29 EDT
FWIW, according to jsherrill, this is a bz no matter what because elasticsearch shouldn't be used to return such sorts of results anymore, anyway.
Comment 6 Walden Raines 2015-03-24 11:44:56 EDT
Created redmine issue http://projects.theforeman.org/issues/9887 from this bug
Comment 7 Walden Raines 2015-03-24 12:43:55 EDT
PR: https://github.com/Katello/katello/pull/5135
Comment 8 Bryan Kearney 2015-03-25 16:05:34 EDT
Moving to POST since upstream bug http://projects.theforeman.org/issues/9887 has been closed
-------------
Walden Raines
Applied in changeset commit:katello|a15d5098b0252eaeed3bc4a8c59ede2177f61593.
Comment 9 jcallaha 2015-03-27 13:31:25 EDT
Verified by QE on version Satellite-6.1.0-RHEL-7-20150324.0
Comment 10 Bryan Kearney 2015-08-11 09:21:04 EDT
This bug is slated to be released with Satellite 6.1.
Comment 11 Bryan Kearney 2015-08-12 09:57:00 EDT
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.
Comment 12 Ivan Necas 2015-09-10 11:35:22 EDT
I don't see the change from this bug to be present in the recent satellite 6 builds and I was able to reproduce the issue. Probably cherry-pick missed in the process
Comment 13 Ivan Necas 2015-09-10 11:37:32 EDT
*** Bug 1252150 has been marked as a duplicate of this bug. ***
Comment 15 Chris Peters 2015-09-29 16:15:09 EDT
cherry-picked commit a15d5098b0252eaeed3bc4a8c59ede2177f61593
Comment 17 jcallaha 2015-10-02 15:23:58 EDT
Verified in 6.1.3 compose #2
Comment 19 errata-xmlrpc 2015-10-15 14:19: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-2015:1911

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