Re: [PATCH] Fix rgmanager + qdisk behavior problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




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.
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux