[Pacemaker] ldirectord ocf errors

Jake Smith jsmith at argotec.com
Mon Jun 4 13:52:07 EDT 2012



----- Original Message -----
> From: "Dennis Jacobfeuerborn" <dennisml at conversis.de>
> To: pacemaker at oss.clusterlabs.org
> Sent: Monday, June 4, 2012 12:55:48 PM
> Subject: [Pacemaker] ldirectord ocf errors
> 
> Hi,
> I'm trying to get started with ldirectord on a Centos 6.2 system but
> things
> don't seem to work well at the moment.
> 
> I get the following when I try to set up a ocf:heartbeat:ldirectord
> resource:
> 
> crm(live)configure# primitive lvs ocf:heartbeat:ldirectord op monitor
> interval="20" timeout="10"
> lrmadmin[19123]: 2012/06/04_18:46:34 ERROR:
> lrm_get_rsc_type_metadata(578):
> got a return code HA_FAIL from a reply message of rmetadata with
> function
> get_ret_from_msg.
> ERROR: ocf:heartbeat:ldirectord: could not parse meta-data:
> ERROR: ocf:heartbeat:ldirectord: no such resource agent
> 
> When I call the script as
> "/usr/lib/ocf/resource.d/heartbeat/ldirectord
> meta-data" it print out an xml document which looks correct and the
> paths
> mentioned there are correct and the referenced files (config and
> binary) exist.
> 
> The log has this to say:
> Jun  4 18:51:43 pacemaker1 lrmd: [18387]: ERROR: get_resource_meta:
> pclose
> failed: Interrupted system call
> Jun  4 18:51:43 pacemaker1 lrmd: [18387]: WARN: on_msg_get_metadata:
> empty
> metadata for ocf::heartbeat::ldirectord.
> Jun  4 18:51:43 pacemaker1 lrmadmin: [19177]: ERROR:
> lrm_get_rsc_type_metadata(578): got a return code HA_FAIL from a
> reply
> message of rmetadata with function get_ret_from_msg.
> Jun  4 18:52:58 pacemaker1 cib: [18386]: info: cib_stats: Processed 3
> operations (0.00us average, 0% utilization) in the last 10min
> 
> Any ideas what the problem could be?

Did you check that the permissions on /usr/lib/ocf/resource.d/heartbeat/ldirectord look right? I believe "-rwxr-xr-x"

Jake




More information about the Pacemaker mailing list