Issue Type: Bug 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@27213333})
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=60000, sessionTimeout=60000} (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 org.kohsuke.stapler.Stapler.invoke(Stapler.java:587)
	at org.kohsuke.stapler.Stapler.service(Stapler.java:218)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
	at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
	at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
	at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
	at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227)
	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
	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: 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@27213333})
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=60000, sessionTimeout=60000} (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 com.google.common.base.Throwables.propagate(Throwables.java:160)
	at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.destroyBadNodesAndPropagate(JCloudsSlaveTemplate.java:328)
	at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:318)
	at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.provisionSlave(JCloudsSlaveTemplate.java:182)
	at jenkins.plugins.jclouds.compute.JCloudsCloud.doProvision(JCloudsCloud.java:283)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:297)
	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:160)
	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:95)
	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:685)
	... 39 more
Caused by: 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@27213333})
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=60000, sessionTimeout=60000} (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.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:224)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:40)
	at $Proxy92.createNodesInGroup(Unknown Source)
	at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:316)
	... 51 more
Environment: == Version ==
jclouds-jenkins version: 2.4
Jenkins: 1.533
ssh-credentials: 0.3
ssh-slaves: 0.25
Project: Jenkins
Labels: slave exception plugins
Priority: Major Major
Reporter: carman yuk
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to