[Pacemaker] pcs and lsb resource

David Vossel dvossel at redhat.com
Fri Mar 21 19:59:27 UTC 2014


----- Original Message -----
> From: "Dori Seliskar" <dori at delo.si>
> To: pacemaker at oss.clusterlabs.org
> Sent: Friday, March 21, 2014 7:46:37 AM
> Subject: [Pacemaker] pcs and lsb resource
> 
> Hi all,
> 
> I'm trying to create a lsb resource with pcs on fedora 20 and I'm failing
> miserably every time: (have sucessfully created ocf resources though)
> 
> # pcs resource create impulz_dosemu lsb:impulz op stop interval=0 timeout=60s
> monitor interval=60s timeout=5s start interval=0 timeout=60s
> Error: Unable to create resource 'lsb:impulz', it is not installed on this
> system (use --force to override)

This could be a pcs bug. If using --force works, this is definitely a pcs bug.  pcs is supposed to be looking through /etc/init.d/* on the local machine for valid lsb scripts before applying a lsb resource into the cluster config. Maybe it isn't matching right in the f20 pcs package. 

-- Vossel

> 
> Manually starting/stoping resource from /etc/init.d works just fine and I
> tested the script for compatibility against
> http://www.linux-ha.org/wiki/LSB_Resource_Agents
> 
> What am I missing here ?
> 
> Thanks!
> 
> Best regards,
> dori
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 




More information about the Pacemaker mailing list