[Pacemaker] Configuring fencing with encrypted passwords

Arjun Pandey apandepublic at gmail.com
Mon Mar 2 01:58:16 EST 2015


Hi

Yeah i had missed that. It still doesn't work.

[root at rimo ~]# fence_ipmilan -a 10.11.10.22 -l foo -p
'$1$Fx5N1lWk$3W/CYfGvBpuiPy9zopKAk0' -o status -v -P -A md5
Getting status of IPMI:10.11.10.22...Spawning: '/usr/bin/ipmitool -I
lanplus -H '10.11.10.22' -U 'parallel' -A 'md5' -P '[set]' -v chassis power
status'...
Chassis power = Unknown
Failed
I also tried running the ipmitool directly.
[root at rimo ~]# /usr/bin/ipmitool -I lanplus -H '10.11.10.22' -U 'parallel'
-A 'md5' -P '$1$rPv.Dm77$AG365zoIQKa/JCb3bkiFv/'  -v chassis power status
-C 1
> RAKP 2 HMAC is invalid
Error: Unable to establish IPMI v2 / RMCP+ session
Unable to get Chassis Power Status

>From the ipmitool help
 -C ciphersuite Cipher suite to be used by lanplus interface
authentication
       -A authtype    Force use of auth type NONE, PASSWORD, MD2, MD5 or OEM

What is the significance of -C option ? I don't see this being specified
when i give md5 auth type to fence_ipmilan. Can this be a issue as well ?

Regards
Arjun

On Fri, Feb 27, 2015 at 3:15 PM, Andrei Borzenkov <arvidjaar at gmail.com>
wrote:

> On Fri, Feb 27, 2015 at 12:31 PM, Arjun Pandey <apandepublic at gmail.com>
> wrote:
> > Hi
> >
> > I am facing some issues while trying out fence_ipmilan on ILO4 setup when
> > using encrypted passwords. Which mailing list can i contact for this ?
> > Basically if i test out fence_ipmilan/fence_ilo4 from cmd line with
> > plaintext password things work fine. However if i specify encrypted
> password
> > and specify auth-type as md5. It doesn't work.
> >
> > WORKING
> > fence_ilo4 -a 10.11.10.21 -l foo -p bar -o status -v
> >
> > FAILS
> > fence_ilo4 -A md5 -fence_ilo4 -A md5 -a 10.11.10.21 -l foo
> > -p $1$MGrg5Egf$QQpDePvU1UXtF/3ixMaRS0 -o status -v
>
> You need to quote shell metacharacters on command line.
>
> >
> >
> > Any pointers would be helpful.
> >
> > Regards
> > Arjun
> >
> > _______________________________________________
> > 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
> >
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20150302/a12332fb/attachment-0002.html>


More information about the Pacemaker mailing list