Title: Re: bittorrent deployment doesn't work
Hi Erich:
 
Since you used network repository for distro RPMs, you must have pulled the newer version of BitTorrent (4.4.0) from Fedora Extras.  I yum updated bittorrent and ran into the same issue.  The stock bittorent that is shipped with OSCAR (4.2.2) did not have this problem.
 
Andrea is right though, there appears to be some issues with BitTorrent 4.4.0 with python-twisted installed.  bittorrent-tracker has an option --twisted which by default autodetects whether python-twisted is installed, if so, use it:

--twisted <arg>
          Use Twisted network libraries for network connections. 1 means use
          twisted, 0 means do not use twisted, -1 means autodetect, and prefer
          twisted (defaults to -1)
 
To work around this problem, edit /etc/init.d/systemimager-server-bittorrent and add "--twisted 0" in line 62.
 
I will check this into SystemImager trunk, and will propagate this into OSCAR at a later point.
 
I've create a ticket on this just so we don't forget:

http://svn.oscar.openclustergroup.org/trac/oscar/ticket/197
 
Please test the bittorrent transport and let us know if you were able to find any other issues ;-)
 
Thanks,
 
Bernard


From: Andrea Righi [mailto:[EMAIL PROTECTED]
Sent: Wed 05/07/2006 15:05
To: [EMAIL PROTECTED]
Cc: [email protected]; Bernard Li
Subject: Re: bittorrent deployment doesn't work

Erich,

it seems the errors are related to python-twisted package (an
event-driven network api AFAIK, but I dunno details about this
technology...).

Anyway could you try to uninstall the package (don't remember the exact
rpm in fc5) and re-run systemimager-server-bittorrent again?

Cheers,
-Andrea

Erich Focht wrote:
> Hi,
>
> I'm trying the OSCAR5 trunk on fc5-x86_64 and the client isn't able to get the
> boel_binaries from the master.
>
> On the master the /var/log/systemimager/bittorrent-tracker.log is full of
> messages like below:
>
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/BitTorrent/RawServer_twisted.py", line 418, in _make_wrapped_call
>     function(*args)
>   File "/usr/lib/python2.4/site-packages/BitTorrent/HTTPHandler.py", line 187, in data_came_in
>     if not c.data_came_in(data) and not c.closed:
>   File "/usr/lib/python2.4/site-packages/BitTorrent/HTTPHandler.py", line 52, in data_came_in
>     self.next_func = self.next_func(val)
>   File "/usr/lib/python2.4/site-packages/BitTorrent/HTTPHandler.py", line 96, in read_header
>     r = self.handler.getfunc(self, self.path, self.headers)
>   File "/usr/lib/python2.4/site-packages/BitTorrent/track.py", line 735, in get
>     rsize = self.add_data(infohash, event, ip, paramslist)
>   File "/usr/lib/python2.4/site-packages/BitTorrent/track.py", line 563, in add_data
>     NatCheck(self.connectback_result,infohash,myid,ip1,port,self.rawserver)
>   File "/usr/lib/python2.4/site-packages/BitTorrent/NatCheck.py", line 33, in __init__
>     rawserver.async_start_connection((ip, port), self)
>   File "/usr/lib/python2.4/site-packages/BitTorrent/RawServer_twisted.py", line 724, in async_start_connection
>     if (len(self.pending_sockets) >= self.config['max_incomplete'] and
> KeyError: 'max_incomplete'
>
>
> Any idea what could be wrong?
>
> What I see running on the master is: bittorrent-tracker and
> launchmany-console. Torrent files are there, too.
>
> Regards,
> Erich
>
>

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to