Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 155393

Summary: RFE: option to disable ARP checking on connections
Product: [Retired] Red Hat Cluster Suite Reporter: Lon Hohberger <lhh>
Component: clumanagerAssignee: Lon Hohberger <lhh>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: bfox, ckloiber, cluster-maint, jbacik, kanderso, peggy.proffitt, rkenna
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2005-676 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-30 14:56:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
Patch which kills ARP checking
none
Corrected patch: Kill ARP table checking
none
Patch fully implementing RFE.
none
rebuilt clumanager package none

Description Lon Hohberger 2005-04-19 21:40:12 UTC
Description of problem:

In some cases where a node's network configuration is incorrect or configured in
such a way that ARP request and/or information is blocked, clumanager won't
converge on a view of membership.

Problems which have been reported around the cluster not "converging" even
though they "see" each other are difficult to track down.

With sufficient tinkering, it's possible to get the cluster working.  However,
in some cases, it may be desirable to disable the ARP checks to get the cluster
up and running, saving the network configuration problem(s) for later.

Furthermore, the ARP check presumes that the user is using an ethernet network,
which has never, to my knowledge, been a stated requirement of RHCS.

Comment 2 Lon Hohberger 2005-05-25 16:42:16 UTC
Created attachment 114843 [details]
Patch which kills ARP checking

Comment 3 Lon Hohberger 2005-05-25 16:48:01 UTC
Created attachment 114845 [details]
Corrected patch: Kill ARP table checking

Comment 4 Lon Hohberger 2005-05-25 16:54:57 UTC
The introduction of this patch will have a couple of outcomes:

(a) Incorrectly configured service IPs which take over the default route due to
incorrect subnet masks will make the cluster cease to function.  Ex: Main
cluster IP is 192.168.0.1/24 and we add 192.168.0.2/16 as a service IP, bringing
up that service IP will kill the cluster node's traffic.  In part, this case was
what why we added the ARP check in the first place: so a misconfiguration didn't
cause a node outage.

(b) Incorrectly configured network stuff will mysteriously start working again.
 The "Denied connect from Foo, not in subnet" messages will go away.


Comment 5 Brent Fox 2005-05-25 20:39:10 UTC
Lon, that patch works fine.  I rebuilt clumanager-1.2.26.1 with the ARP patch,
and it fixes the network tiebreaker bug as well.  What we need now is an
official hotfix package that we can support.  

Comment 6 Lon Hohberger 2005-05-25 21:09:22 UTC
Adding PM for further evaluation.

Comment 10 Lon Hohberger 2005-06-07 16:34:38 UTC
Downgrading to  initscripts-7.31.9.EL-1 also seems to fix this problem; there's
a possible regression in the initscripts code which apparently causes problems
with bonded routing.  We're still evaluating this.

Comment 15 Lon Hohberger 2005-06-17 18:55:04 UTC
I'm going to add the option to toggle this -- just in case we don't have a fix
for the initscripts package any time soon.  The change is low impact.

Comment 16 Lon Hohberger 2005-06-17 19:24:07 UTC
Created attachment 115636 [details]
Patch fully implementing RFE.

This adds a configuration key:

      cluster%msgsvc_noarp

When set to "yes" or "1", the cluster software will not use its internal ARP
table to validate new connections (nor will it ask the kernel for any ARP
information).  This should quash "not in subnet" messages regardless of the
version of initscripts installed.

Comment 22 Brent Fox 2005-06-24 14:25:06 UTC
Created attachment 115934 [details]
rebuilt clumanager package

Attaching a rebuild clumanager with this patch.  

Note: this version is for testing the noarp patch only.  It is NOT intended for
production systems at this point.

Comment 24 Brent Fox 2005-06-24 19:52:14 UTC
Lon, can you explain more about in what file the user is supposed to set the
"cluster%msgsvc_noarp" configuration key?  

Comment 25 Lon Hohberger 2005-06-24 20:02:31 UTC
Yes, the patch should have edited "man cludb"

To block arp checking:

cludb -p cluster%msgsvc_noarp 1
cludb -p cluster%msgsvc_noarp yes

To re-enable it:

cludb -p cluster%msgsvc_noarp 0
cludb -p cluster%msgsvc_noarp no





Comment 26 Lon Hohberger 2005-06-24 20:05:05 UTC
Sorry - to be clear: you only have to do one of the above two things to change it.

e.g. "1" is the same as "yes", "0" is the same as "no"


Comment 39 Lon Hohberger 2005-07-11 22:00:54 UTC
I'm worried that this conflicts with another problem that Chris Kloiber saw.

Is there any way we can have the customer(s) run "clurgmgrd -fd" and get the
output up to the point where it says "Cluster I/F: xxxxxx" ?



Comment 41 Lon Hohberger 2005-07-15 14:27:17 UTC
1.2.27pre1-1 is available from:

http://people.redhat.com/lhh/packages.html

It should address this issue.  This package should be used for testing only.

Comment 50 Red Hat Bugzilla 2005-09-30 14:56:19 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-676.html