Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin not working with >= ssh-slaves-plugin-1.30.0 #278

Open
rdevries opened this issue Oct 22, 2019 · 11 comments
Open

plugin not working with >= ssh-slaves-plugin-1.30.0 #278

rdevries opened this issue Oct 22, 2019 · 11 comments

Comments

@rdevries
Copy link

rdevries commented Oct 22, 2019

After the update of the ssh-slaves plugin to 1.30.0 we are unable to get the containers running again. (1.28.1 is working fine, 1.31.0 is broken as well) It keeps provisioning and after a little bit of research we found out that it somehow was unable to find the the selected credentials for the docker container.

I also created an issue in Jira for jenkins and the ssh-slaves-plugin (https://issues.jenkins-ci.org/browse/JENKINS-59879) because i don't know which one is the cause of the issue.

We use the SSH Docker Computer Launcher with SSH credentials (username password).
I tried changing the Host Key Verification Strategy to Non verifying Verification Strategy but that didnt help either.

We are currently running yet-another-docker-plugin version 0.1.4

@KostyaSha
Copy link
Owner

What plugin version do you use?

@rdevries
Copy link
Author

Oh sorry, forgot to mention it here 0.1.4 (i'll update the description)

@KostyaSha
Copy link
Owner

please use 0.1.5

@rdevries
Copy link
Author

where can i find 0.1.5 ? 0.1.4 seems to be the latest (http://mirrors.jenkins-ci.org/plugins/yet-another-docker-plugin/)

@rdevries
Copy link
Author

rdevries commented Oct 22, 2019

Updated to 0.1.5, the problem remains the same :(

java.lang.InterruptedException: Validate configuration:
The selected credentials cannot be found

	at hudson.plugins.sshslaves.SSHLauncher.checkConfig(SSHLauncher.java:900)
	at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:402)
	at hudson.slaves.DelegatingComputerLauncher.launch(DelegatingComputerLauncher.java:64)
	at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:297)
	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
	at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)```

@KostyaSha
Copy link
Owner

KostyaSha commented Oct 22, 2019

the update of the ssh-slaves plugin to 1.30.0

jenkinsci/ssh-agents-plugin@62346f1

More and more brekages from ssh-slaves-plugin. Please update it to the latest >=1.30.1

@rdevries
Copy link
Author

rdevries commented Oct 22, 2019

yeah that fix was included in version 1.30.1 ( i found the issue in jira as well and got my hopes up on that one as well :()

The version that we are using is version 1.31.0 which should include it as well.
(it does according to the sources in github)

@KostyaSha
Copy link
Owner

So config works ok, but credentials lookup fails

@KostyaSha
Copy link
Owner

Is it still actual?

@rdevries
Copy link
Author

Sorry,

I haven't been able to look into this anymore.
I no long work on this project either, so you can close it if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants