Bug #9887
closedactivation key - create: "Loading...." hangs on UI due to 404/elasticsearch error
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:
Updated by The Foreman Bot almost 10 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 (
)
Updated by Walden Raines almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|a15d5098b0252eaeed3bc4a8c59ede2177f61593.
Updated by Eric Helms almost 10 years ago
- Translation missing: en.field_release set to 23
- Triaged changed from No to Yes