Re: [dvd::rip] cluster nodes offline - help!
|
Subject: |
Re: [dvd::rip] cluster nodes offline - help! |
|
From: |
"Neill Mitchell" <mitchell_neill@xxxxxxxxxxx> |
|
Date: |
Wed, 02 May 2007 09:00:24 +0000 |
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 <joern@xxxxxx>
To: dvdrip-users@xxxxxxxxx
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
<dvdrip-users@xxxxxxxxx>; 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: dvdrip-users@xxxxxxxxx
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:dvdrip-users-request@xxxxxxxxx?subject=unsubscribe>
List-Post: <mailto:dvdrip-users@xxxxxxxxx>
List-Help: <mailto:dvdrip-users-request@xxxxxxxxx?subject=help>
List-Subscribe:
<http://lists.exit1.org/mailman/listinfo/dvdrip-users>,<mailto:dvdrip-users-request@xxxxxxxxx?subject=subscribe>
Errors-To: dvdrip-users-bounces@xxxxxxxxx
Return-Path: dvdrip-users-bounces@xxxxxxxxx
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
|
|