On Oct 29, 2010, at 1:16 PM, Greg Woods wrote:

> On Fri, 2010-10-29 at 12:09 +0900, Masashi Yamaguchi wrote:
> 
>> 
>> I think "ldirectord" rpm package's spec for RedHat/CentOS is inconsistent.
>> 
>> $ rpm -qp --provides ldirectord-1.0.3-2.el5.x86_64.rpm
>> config(ldirectord) =3D 1.0.3-2.el5
>> heartbeat-ldirectord
>> ldirectord =3D 1.0.3-2.el5
>> $ rpm -qp --conflicts ldirectord-1.0.3-2.el5.x86_64.rpm
>> heartbeat-ldirectord
>> $
>> 
>> "ldirectord" package PROVIDES "heartbeat-ldirectord" and
>> CONFLICTS with "heartbeat-ldirectord".
>> "ldirectord" package' spec has self-conflict.
>> 
>> This is a patch for the problem.
>> --- resource-agents.spec
>> +++ resource-agents.spec
> 
> I don't quite get this. Your patch is for resource-agents or ldirectord
> packages? I presume the idea is that you get the src rpm, extract it,
> apply the patch, and rebuild the RPM? (I haven't been able to find the
> src rpm for ldirectord).
> 
> If I understand this correctly, it looks like a bug that should be fixed
> in the clusterlabs repo. Do they have a place to officially report bugs?
> 
> I did try extracting the ldirectord script from the clusterlabs
> ldirectord package, and it segfaults, so I suspect I really have to find
> a way to install the entire package in order to use that script and get
> the heartbeat/pacemaker monitoring to work properly.
> 
> --Greg
> 
> 
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
> 

I'm actually running into this problem too. (I was able to install 
heartbeat-ldirectord from EPEL as an alternative to ldirectord from ClusterLabs 
repo and it seemed to work but I was getting lots of "no child process" errors 
in the ldirectord log so I have been trying to get the ClusterLabs version of 
ldirectord working.)

Greg, the src rpm you're looking for is "resource-agents" at 
http://www.clusterlabs.org/rpm/epel-5/src/. The ldirectord RPM is built from 
that.

I was able to apply Masashi's patch and rebuild resource-agents which produced 
an ldirectord RPM that installed without an issue. Note that you probably need 
to have the cluster-glue* RPMs installed on the machine you're attempting to 
build resource-agents on. I was getting errors about missing "sfex" files when 
I tried building resource-agents without the cluster-glue* RPMs.

After installing my rebuilt RPM things seem to be working - I'm not seeing any 
errors in the ldirectord log file. It is strange that I have 
expire_quiescent_template and expire_nodest_conn set to 1 and they don't seem 
to be taking effect when a realserver is set to weight 0 by ldirectord, but 
that's another issue :-)

-David Warden
SUNY Geneseo

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to