Bug 701314

Summary: UI times out during long import
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: Core UIAssignee: John Mazzitelli <mazz>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: urgent    
Version: 4.0.0CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-02 07:14:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 678340, 703268    

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.