On Fri, May 25, 2012 at 10:46:10AM +1000, Andrew Beekhof wrote: > On Fri, May 25, 2012 at 10:39 AM, Tracy Reed <[email protected]> wrote: > > On Fri, May 25, 2012 at 02:01:18AM +0200, Lars Ellenberg spake thusly: > >> Something is broken with your IPaddr2 script. > >> Relevant package would be resource-agents. > >> > >> I suggest you simply > >> wget > >> https://raw.github.com/ClusterLabs/resource-agents/master/heartbeat/IPaddr2 > >> and pastebin > >> diff -u /usr/lib/ocf/resource.d//heartbeat/IPaddr2 ./IPaddr2 > > > > I did the diff and pasted it here: > > > > http://pastebin.ca/2153805 > > > > It looks like RedHat has done some patching which makes the diff ugly. > > I really doubt we've patched it at all. There is no reason for them > to do so yet. > More likely its just an older version that upstream has further > polished since we grabbed a tarball.
Right. That's why I also expected you to post your resoruce-agents *version* ;-) In fact I suspect it is the HEAD of the RHEL6 branch https://raw.github.com/ClusterLabs/resource-agents/RHEL6/heartbeat/IPaddr2 > > But I > > don't see any obvious typos or corruption. > > > >> Or replace yours with the current one. > > > > I would hesitate to do that given that RH has patched it. Other RH > > provided/patched code might depend on their patches to IPAddr2. I very much doubt that, as that would break each and every script out there some admin may have crafted over the years... Just try it. If it works better, great. If not, copy back the old one that is currently annying you ;-) > >> Maybe just upgrade resource-agents? > >> > >> Though, if the script is broken in that way (syntax error), > >> it should never work, and not even start, usually. > > > > Indeed. My theory is that line 332 which contains: > > > > exit $OCF_ERR_CONFIGURED > > > > which is an unquoted variable and maybe something weird got into that > > variable > > which caused a syntax error. I don't think so. > > I'm not sure which esac the error refers to > > though. Me neither. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
