It does seem like updatenode works if i use it later. here is a part of the 
STDOUT

cpn01: + getcredentials.awk ssh_dsa_hostkey
cpn01: + grep -E -v '</{0,1}xcatresponse>|</{0,1}serverdone>'
cpn01: + sed -e 's/&lt;/</' -e 's/&gt;/>/' -e 's/&amp;/&/' -e 's/&quot/"/' -e 
's/&apos;/'\''/'
cpn01:
cpn01: + grep -E '<error>' /tmp/ssh_dsa_hostkey
cpn01: + '[' 1 -ne 0 ']'
cpn01: + cat /tmp/ssh_dsa_hostkey
cpn01: + grep -E -v '</{0,1}errorcode>|/{0,1}data>|</{0,1}content>|</{0,1}desc>'
cpn01: + logger -t xcat -p local4.info 'remoteshell: getting ssh_host_dsa_key'
cpn01: + MAX_RETRIES=10
cpn01: + RETRY=0
cpn01: ++ cat /etc/ssh/ssh_host_dsa_key
cpn01: + MYCONT='-----BEGIN DSA PRIVATE KEY-----
cpn01: MIIBuwIBAAKBgQC4oM7k0+lBXsXOGTWbLknH0qfy7NFsHVqgJs9yFUhUH09Lpx9s
cpn01: erGDE9nABKcoRBCr9qbK73pKYwetuSV5juNPU4MVHjPzS1fS7WjTfytUU0iIlVZF
cpn01: FbR3f93oqBlSQ3ZLGK7yVqkuuLNr+Mujlh6aZDfVt0o3bRN62R/N3Y9cFQIVAMfu
cpn01: NDXTrHGg9U07BDWvWghDr76ZAoGAdtXsIEq6/F8KtOE4Bcv6aO98pK85qtBt17lp
cpn01: NukXauYqztz4/fONcj/dIgBCNuWXQukUXrbrJY0w4DI9K65nBqZpA8fGhsbMabOj
cpn01: fHphGc2Ib94auP9abA+iy0BUELrjW2Yjbz+akyzmT+DRYtFx999ouJGrIfw6HDUg
cpn01: 0Jy/dLUCgYEAl/W0gbK87cCcfS/v/0rdQHp4agUpcHQ6YHAfuqv8ZyISu0aX6qjF
cpn01: kVT/4Whw7obiKHFKErNmTTcnl55e7qZpb6mIkV7Rz5rTfHwB1kQ8uHlskS7BbwdX
cpn01: +rvbkP2ej4xh3kygNv86GvNN5bwaEMJJSqfQzXQHDwMjGwOKnwE09EICFEPMGHXM
cpn01: GJj+taxsbsPIe2ZBU7wH
cpn01: -----END DSA PRIVATE KEY-----'
cpn01: + '[' -z '-----BEGIN DSA PRIVATE KEY-----
cpn01: MIIBuwIBAAKBgQC4oM7k0+lBXsXOGTWbLknH0qfy7NFsHVqgJs9yFUhUH09Lpx9s
cpn01: erGDE9nABKcoRBCr9qbK73pKYwetuSV5juNPU4MVHjPzS1fS7WjTfytUU0iIlVZF
cpn01: FbR3f93oqBlSQ3ZLGK7yVqkuuLNr+Mujlh6aZDfVt0o3bRN62R/N3Y9cFQIVAMfu
cpn01: NDXTrHGg9U07BDWvWghDr76ZAoGAdtXsIEq6/F8KtOE4Bcv6aO98pK85qtBt17lp
cpn01: NukXauYqztz4/fONcj/dIgBCNuWXQukUXrbrJY0w4DI9K65nBqZpA8fGhsbMabOj
cpn01: fHphGc2Ib94auP9abA+iy0BUELrjW2Yjbz+akyzmT+DRYtFx999ouJGrIfw6HDUg
cpn01: 0Jy/dLUCgYEAl/W0gbK87cCcfS/v/0rdQHp4agUpcHQ6YHAfuqv8ZyISu0aX6qjF
cpn01: kVT/4Whw7obiKHFKErNmTTcnl55e7qZpb6mIkV7Rz5rTfHwB1kQ8uHlskS7BbwdX
cpn01: +rvbkP2ej4xh3kygNv86GvNN5bwaEMJJSqfQzXQHDwMjGwOKnwE09EICFEPMGHXM
cpn01: GJj+taxsbsPIe2ZBU7wH
cpn01: -----END DSA PRIVATE KEY-----' ']'
cpn01: + chmod 600 /etc/ssh/ssh_host_dsa_key
cpn01: + grep 'PRIVATE KEY' /etc/ssh/ssh_host_dsa_key
cpn01: + ssh-keygen -y -f /etc/ssh/ssh_host_dsa_key
cpn01: + chmod 644 /etc/ssh/ssh_host_dsa_key.pub
cpn01: + chown root /etc/ssh/ssh_host_dsa_key.pub
cpn01: + rm /tmp/ssh_dsa_hostkey
cpn01: + '[' 0 = 1 ']'

and it also shows in the MN log

Jan 27 15:16:37 cpn01 xcat: Install: setup root .ssh
Jan 27 15:16:27 xcat xcat[3921]: xCAT: Allowing getcredentials ssh_dsa_hostkey 
from cpn01
Jan 27 15:16:27 xcat xcat: credentials: sending ssh_dsa_hostkey
Jan 27 15:16:39 cpn01 xcat: remoteshell: getting ssh_host_dsa_key
Jan 27 15:16:27 xcat xcat[3924]: xCAT: Allowing getcredentials ssh_rsa_hostkey 
from cpn01
Jan 27 15:16:27 xcat xcat: credentials: sending ssh_rsa_hostkey
Jan 27 15:16:39 cpn01 xcat: ssh_rsa_hostkey
Jan 27 15:16:27 xcat xcat[3927]: xCAT: Allowing getcredentials 
ssh_ecdsa_hostkey from cpn01
Jan 27 15:16:27 xcat xcat: credentials: sending ssh_ecdsa_hostkey
Jan 27 15:16:39 cpn01 xcat: ssh_ecdsa_hostkey
Jan 27 15:16:27 xcat xcat[3930]: xCAT: Allowing getcredentials ssh_root_pub_key 
from cpn01
Jan 27 15:16:27 xcat xcat: credentials: sending ssh_root_pub_key
Jan 27 15:16:27 xcat xcat: credentials: The  ssh root public key is in 
/root/.ssh/id_rsa.pub.
Jan 27 15:16:39 cpn01 xcat: remoteshell: gathering ssh_root_pub_key
Jan 27 15:16:39 cpn01 xcat: ssh_root_pub_key
Jan 27 15:16:39 cpn01 xcat: remoteshell:sshbetweennodes is yes
Jan 27 15:16:28 xcat xcat[3934]: xCAT: Allowing getcredentials ssh_root_key 
from cpn01
Jan 27 15:16:28 xcat xcat: credentials: sending ssh_root_key
Jan 27 15:16:28 xcat xcat: credentials: The  ssh root private key is in 
/root/.ssh/id_rsa.
Jan 27 15:16:40 cpn01 xcat: remoteshell: gathering ssh_root_key
Jan 27 15:16:40 cpn01 xcat: ssh_root_key


Also
[root@xcat ~]# lsxcatd -a
Version 2.10 (git commit 79c7f6949c09e0b49875f10ede4b75b18ad4a0e7, built Fri 
Jul 24 05:27:07 EDT 2015)
This is a Management Node
dbengine=SQLite


The Operating System on my MN as well as the computenodes is CentOS7.1
________________________________________
From: Xiao Peng Wang [[email protected]]
Sent: 27 January 2016 14:22
To: [email protected]
Cc: [email protected]
Subject: Re: [xcat-user] getcredentials not working

Then that looks like the command 'getcredentials.awk ssh_dsa_hostkey' does not 
work when do the OS deployment. Does executing command 'updatenode <node> -P 
remoteshell' also failed with multiple retries?

Could you show me the output of 'lsxcatd -a' and the OS of your compute node?


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: xCAT Users Mailing list <[email protected]>
Cc:
Subject: Re: [xcat-user] getcredentials not working
Date: Wed, Jan 27, 2016 4:29 PM

I dont have a cluster.log but i assume you want to see this here

Jan 27 07:48:00 cpn01 xcatpostinit: + RETRY=2
Jan 27 07:48:00 cpn01 xcatpostinit: + '[' 2 -eq 10 ']'
Jan 27 07:48:00 cpn01 xcatpostinit: + '[' 0 = 1 ']'
Jan 27 07:48:00 cpn01 xcatpostinit: + getcredentials.awk ssh_dsa_hostkey
Jan 27 07:48:00 cpn01 xcatpostinit: + grep -v '<'
Jan 27 07:48:00 cpn01 xcatpostinit: + sed -e 's/&lt;/</' -e 's/&gt;/>/' -e 
's/&amp;/&/' -e 's/&quot/"/' -e 's/&apos;/'\''/'
Jan 27 07:47:48 xcat xcat[3415]: xCAT: Allowing getcredentials ssh_dsa_hostkey 
from cpn01
Jan 27 07:48:00 cpn01 xcatpostinit: ++ cat /etc/ssh/ssh_host_dsa_key
Jan 27 07:48:00 cpn01 xcatpostinit: + MYCONT=
Jan 27 07:48:00 cpn01 xcatpostinit: + '[' -z '' ']'
Jan 27 07:48:00 cpn01 xcatpostinit: + '[' 0 = 0 ']'
Jan 27 07:48:00 cpn01 xcatpostinit: + let SLI=18551%10
Jan 27 07:48:00 cpn01 xcatpostinit: + let SLI=SLI+10
Jan 27 07:48:00 cpn01 xcatpostinit: + sleep 11
Jan 27 07:48:11 cpn01 xcatpostinit: + RETRY=3
Jan 27 07:48:11 cpn01 xcatpostinit: + '[' 3 -eq 10 ']'
Jan 27 07:48:11 cpn01 xcatpostinit: + '[' 0 = 1 ']'
Jan 27 07:48:11 cpn01 xcatpostinit: + getcredentials.awk ssh_dsa_hostkey
Jan 27 07:48:11 cpn01 xcatpostinit: + grep -v '<'
Jan 27 07:48:11 cpn01 xcatpostinit: + sed -e 's/&lt;/</' -e 's/&gt;/>/' -e 
's/&amp;/&/' -e 's/&quot/"/' -e 's/&apos;/'\''/'
Jan 27 07:47:59 xcat xcat[3417]: xCAT: Allowing getcredentials ssh_dsa_hostkey 
from cpn01
Jan 27 07:48:11 cpn01 xcatpostinit: ++ cat /etc/ssh/ssh_host_dsa_key
Jan 27 07:48:11 cpn01 xcatpostinit: + MYCONT=
Jan 27 07:48:11 cpn01 xcatpostinit: + '[' -z '' ']'
Jan 27 07:48:11 cpn01 xcatpostinit: + '[' 0 = 0 ']'
Jan 27 07:48:11 cpn01 xcatpostinit: + let SLI=5210%10
Jan 27 07:48:11 cpn01 xcatpostinit: + let SLI=SLI+10
Jan 27 07:48:11 cpn01 xcatpostinit: + sleep 10
Jan 27 07:48:21 cpn01 xcatpostinit: + RETRY=4
Jan 27 07:48:21 cpn01 xcatpostinit: + '[' 4 -eq 10 ']'
Jan 27 07:48:21 cpn01 xcatpostinit: + '[' 0 = 1 ']'
Jan 27 07:48:21 cpn01 xcatpostinit: + getcredentials.awk ssh_dsa_hostkey
Jan 27 07:48:21 cpn01 xcatpostinit: + grep -v '<'
Jan 27 07:48:21 cpn01 xcatpostinit: + sed -e 's/&lt;/</' -e 's/&gt;/>/' -e 
's/&amp;/&/' -e 's/&quot/"/' -e 's/&apos;/'\''/'
Jan 27 07:48:10 xcat xcat[3419]: xCAT: Allowing getcredentials ssh_dsa_hostkey 
from cpn01
Jan 27 07:48:21 cpn01 xcatpostinit: ++ cat /etc/ssh/ssh_host_dsa_key
Jan 27 07:48:21 cpn01 xcatpostinit: + MYCONT=
Jan 27 07:48:21 cpn01 xcatpostinit: + '[' -z '' ']'
Jan 27 07:48:21 cpn01 xcatpostinit: + '[' 0 = 0 ']'
Jan 27 07:48:21 cpn01 xcatpostinit: + let SLI=16775%10
Jan 27 07:48:21 cpn01 xcatpostinit: + let SLI=SLI+10
Jan 27 07:48:21 cpn01 xcatpostinit: + sleep 15


____________________________________
From: Xiao Peng Wang [[email protected]]
Sent: 27 January 2016 07:00
To: [email protected]
Cc: [email protected]
Subject: Re: [xcat-user] getcredentials not working

Then everything looks good.

If you are using xCAT 2.11, please enable the debug mode
    # chdef -t site clustersite xcatdebugmode=1

And run 'updatenode <node> -P remoteshell', then show me the log in the 
/var/log/xcat/cluster.log from your MN.

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: xCAT Users Mailing list <[email protected]>
Cc:
Subject: Re: [xcat-user] getcredentials not working
Date: Tue, Jan 26, 2016 11:08 PM

I did it, and it is exactly as you said it should be
  [root@cpn01 ~]# /xcatpost/allowcred.awk &
  [1] 14189
[root@cpn01 ~]# USEOPENSSLFORXCAT=yes XCATSERVER=10.54.255.240:3001 
/xcatpost/getcredentials.awk ssh_rsa_hostkey
 <xcatresponse>
   <data>
     <content>
-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEArGsUjTF41pNtnytXkxePYjT4Djuw7ZjZSM1TUBNR6ESjtdaq
o192VdF11wi7mA9L2IovNHUWrsm+sZkkJ1BIHZEog+YtpeE0lzyiGhw+dlPeZohD
1MGmWC0ndKMAfX/vPdCqIBYiWLn2H1vrpo2O7LbES2PdO9I33iZvKMZeyeVwNMjL
asl7+LHGvP9TuOe8t6n4yMcO6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ORm
qPDmuco2l0dhDl4RxJIwECRCi7H5gcBdDQ3TiPJdhYF1glS4hMwp+N80T6NUmPMe
sS5SA/prVJwrsqqiLFwrJDsG+qTLzsMyrSBGINfGe+syh4ksUosx+W1WO9R7VwQ5
DUXntDcCgYEAh3aM/kqv5VuJk7A6BT6n0PwPvbSkZd80WVvYVC/QLaTQXGfM0lnM
JU7m6qi6usTnmxFDqQLValXh0dmr8Y47x1rbyoHIId+E7nFd/5zoCuaI5d0cuxit
p/PdAfG0HyTkJzXRFWaNtdDV8tKdyNXTxBVKZ/t2ia52GDfe7NPOybo=
-----END RSA PRIVATE KEY-----
</content>
    <desc>ssh_rsa_hostkey</desc>
  </data>
  <errorcode>0</errorcode>
</xcatresponse>
<xcatresponse>
  <serverdone></serverdone>
</xcatresponse>

What does that tell me?

Regards


________________________________________
From: Xiao Peng Wang [[email protected]]
Sent: 26 January 2016 15:53
To: [email protected]
Cc: [email protected]
Subject: Re: [xcat-user] getcredentials not working

Could you try following steps on your compute node?

1. Enable mini server
/xcatpost/allowcred.awk &

2.Try to get rsa hostkey
USEOPENSSLFORXCAT=yes XCATSERVER=<MNIP>:3001 /xcatpost/getcredentials.awk 
ssh_rsa_hostkey

The output should like:

<xcatresponse>
  <data>
    <content>
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEArEGTY9i8D/n6Ojtaumwwb0G5ICndNQ9ZcV7LRfcQXGZUcrX9
CyECeechqdlATbMS8gRNrPoKvvrCSvgEvc9m+u7zVn5m/uajWDzn+A/HBtrw0Ksy
hIJ1kgP4iw4qJVC9UJhanjISu9AaMvSuGaf82DjJd1jOYiK7geRS7RCk4nqnagcv
7HbOVnqtd1sb6EP0NaZPzde2IADk+EKaOHqCmPaQs+9O7IqQdVn3kYsqEaNVSwLy
24Tx+7i9ePbOjl+SpFSYp75dXiOGbdQ1WHOaajZ2V4GuJwpWpBrp1hqrokw1+qB8
1XjyZtAuZjHMqZcA9FPMuiKTlSEm8tjsBnoVNQIDAQ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zIB
fdDRAoGBAM1zWmMvxxnmxVNFEQr5WaQvlzKNS9JNq8M2RXHP/JmABvgMpZnOUF1F
sT3KAczKGplDx7JcNeeSdW9yjVPWWOQTK6Rb80RUBOu9aad6MD5ZG3jdgeHUW1dZ
mbIpuyBUi3+hd2Dr0VzH2/rK+x5I/6wKGiqaYvAemQ81iwG/xcCW
-----END RSA PRIVATE KEY-----
</content>
    <desc>ssh_rsa_hostkey</desc>
  </data>
  <errorcode>0</errorcode>
</xcatresponse>
<xcatresponse>
  <serverdone></serverdone>
</xcatresponse>

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: xCAT Users Mailing list <[email protected]>
Cc:
Subject: Re: [xcat-user] getcredentials not working
Date: Tue, Jan 26, 2016 5:40 PM

the hostkeys are present on the xCAT MN
    ll /etc/xcat/hostkeys/
    total 32
    -rw------- 1 root root  668 Jan 21 16:02 ssh_host_dsa_key
    -rw-r--r-- 1 root root  590 Jan 21 16:02 ssh_host_dsa_key.pub
    -rw------- 1 root root  227 Jan 21 16:02 ssh_host_ecdsa_key
    -rw-r--r-- 1 root root  162 Jan 21 16:02 ssh_host_ecdsa_key.pub
    -rw------- 1 root root  965 Jan 21 16:02 ssh_host_key
    -rw-r--r-- 1 root root  630 Jan 21 16:02 ssh_host_key.pub
    -rw------- 1 root root 1679 Jan 21 16:02 ssh_host_rsa_key
    -rw-r--r-- 1 root root  382 Jan 21 16:02 ssh_host_rsa_key.pub

and i also have a credentials.pm in 
/opt/xcat/lib/perl/xCAT_plugin/credentials.pm

Regards
Sebastian


________________________________________
From: Xiao Peng Wang [[email protected]]
Sent: 26 January 2016 06:13
To: [email protected]
Cc: [email protected]
Subject: Re: [xcat-user] getcredentials not working

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

------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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