I'm using Jclouds plugin to create openstack instance on the fly during job build and terminate as job get finished.
but i'm facing problem in ssh authentication.
Jclouds trying to login with ssh key pair with login user as "root" instead of "ubuntu"on ubuntu cloud image.
where to configure in plugin to login with ubuntu user.
Also when i select Admin user as "ubuntu" then Slave didn't come live but get registered in slave list as offline.
re-launch slave gives below error. can you please advise? what wrong i'm doing
Connecting to 192.168.1.109 on port 22.
Connected via SSH.
Authenticating as jenkins
Copying slave.jar
Launching slave agent: cd /tmp && java -jar slave.jar
ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins
java.io.EOFException: unexpected stream termination
at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:365)
at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:310)
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:380)
at jenkins.plugins.jclouds.compute.JCloudsLauncher.launch(JCloudsLauncher.java:84)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:253)
at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
---------