Hi Russell,
I am not expert with the source but looking at SSHinteract.pm in the latest
snapshot it just seems to build an ssh command and the failure is due to it not
accepting a the password xCAT is trying to supply.
if ($nextline =~ /password:/i or $nextline =~ /Permission denied, please
try again/ or $nextline =~ /disconnect from/) {
die "Incorrect Password";
I know for blades you could store the management module user id and password
in more than one xCAT table:
E.g. passwd table or mpa table.
Can you check those tables ?
I wonder if you have conflicting login/password information for the management
module?
If you are using an xCAT group instead of an individual device name in those
tables check it is what you expect.
In your example it looks like the "mm" group is unique to management modules
but "bcn" would apply to management modules and blades.
xCAT will have an order of preference over which table it chooses to look up
the login credentials first.
Also worth a check to see if the Bladecenter management module event log is
telling you which user id is failing to login if it gives you a hint.
Regards,
David
-----Original Message-----
From: Russell Jones [mailto:[email protected]]
Sent: Friday, May 08, 2015 5:12 PM
To: [email protected]
Subject: Re: [xcat-user] Issues with BladeCenter H and management module
commands
Hi David,
Thanks for the reply! I did review the documentation but I guess misunderstood
it, as I thought enabling SSH in the GUI for the management module would
replace the need for the respconfig sshcfg line.
When attempting to do the 2 commands you gave me I get the following errors:
[root@xcat ~]# rspconfig bcn-sclmp01-mc1 sshcfg=enable snmpcfg=enable
bcn-sclmp01-mc1: Incorrect Password at
/opt/xcat/lib/perl/xCAT/SSHInteract.pm line 74.
[root@xcat ~]# psh -l XCAT bcn-sclmp01-mc1 info -T mm[1]
bcn-sclmp01-mc1: Permission denied (publickey,keyboard-interactive).
It is strange that it is giving me incorrect password on the first line,
as like I mentioned before I can manually ssh into the host with the
username and password I have configured.
Any ideas on how to get the first one resolved? I feel there's a good
chance in having the rest of my issues be fixed if I can get the
rspconfig command working.
On 5/6/2015 7:58 AM, David Rajendra wrote:
> Hi Russell,
>
> It has been a while since I did any IBM blades.
>
> This is a bit old but this documentation might help for setting up the
> Bladecenter communication part if you have not seen it:
> http://sourceforge.net/p/xcat/wiki/XCAT_BladeCenter_Linux_Cluster/
> (Go down to the section "Configure xCAT" and check the relevant steps from
> there).
>
> Some checks from the documentation:
> - Were you able to complete the "rspconfig bcn-sclmp01-mc1 sshcfg=enable
> snmpcfg=enable" step from your xCAT server so it can get to the AMM?
> This gets password-less ssh working between xCAT and the Bladecenter
> Management Module.
>
> - Does the password-less ssh test "psh -l USERID bcn-sclmp01-mc1 info -T
> mm[1]" work? (where USERID is your defined account).
>
> I also noticed looking at your lsdef output I think you might need the "id"
> field populated in the mp table with the blade slot number.
> I am not sure if you will be able to rpower the blade without that being set.
>
> Regards,
>
> David
>
>
>
>
>
> -----Original Message-----
> From: Russell Jones [mailto:[email protected]]
> Sent: Monday, May 04, 2015 10:37 PM
> To: xCAT Users Mailing list
> Subject: [xcat-user] Issues with BladeCenter H and management module commands
>
> Hi all,
>
> I am attempting to setup some blades in a BladeCenter in order to be able to
> use commands such as rbootseq and rpower. However when I issue these commands
> I am getting the following errors. SSH and SNMP are enabled on the chassis,
> and I am able to login via SSH successfully using the credentials I have
> configured in the mpa table. The user is configured as a Supervisor. Any
> assistance in figuring out how to get the management module talking correctly
> is appreciated!
>
>
> [root@xcat ~]# rpower node3-4-0 stat
> node3-4-0: Error: stat unsupported on the management module
>
> [root@xcat ~]# rbootseq node3-4-0 net
> node3-4-0: Error: Unsupported security level
>
>
>
> [root@xcat ~]# lsxcatd -v
> Version 2.8.2 (svn r17010, built Mon Jul 22 23:28:24 EDT 2013)
>
> [root@xcat ~]# lsdef node3-4-0
> Object name: node3-4-0
> arch=x86_64
> currstate=netboot centos6.3-x86_64-v6.3.1-dl-compute
> groups=bcn,v6.3.1-dl-compute,all,compute
> initrd=xcat/osimage/v6.3.1-dl-compute/initrd-stateless.gz
> installnic=mac
> ip=X
> kcmdline=imgurl=http://!myipfn!:80//install/netboot/centos6.3/x86_64/v6.3.1-dl-compute/rootimg.gz
> XCAT=!myipfn!:3001 NODE=node3-4-0
> kernel=xcat/osimage/v6.3.1-dl-compute/kernel
> mac=e4:1f:13:79:7e:9c
> mgt=blade
> mpa=bcn-sclmp01-mc1
> netboot=xnba
> nfsserver=X
> nicips.eth1=X
> nicnetworks.eth1=storage
> nictypes.eth1=Ethernet
> os=centos6.3
> postscripts=setupntp,hardeths,syslog,remoteshell,syncfiles
> primarynic=mac
> profile=v6.3.1-dl-compute
> provmethod=v6.3.1-dl-compute
> status=netbooting
> statustime=05-04-2015 14:24:12
>
>
> [root@xcat ~]# lsdef bcn-sclmp01-mc1
> Object name: bcn-sclmp01-mc1
> groups=mm,bcn,all
> ip=X
> mgt=blade
> mpa=bcn-sclmp01-mc1
> postscripts=setupntp,hardeths,syslog,remoteshell,syncfiles
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user