Project

General

Profile

Actions

Bug #9887

closed

activation key - create: "Loading...." hangs on UI due to 404/elasticsearch error

Added by Walden Raines about 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1204929
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:

Actions #1

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 68
  • Pull request https://github.com/Katello/katello/pull/5135 added
  • Pull request deleted ()
Actions #2

Updated by Walden Raines about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms about 9 years ago

  • translation missing: en.field_release set to 23
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF