Re: cluster nodes offline - help!

"Neill Mitchell" <[email protected]>
Newsgroups gmane.comp.video.dvdrip.user
Message-ID <[email protected]>
Oh, this is really simple. The prerequisite tests in check_prerequisites 
function correctly point to /bin/fping (where Mandriva Linux puts it). 
However, when the fping command is set on line 192 it has the path as 
/usr/sbin. A compilation bug? If I change it to /bin/fping it all then fires 
up correctly.

Cheers
Neill.


>From: "Neill Mitchell" <[email protected]>
>To: [email protected], [email protected]
>Subject: Re: [dvd::rip] cluster nodes offline - help!
>Date: Wed, 02 May 2007 09:00:24 +0000
>MIME-Version: 1.0
>X-Originating-IP: [198.152.70.2]
>X-Originating-Email: [[email protected]]
>X-Sender: [email protected]
>Received: from fries.zyn.de ([213.239.207.57]) by 
>bay0-mc6-f22.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Wed, 2 
>May 2007 02:04:41 -0700
>Received: from fries.zyn.de (localhost.localdomain [127.0.0.1])by 
>fries.zyn.de (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id 
>l4290lDD021597;Wed, 2 May 2007 11:00:58 +0200
>Received: from bay0-omc3-s22.bay0.hotmail.com 
>(bay0-omc3-s22.bay0.hotmail.com[65.54.246.222])by fries.zyn.de 
>(8.13.4/8.13.4/Debian-3sarge3) with ESMTP idl4290ZVu021569for 
><[email protected]>; Wed, 2 May 2007 11:00:36 +0200
>Received: from hotmail.com ([65.54.174.39]) by 
>bay0-omc3-s22.bay0.hotmail.comwith Microsoft SMTPSVC(6.0.3790.2668); Wed, 2 
>May 2007 02:00:29 -0700
>Received: from mail pickup service by hotmail.com with Microsoft 
>SMTPSVC;Wed, 2 May 2007 02:00:29 -0700
>Received: from 65.54.174.200 by by103fd.bay103.hotmail.msn.com with 
>HTTP;Wed, 02 May 2007 09:00:24 GMT
>X-Message-Info: 
>LsUYwwHHNt2QL3aULQK5NzpSZxd8Nj/95ZeALBQqvLNy0IybopuBvXn1CYKLVDZS
>X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on fries.zyn.de
>X-Spam-Level: **
>X-Spam-Status: No, score=2.6 required=5.0 
>tests=MSGID_FROM_MTA_HEADER,URIBL_OB_SURBL autolearn=disabled version=3.1.8
>X-OriginalArrivalTime: 02 May 2007 09:00:29.0237 
>(UTC)FILETIME=[55009E50:01C78C98]
>X-Mail-Checks: sa wwmf block (fries)
>X-WWMF-Version: 3.2.20070423.2@fries
>X-Mail-Blocker-Flag: YES
>X-BeenThere: [email protected]
>X-Mailman-Version: 2.1.5
>Precedence: list
>List-Id: "dvd::rip User Mailing List" <dvdrip-users.exit1.org>
>List-Unsubscribe: 
><http://lists.exit1.org/mailman/listinfo/dvdrip-users>,<mailto:[email protected]?subject=unsubscribe>
>List-Post: <mailto:[email protected]>
>List-Help: <mailto:[email protected]?subject=help>
>List-Subscribe: 
><http://lists.exit1.org/mailman/listinfo/dvdrip-users>,<mailto:[email protected]?subject=subscribe>
>Errors-To: [email protected]
>Return-Path: [email protected]
>
>Hi there.
>
>I have modified the Master.pm code to log the command and response to the 
>fping. Command is $command on line 198 and Buffer is $buffer that gets 
>populated by line 201 (version 0.98.6).
>This is what gets logged:
>Wed May  2 09:50:37 2007 [1] Command '/usr/sbin/fping node2 node3 node5 '
>Wed May  2 09:50:37 2007 [1] Buffer 'EXEC_FLOW_JOB_PID=985
>
>'
>Wed May  2 09:50:37 2007 [1] Warning: Node 'node2' possibly offline
>Wed May  2 09:50:37 2007 [1] Warning: Node 'node3' possibly offline
>Wed May  2 09:50:37 2007 [1] Warning: Node 'node5' possibly offline
>Wed May  2 09:50:42 2007 [1] Command '/usr/sbin/fping node2 node3 node5 '
>Wed May  2 09:50:42 2007 [1] Buffer 'EXEC_FLOW_JOB_PID=986
>
>'
>Wed May  2 09:50:42 2007 [1] Warning: Node 'node2' is unreachable
>Wed May  2 09:50:42 2007 [1] Warning: Node 'node3' is unreachable
>Wed May  2 09:50:42 2007 [1] Warning: Node 'node5' is unreachable
>
>It looks like the return from fping is not getting captured correctly. The 
>string compare then obviously fails and so the nodes are flagged as 
>offline.
>For now I have modified the code to populate the buffer with a hard wired 
>alive response from fping. It's a cheat, but cluster projects then run fine 
>as long as the nodes are all up.
>
>Cheers
>Neill.
>
>
>>From: Jörn Reder <[email protected]>
>>To: [email protected]
>>Subject: Re: [dvd::rip] cluster nodes offline - help!
>>Date: Mon, 30 Apr 2007 23:18:43 +0200
>>MIME-Version: 1.0
>>Received: from fries.zyn.de ([213.239.207.57]) by 
>>bay0-mc9-f3.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Mon, 
>>30 Apr 2007 14:21:54 -0700
>>Received: from fries.zyn.de (localhost.localdomain [127.0.0.1])by 
>>fries.zyn.de (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id 
>>l3ULIjeM002283;Mon, 30 Apr 2007 23:18:49 +0200
>>Received: from wizard.castle (xdsl-87-79-247-225.netcologne.de 
>>[87.79.247.225])(authenticated bits=0)by fries.zyn.de 
>>(8.13.4/8.13.4/Debian-3sarge3) with ESMTP idl3ULIhxh002267for 
>><[email protected]>; Mon, 30 Apr 2007 23:18:44 +0200
>>X-Message-Info: 
>>LsUYwwHHNt3ReQnbWag63DSyy4gum9fvu8++FGzG9KP4Sg0jqgNF+pxLW9TdCLuZ
>>X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on fries.zyn.de
>>X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 
>>tests=ALL_TRUSTED,X_MAILER_SPAMautolearn=disabled version=3.1.8
>>X-Mailer: -
>>X-Mail-Checks: sa wwmf block (fries)
>>X-WWMF-Version: 3.2.20070423.2@fries
>>X-Mail-Blocker-Flag: YES
>>X-BeenThere: [email protected]
>>X-Mailman-Version: 2.1.5
>>Precedence: list
>>List-Id: "dvd::rip User Mailing List" <dvdrip-users.exit1.org>
>>List-Unsubscribe: 
>><http://lists.exit1.org/mailman/listinfo/dvdrip-users>,<mailto:[email protected]?subject=unsubscribe>
>>List-Post: <mailto:[email protected]>
>>List-Help: <mailto:[email protected]?subject=help>
>>List-Subscribe: 
>><http://lists.exit1.org/mailman/listinfo/dvdrip-users>,<mailto:[email protected]?subject=subscribe>
>>Errors-To: [email protected]
>>Return-Path: [email protected]
>>X-OriginalArrivalTime: 30 Apr 2007 21:21:55.0040 (UTC) 
>>FILETIME=[93C7F600:01C78B6D]
>>
>>"Neill Mitchell" wrote:
>>
>> > I have upgraded the master machine to 0.98.6. I only have one master
>> > machine. All transcode dependencies are present on the other 3 nodes.
>> > Running fping manually from the console returns that all nodes are 
>>alive.
>> > The dvdrip cluster console is still showing them all as offline though. 
>>Only
>> > the master machine is showing as idle. All nodes pass the SSH 
>>connection,
>> > Data Directory, Write access and Program version tests.
>> > I have tried everything I can think of now. It's getting very 
>>depressing.
>> > I have attached the output from dvdrip-master. You can see me doing the
>> > tests.
>>
>>Please apply the attached patch and start dvdrip-master with loglevel 4
>>
>>   dvdrip-master 4
>>
>>and post the log output here.
>>
>>Regards,
>>
>>Jörn
>>
>>--
>>$a=$a[8][67][9][0][42][214][82][78][0][50][69][68][69][82][0][73][78][0]
>>[65][0][20][16][0][68][73][77][69][78][83][73][79][78][65][76][0][65][82
>>][82][65][89]=sub{sub _($){print$_[@z]}($z,$i)=@_;(++$i)while!$z->[$i];$
>>s+=$i;_ chr($i+32);$s!=2292&&&$a($z->[$i],$c>>$e)};&$a(\@a,$d<<$f);_"\n"
>
>
>>Index: lib/Video/DVDRip/Cluster/Master.pm
>>===================================================================
>>RCS file: /home/cvsroot/dvdrip/lib/Video/DVDRip/Cluster/Master.pm,v
>>retrieving revision 1.45.2.1
>>diff -u -r1.45.2.1 Master.pm
>>--- lib/Video/DVDRip/Cluster/Master.pm	13 Apr 2007 11:17:44 -0000	1.45.2.1
>>+++ lib/Video/DVDRip/Cluster/Master.pm	30 Apr 2007 21:16:42 -0000
>>@@ -138,7 +138,7 @@
>>
>>  sub node_check_unnecessary {
>>      my $self = shift;
>>-
>>+    return;
>>      return if $self->rpc_server->get_clients_connected;
>>      return if @{ $self->job_get_unfinished_projects };
>>      return 1;
>>@@ -198,6 +198,7 @@
>>          command      => $command,
>>          no_log       => 1,
>>          cb_line_read => sub {
>>+            $self->log(4, "fping: $_[0]");
>>              $buffer .= $_[0] . "\n";
>>              1;
>>          },
>
>_________________________________________________________________
>Could you be the guest MSN Movies presenter? Click Here to Audition 
>http://www.lightscameraaudition.co.uk
>

_________________________________________________________________
Txt a lot? Get Messenger FREE on your mobile.  
https://livemessenger.mobile.uk.msn.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.