[ClusterLabs] Fwd: stonith:external/ssh: no such resource agent

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Feb 24 07:56:15 UTC 2016


Hi,

On Thu, Feb 18, 2016 at 02:53:32PM +0300, Sergey Arlashin wrote:
> Dejan,
> 
> # cibadmin -!
> Pacemaker 1.1.13-10.el7_2.2 (Build: 44eb2dd):  generated-manpages
> agent-manpages ncurses libqb-logging libqb-ipc upstart systemd
> nagios  corosync-native atomic-attrd acls
> 
> So I assume you are right. Don't see lha-fencing :(
> Do I need to recompile the package, or may be there is a decent
> CentOS/RHEL repository where I can take a 'proper' pacemaker from?
> :)

Not sure about it. I guess that your best bet is to recompile.
Note that you also need cluster-glue for that. There are RPMs at
OBS:

http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/

Thanks,

Dejan

> Thanks.
> 
> Regards,
> Sergey
> 
> 
> 
> 
> On 18/02/16 14:45, Dejan Muhamedagic wrote:
> >Hi,
> >
> >On Wed, Feb 17, 2016 at 06:27:25PM +0300, Sergey Arlashin wrote:
> >>Hi!
> >>
> >>OS: CentOS Linux release 7.0.1406 (Core)
> >>Pacemaker: pacemaker-1.1.13-10.el7.x86_64
> >>Corosync: corosync-2.3.4-7.el7_2.1.x86_64
> >>
> >># stonith -L |grep -i external/ssh
> >>external/ssh
> >>
> >># ls -l /usr/lib64/stonith/plugins/external/ssh
> >>-rwxr-xr-x 1 root root 4459 Jan 12 12:47
> >>/usr/lib64/stonith/plugins/external/ssh
> >>
> >># rpm -qf /usr/lib64/stonith/plugins/external/ssh
> >>cluster-glue-libs-devel-1.0.12-1.17.1.x86_64
> >>
> >># rpm -qf /sbin/stonith
> >>cluster-glue-1.0.12-1.17.1.x86_64
> >>
> >>When I try to add the following primitive via crmsh:
> >>
> >>primitive st-ssh stonith:external/ssh \
> >>           params hostlist="node1 node2"
> >>
> >>I get:
> >>
> >>crm(live)configure# edit
> >>ERROR: stonith:external/ssh: got no meta-data, does this RA exist?
> >>ERROR: stonith:external/ssh: no such resource agent
> >>
> >>The same thing is happening with any other plugin which resides in
> >>/usr/lib64/stonith/plugins/external/ - seems it just doesn't see any of
> >>them.
> >>
> >>No luck with pcs as well.
> >>
> >>Don't have this problem on Ubuntu 14.04.
> >>
> >>Does anybody know why this thing could happen ?
> >My guess is that pacemaker isn't compiled with the lha-fencing
> >capability. Take a look at the output of 'cibadmin -!'.
> >
> >Thanks,
> >
> >Dejan
> >
> >>Thank you!
> >>
> >>Regards,
> >>Sergey Arlashin
> >>
> >>
> >>
> >>
> >>_______________________________________________
> >>Users mailing list: Users at clusterlabs.org
> >>http://clusterlabs.org/mailman/listinfo/users
> >>
> >>Project Home: http://www.clusterlabs.org
> >>Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> >>Bugs: http://bugs.clusterlabs.org
> >_______________________________________________
> >Users mailing list: Users at clusterlabs.org
> >http://clusterlabs.org/mailman/listinfo/users
> >
> >Project Home: http://www.clusterlabs.org
> >Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> >Bugs: http://bugs.clusterlabs.org
> 
> 
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
> 
> 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 Users mailing list