Bug 701314 - UI times out during long import
Summary: UI times out during long import
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.0.0
Hardware: All
OS: All
Target Milestone: ---
: ---
Assignee: John Mazzitelli
QA Contact: Mike Foley
Depends On:
Blocks: jon3 rhq401
TreeView+ depends on / blocked
Reported: 2011-05-02 14:57 UTC by John Mazzitelli
Modified: 2013-09-02 07:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-09-02 07:14:34 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 696753 0 urgent CLOSED Ignoring resources fails 2021-02-22 00:41:40 UTC

Internal Links: 696753

Description John Mazzitelli 2011-05-02 14:57:18 UTC
If you go to the auto-discovery queue page, and import a large amount of resources that take longer than 10 seconds to complete the commit to inventory, the UI will display a red "timeout" error message.

The import goes through successfully (assuming no real problems occur), but the UI just doesn't wait long enough.

As a simple solution, we have to add a timeout parameter and use it in the GWT client for the API that commits resources to inventory.

Comment 1 John Mazzitelli 2011-05-03 18:48:36 UTC
master commit 8534967

this commit bumps up the timeout to 1 minute. In addition, if that still isn't enough, we'll log a warning message that tells the user about the timeout but that the server is still processing the request.

hard to test this - I guess just import lots of resources in the discovery queue and see that you don't get a timeout (which used to be 10s - so if your request is over 10s and completes successfully, OR you get a yellow warning message, this issue is fixed)

Comment 2 Charles Crouch 2011-05-09 20:17:19 UTC
Added for triage for RHQ4.0.1

Comment 3 John Mazzitelli 2011-05-10 16:28:36 UTC
cherry picked over to release-4.0.0 branch as commit: 9b953bd567a507e890c7ee2688c1e9c803cee88e

Comment 4 Mike Foley 2011-05-12 12:35:00 UTC
verified RHQ 4.0.1 by importing resources, the basic positive use-case.  i am comfortable with bumping up an existing timeout value as low risk change.

Comment 5 Heiko W. Rupp 2013-09-02 07:14:34 UTC
Bulk closing of issues that were VERIFIED, had no target release and where the status changed more than a year ago.

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