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

Can't run jenkins operator locally. #318

Closed
mkarebski opened this issue Apr 3, 2020 · 1 comment
Closed

Can't run jenkins operator locally. #318

mkarebski opened this issue Apr 3, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mkarebski
Copy link

I was trying to run Jenkins-Operator locally, but pod with seed job agent can't start properly.
after running
kubectl logs seed-job-agent-example-7746b9447f-sfm2w
I received:

Apr 03, 2020 8:16:10 AM hudson.remoting.jnlp.Main createEngine
INFO: Setting up agent: seed-job-agent
Apr 03, 2020 8:16:10 AM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Jenkins agent is running in headless mode.
Apr 03, 2020 8:16:10 AM hudson.remoting.Engine startEngine
INFO: Using Remoting version: 4.3
Apr 03, 2020 8:16:10 AM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
INFO: Using /home/jenkins/agent/remoting as a remoting work directory
Apr 03, 2020 8:16:10 AM org.jenkinsci.remoting.engine.WorkDirManager setupLogging
INFO: Both error and output logs will be printed to /home/jenkins/agent/remoting
Apr 03, 2020 8:16:10 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://jenkins-operator-http-example.default.svc.www.vectranet.pl:8080]
Apr 03, 2020 8:16:10 AM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: Failed to connect to http://jenkins-operator-http-example.default.svc.www.vectranet.pl:8080/tcpSlaveAgentListener/: Connection refused (Connection refused)
java.io.IOException: Failed to connect to http://jenkins-operator-http-example.default.svc.www.vectranet.pl:8080/tcpSlaveAgentListener/: Connection refused (Connection refused)
	at org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:217)
	at hudson.remoting.Engine.innerRun(Engine.java:693)
	at hudson.remoting.Engine.run(Engine.java:518)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:589)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
	at sun.net.www.http.HttpClient.New(HttpClient.java:339)
	at sun.net.www.http.HttpClient.New(HttpClient.java:357)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984)
	at org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:214)
	... 2 more


@tomaszsek tomaszsek added the bug Something isn't working label Apr 3, 2020
mkarebski pushed a commit to mkarebski/kubernetes-operator that referenced this issue Apr 3, 2020
mkarebski pushed a commit to mkarebski/kubernetes-operator that referenced this issue Apr 3, 2020
tomaszsek added a commit that referenced this issue Apr 3, 2020
@tomaszsek
Copy link

Avni-Sharma pushed a commit to Avni-Sharma/kubernetes-operator that referenced this issue Apr 23, 2020
Avni-Sharma pushed a commit to Avni-Sharma/kubernetes-operator that referenced this issue Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants