Bug 1489382
Summary: | Ajax requests taking too much time to resume | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Djebran Lezzoum <dlezzoum> |
Component: | Provisioning Templates | Assignee: | Ivan Necas <inecas> |
Status: | CLOSED ERRATA | QA Contact: | Roman Plevka <rplevka> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.0 | CC: | bbuckingham, dlezzoum, egolov, inecas, mhulan, oshtaier, rplevka, sgraessl, sjagtap, tbrisker |
Target Milestone: | Unspecified | Keywords: | AutomationBlocker, Regression, Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | foreman-1.15.6.9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 17:05:28 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Comment 4
Ivan Necas
2017-09-11 11:14:37 UTC
after discussing and looking into the issue together with Ivan, we found out the following: for provisioning templates: - submitting the new Provisioning template dialog issues a POST request to /provisioning_templates as expected, however it also issues 2 mysterious GET requests to: https://<fqdn>/hosts/preview_host_collection?scope=ProvisioningTemplate - these seem to also finish successfully (200), however, the jQuery.active count gets decremented just by 1 (instead of 2). - from this point, Every other request to /provisioning_templates/new page issues +1 request to /preview_host_collection (in 2nd occurrence there are now 3 such requests). The change that seemed to introduce this issue is here https://github.com/theforeman/foreman/pull/4213. Since it's not a performance issue, but rather a UI thing, I'm changing the component to provisioning templates. Created redmine issue http://projects.theforeman.org/issues/21112 from this bug Upstream bug assigned to inecas Upstream bug assigned to inecas Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21112 has been resolved. VERIFIED since sat6.3.0-25 the affected test in the automation are now unblocked and pass. tests.foreman.ui.test_partitiontable::PartitionTableTestCase tests.foreman.ui.test_template::TemplateTestCase 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:0336 |