Bug 621460

Summary: Add RPC timeout and repeat
Product: [Retired] Beaker Reporter: Marian Csontos <mcsontos>
Component: beahAssignee: Marian Csontos <mcsontos>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 0.5CC: bpeck, kbaker, mcsontos, rmancy
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 06:03:12 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:
Attachments:
Description Flags
proposed patch none

Description Marian Csontos 2010-08-05 06:38:22 UTC
Under high load LC/Scheduler has long response time (30-90 seconds, even more).

Implement RPC timeout and delay.

Comment 1 Marian Csontos 2010-08-09 07:14:35 UTC
Created attachment 437530 [details]
proposed patch

This adds increasing timeout to RPC. When the call's time expires it is repeated after delay.

The delay is increasing after failures and decreasing after pass which relieves the stress on server when overloaded, while not causing too big slowdown on minor hick-ups.

See repeatingproxy.py

The patch tested on beaker with Tier1 tests: see J:11070, J:11080 and J:11084.

Comment 2 Marian Csontos 2010-08-10 10:01:36 UTC
beah-0.6.12-1 to be delivered tomorrow was built.