carman yuk
created JENKINS-20745
Failed to create slave on hpcloud-compute (AuthorizationException)
Issue Type:
Bug
Affects Versions:
current
Assignee:
abayer
Components:
jclouds, jclouds-jenkins
Created:
25/Nov/13 5:04 AM
Description:
When JClouds plugin starts a slave (e.g. click on "Provision via JClouds - servername" button in Manage Nodes page) from configured hpcloud-compute profile, exception occurs with following stack trace
javax.servlet.ServletException: java.lang.RuntimeException: org.jclouds.compute.RunNodesException: error running 1 node group(hpcloud) location(az-1.region-a.geo-1) image(75845) size(100) options({loginPrivateKeyPresent=true, scriptPresent=true, userMetadata={Name=hpcloud}, generateKeyPair=true, userData=[B@2721})
Execution failures:
0 error[s]
Node failures:
1) AuthorizationException on node az-1.region-a.geo-1/3052239:
org.jclouds.rest.AuthorizationException: (ubuntu:rsa[fingerprint(e7:c5:be:98:d9:fe:6e:61:7a:ea:57:7c:93:ea:7f:77),sha1(a6:b5:5b:8e:24:fe:a7:ab:92:ae:5b:df:bb:a9:ce:0b:f3:13:03:90)]@15.185.118.224:22) (ubuntu:rsa[fingerprint(e7:c5:be:98:d9:fe:6e:61:7a:ea:57:7c:93:ea:7f:77),sha1(a6:b5:5b:8e:24:fe:a7:ab:92:ae:5b:df:bb:a9:ce:0b:f3:13:03:90)]@15.185.118.224:22) error acquiring {hostAndPort=15.185.118.224:22, loginUser=ubuntu, ssh=null, connectTimeout=6, sessionTimeout=6} (out of retries - max 7): Exhausted available authentication methods
at org.jclouds.sshj.SshjSshClient.propagate(SshjSshClient.java:380)
at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:201)
at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:221)
at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.call(RunScriptOnNodeAsInitScriptUsingSsh.java:76)
at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:125)
at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:146)
at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:53)
at com.google.common.util.concurrent.Futures$1.apply(Futures.java:720)
at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:859)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods
at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:114)
at net.schmizz.sshj.SSHClient.auth(SSHClient.java:205)
at net.schmizz.sshj.SSHClient.authPublickey(SSHClient.java:305)
at net.schmizz.sshj.SSHClient.authPublickey(SSHClient.java:324)
at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:142)
at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:38)
at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:191)
... 10 more
Caused by: net.schmizz.sshj.userauth.UserAuthException: publickey auth failed
at net.schmizz.sshj.userauth.UserAuthImpl.handle(UserAuthImpl.java:157)
at net.schmizz.sshj.transport.TransportImpl.handle(TransportImpl.java:474)
at net.schmizz.sshj.transport.Decoder.decode(Decoder.java:127)
at net.schmizz.sshj.transport.Decoder.received(Decoder.java:195)
at net.schmizz.sshj.transport.Reader.run(Reader.java:72)
1 error[s]
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:735)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:239)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:685)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799)
at