Refer to the following part of code in credentials.pm. You can get more messages in the /var/log/messages on you xCAT MN. xCAT is trying to send the file /etc/xcat/hostkeys/ssh_host_dsa_key to compute node. This file is generated during install xCAT. Could verify this file is existed?
 
      } elsif ($parm =~ /ssh_dsa_hostkey/) {
          `logger -t xcat -p local4.info "credentials: sending $parm"` ;
      if (-r "/etc/xcat/hostkeys/$client/ssh_host_dsa_key") {
          $tfilename="/etc/xcat/hostkeys/$client/ssh_host_dsa_key";
      } elsif (-r "/etc/xcat/hostkeys/ssh_host_dsa_key") {
          $tfilename="/etc/xcat/hostkeys/ssh_host_dsa_key";
      } else {
             push @{$rsp->{'error'}},"Unable to read private DSA key from /etc/xcat/hostkeys";
            `logger -t xcat -p local4.info "credentials: Unable to read private DSA key"` ;
             next;
          }
       } elsif ($parm =~ /ssh_rsa_hostkey/) {
          `logger -t xcat -p local4.info "credentials: sending $parm"` ;
          if (-r "/etc/xcat/hostkeys/$client/ssh_host_rsa_key") {
           $tfilename="/etc/xcat/hostkeys/$client/ssh_host_rsa_key";
      } elsif (-r "/etc/xcat/hostkeys/ssh_host_rsa_key") {   
           $tfilename="/etc/xcat/hostkeys/ssh_host_rsa_key";
      } else {
             push @{$rsp->{'error'}},"Unable to read private RSA key from /etc/xcat/hostkeys";
            `logger -t xcat -p local4.info "credentials: Unable to read private RSA key"` ;
             next;
          }
       } 

Thanks
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (王晓朋)
IBM China System Technology Laboratory
Tel: 86-10-82453455
Email: [email protected]
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193
 
 
----- Original message -----
From: "Hollizeck, Sebastian" <[email protected]>
To: "[email protected]" <[email protected]>
Cc:
Subject: [xcat-user] getcredentials not working
Date: Mon, Jan 25, 2016 11:23 PM
 
Hallo,

i am very pleased with xCAT in general and only have a small problem, which i could work around, but id rather it worked as intended.

I have a bunch of diskless nodes, which i manage and everything is working as i wish apart from the host key transfer. the xcat.log on the nodes shows the postscript "remoteshell" takes about 20 min to execute
and if i have a look at the log on the managing node i get this

Jan 25 14:46:48 xcat xcat[19066]: xCAT: Allowing getcredentials ssh_dsa_hostkey from cpn02
Jan 25 14:47:06 xcat xcat[19070]: xCAT: Allowing getcredentials ssh_dsa_hostkey from cpn02
Jan 25 14:47:17 xcat xcat[19073]: xCAT: Allowing getcredentials ssh_dsa_hostkey from cpn02
Jan 25 14:47:35 xcat xcat[19076]: xCAT: Allowing getcredentials ssh_dsa_hostkey from cpn02
Jan 25 14:47:52 xcat xcat[19078]: xCAT: Allowing getcredentials ssh_dsa_hostkey from cpn02
Jan 25 14:48:08 xcat xcat[19081]: xCAT: Allowing getcredentials ssh_dsa_hostkey from cpn02
Jan 25 14:48:19 xcat xcat[19083]: xCAT: Allowing getcredentials ssh_dsa_hostkey from cpn02
Jan 25 14:48:36 xcat xcat[19086]: xCAT: Allowing getcredentials ssh_dsa_hostkey from cpn02
Jan 25 14:48:47 xcat xcat[19088]: xCAT: Allowing getcredentials ssh_dsa_hostkey from cpn02
Jan 25 14:49:01 xcat xcat[19091]: xCAT: Allowing getcredentials ssh_dsa_hostkey from cpn02
Jan 25 14:49:17 xcat xcat[19093]: xCAT: Allowing getcredentials ssh_rsa_hostkey from cpn02
Jan 25 14:49:33 xcat xcat[19096]: xCAT: Allowing getcredentials ssh_rsa_hostkey from cpn02
Jan 25 14:49:45 xcat xcat[19098]: xCAT: Allowing getcredentials ssh_rsa_hostkey from cpn02
Jan 25 14:49:55 xcat xcat[19100]: xCAT: Allowing getcredentials ssh_rsa_hostkey from cpn02
Jan 25 14:50:09 xcat xcat[19102]: xCAT: Allowing getcredentials ssh_rsa_hostkey from cpn02
Jan 25 14:50:28 xcat xcat[19104]: xCAT: Allowing getcredentials ssh_rsa_hostkey from cpn02
Jan 25 14:50:42 xcat xcat[19106]: xCAT: Allowing getcredentials ssh_rsa_hostkey from cpn02
Jan 25 14:50:57 xcat xcat[19108]: xCAT: Allowing getcredentials ssh_rsa_hostkey from cpn02
Jan 25 14:51:14 xcat xcat[19110]: xCAT: Allowing getcredentials ssh_rsa_hostkey from cpn02
Jan 25 14:51:28 xcat xcat[19112]: xCAT: Allowing getcredentials ssh_rsa_hostkey from cpn02

which looks like the node cannot access the keys and after the 10 tries it generates a new key.
This is very unfortunate and i am out of guesses, where this problem originates from.

Could you give me a hint!?

Regards
Sebastian Hollizeck

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to