Hi,

On Wed, Feb 10, 2010 at 10:26:47PM +0100, tomtom wrote:
> Hi all,
> 
> i use cluster-glue 1.0.3, corosync 1.2.0, pacemaker 1.0.7 and
> ldirectord-1.0.1 with resource-agents 1.0.1
> 
> 
> But when I try to define a primitive with the RA ldirectord it
> says the resource agent does not exist:
> 
> crm(live)configure# primitive ldirector ocf:heartbeat:ldirectord \
> > params configfile="/etc/ha.d/ldirectord.cf" \
> > op monitor interval="2m" timeout="20s" \
> > meta migration-threshold="10"
> 
> ERROR: ocf:heartbeat:ldirectord: no such resource agent
> 
> But it seems all files exist
> 
> lrwxrwxrwx 1 root root     20 2010-02-10 16:11  
> /etc/ha.d/resource.d/ldirectord -> /usr/sbin/ldirectord
> lrwxrwxrwx 1 root root     22 2010-02-10 16:11 /sbin/rcldirectord ->  
> /etc/init.d/ldirectord
> -rwxr-xr-x 1 root root   8032 2010-02-10 15:38  
> /usr/lib/ocf/resource.d/heartbeat/ldirectord
> -rwxr-xr-x 1 root root 139459 2010-02-10 15:38 /usr/sbin/ldirectord
> 
> How can the RA for ldirectord been enabled?

Looks like the meta-data doesn't work for the RA always:

[1]hex-10:~ > OCF_ROOT=/usr/lib/ocf 
/usr/lib/ocf/resource.d/heartbeat/ldirectord meta-data
2010/02/11_12:55:36 WARNING: /usr/sbin/ldirectord/ldirectord.cf not found, 
ldirectord not installed

Can you please file a bugzilla for that. That error message above
should also be less misleading.

Thanks,

Dejan

> Thanks for your reply in advance.
> 
> Thomas.
> 
> ------------------------------------------------------------------
> sent via tiri messaging - based on horde/imp/dspam/amavis and more
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
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