My Jenkins on a Windows 10 host can’t find the Host as Slave

240 views
Skip to first unread message

Christoph

unread,
Apr 26, 2017, 2:15:52 AM4/26/17
to Jenkins Users

OS Version/build: Windows 10
Docker App version: Version 17.03.1-ce-win5 (10743) Channel: stable b18e2a5


The Windows 10 that runs docker shoud be a slave for Jenkins, I created a “localhost” Node, when I Start I get the Error:


C:\Users\Schindler\Downloads>java -jar slave.jar -jnlpUrl http://localhost:32769/computer/localhost/slave-agent.jnlp
Failing to obtain http://localhost:32769/computer/localhost/slave-agent.jnlp
java.io.IOException: Failed to load http://localhost:32769/computer/localhost/slave-agent.jnlp: 503 Service Unavailable
at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:400)
at hudson.remoting.Launcher.run(Launcher.java:248)
at hudson.remoting.Launcher.main(Launcher.java:218)
Waiting 10 seconds before retry


But I can reach http://localhost:32769/tcpSlaveAgentListener/ from Crome an Download the slave-agent.jnlp



When I start then this:
C:\Users\Schindler\Downloads>java -jar slave.jar -jnlpUrl file:///C:/Users/Schindler/Downloads/slave-agent.jnlp

I get this Error:

Apr 25, 2017 3:01:12 PM hudson.remoting.jnlp.Main createEngine

INFORMATION: Setting up slave: localhost
Apr 25, 2017 3:01:12 PM hudson.remoting.jnlp.Main$CuiListener 
INFORMATION: Jenkins agent is running in headless mode.
Apr 25, 2017 3:01:13 PM hudson.remoting.jnlp.Main$CuiListener status
INFORMATION: Locating server among [http://localhost:32769/]
Apr 25, 2017 3:01:13 PM hudson.remoting.jnlp.Main$CuiListener error
SCHWERWIEGEND: http://localhost:32769/tcpSlaveAgentListener/ is invalid: 503 Service Unavailable
java.io.IOException: http://localhost:32769/tcpSlaveAgentListener/ is invalid: 503 Service Unavailable
at org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:165)
at hudson.remoting.Engine.innerRun(Engine.java:335)
at hudson.remoting.Engine.run(Engine.java:287)


Can someone help?



Christoph

unread,
May 9, 2017, 5:47:38 AM5/9/17
to Jenkins Users
Someone?

Dirk Heinrichs

unread,
May 9, 2017, 6:01:15 AM5/9/17
to jenkins...@googlegroups.com
Am 26.04.2017 um 08:15 schrieb Christoph:

I created a “localhost” Node, when I Start I get the Error:

Huh? So you want the master to be a slave of itself?

Bye...

    Dirk
--
Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenTextTM Discovery | Recommind
Email: dirk.he...@recommind.com
Website: www.recommind.de

Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach

Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

Christoph

unread,
May 10, 2017, 8:08:37 AM5/10/17
to jenkins...@googlegroups.com
no, i want the host for the docker container to be a slave

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/0lRmMXSrYWo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5771eeaf-5f3e-99f6-bed2-3bf092dc227a%40opentext.com.
For more options, visit https://groups.google.com/d/optout.

Dirk Heinrichs

unread,
May 10, 2017, 8:11:04 AM5/10/17
to jenkins...@googlegroups.com
Am 10.05.2017 um 14:08 schrieb Christoph:

no, i want the host for the docker container to be a slave

OK. But why do you create a "localhost" slave, then? Just create a slave on the docker host.
Reply all
Reply to author
Forward
0 new messages