From: Lon Hohberger <lhh@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Re: [Linux-cluster] [PATCH] Fix rgmanager + qdisk behavior problems
Date: Mon, 16 Apr 2007 10:42:18 -0400 [thread overview]
Message-ID: <20070416144218.GB28846@redhat.com> (raw)
In-Reply-To: <20070416143520.GA28846@redhat.com>
On Mon, Apr 16, 2007 at 10:35:20AM -0400, Lon Hohberger wrote:
> Thanks to Simone Gotti for pointing me at this.
>
> Rgmanager thinks qdisk is a node (with node ID 0), so it tries to send
> VF information to node 0 - which doesn't exist, causing rgmanger to not
> work when qdisk is running :(
one-liner which eliminates the problem in one shot: mark qdisk as 'down'
so rgmanager doesn't try to talk to it.
-------------- next part --------------
Index: main.c
===================================================================
RCS file: /cvs/cluster/cluster/rgmanager/src/daemons/main.c,v
retrieving revision 1.34.2.2
diff -u -r1.34.2.2 main.c
--- main.c 12 Apr 2007 17:23:05 -0000 1.34.2.2
+++ main.c 16 Apr 2007 14:41:54 -0000
@@ -199,6 +199,7 @@
cman_finish(h);
member_list_update(new_ml);
+ member_set_state(0, 0); /* Mark qdisk as dead */
/*
* Handle nodes lost. Do our local node event first.
prev parent reply other threads:[~2007-04-16 14:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-16 14:35 [Cluster-devel] [PATCH] Fix rgmanager + qdisk behavior problems Lon Hohberger
2007-04-16 14:42 ` Lon Hohberger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070416144218.GB28846@redhat.com \
--to=lhh@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.