From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32007 invoked by alias); 3 Apr 2009 02:37:30 -0000 Received: (qmail 31864 invoked by alias); 3 Apr 2009 02:37:29 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion.fedora.phx.redhat.com Subject: cluster: RHEL5 - rgmanager: Fix bug in check_rdomain_crash To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/RHEL5 X-Git-Reftype: branch X-Git-Oldrev: e69fc02b504cbd75b9d67ee0cecdbd84a61832ad X-Git-Newrev: 587a851e9b8d13e36c17b44b607d1b7fdd2e4840 From: Lon Hohberger Message-Id: <20090403023708.81F661201D9@lists.fedorahosted.org> Date: Fri, 03 Apr 2009 02:37:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00010.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=587a851e9b8d13e36c17b44b607d1b7fdd2e4840 Commit: 587a851e9b8d13e36c17b44b607d1b7fdd2e4840 Parent: e69fc02b504cbd75b9d67ee0cecdbd84a61832ad Author: Lon Hohberger AuthorDate: Thu Apr 2 22:34:53 2009 -0400 Committer: Lon Hohberger CommitterDate: Thu Apr 2 22:35:25 2009 -0400 rgmanager: Fix bug in check_rdomain_crash This could cause erroneous log messages if a restricted failover domain has not gone offline. Signed-off-by: Lon Hohberger --- rgmanager/src/daemons/groups.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/rgmanager/src/daemons/groups.c b/rgmanager/src/daemons/groups.c index e02a3dc..6d2ce38 100644 --- a/rgmanager/src/daemons/groups.c +++ b/rgmanager/src/daemons/groups.c @@ -438,6 +438,8 @@ check_rdomain_crash(char *svcName) if (_group_property(svcName, "domain", fd_name, sizeof(fd_name)) != 0) goto out_free; + member_online_set(&nodes, &nodecount); + if (node_domain_set(&_domains, fd_name, &fd_nodes, &fd_nodecount, &fl) != 0) goto out_free;