Bug 633885 - xmlrpc calls from the scheduler can hang
Summary: xmlrpc calls from the scheduler can hang
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Raymond Mancy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 632609
TreeView+ depends on / blocked
 
Reported: 2010-09-14 15:27 UTC by Bill Peck
Modified: 2019-05-22 13:34 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-09-30 04:57:08 UTC
Embargoed:


Attachments (Terms of Use)
timeout xmlrpc class (908 bytes, application/octet-stream)
2010-09-14 15:27 UTC, Bill Peck
no flags Details

Description Bill Peck 2010-09-14 15:27:56 UTC
Created attachment 447248 [details]
timeout xmlrpc class

Description of problem:

I'm pretty sure that when making xmlrpc calls from python it does not implement a time out.  If the connection can't be initiated it looks like it does the right thing but if a connection is already established and then the remote side goes away it does not seem to ever time out.

I have some code from legacy rhts which replaces xmlrpclib with a timeout version.

# xmlrpclib doesn't support timeouts
#import xmlrpclib
import bkr.timeout_xmlrpclib as xmlrpclib

Comment 1 Bill Peck 2010-09-14 20:48:21 UTC
Code is in git branch bz633885.


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