我已按照安装指南操作,但仍遇到问题,让jenkins奴隶连接到主人。
我的mesos奴隶都有jenkins
个用户。使用UID 1000
JAVA_HOME
也进入了mesos奴隶路径。
在马拉松比赛中,我让jenkins主实例以桥接模式运行:
我有consul和HAproxy代理jenkins-2.service.consul.50000
我还有领事和HAproxy代理jenkins master http://jenkins-2.service.consul
詹金斯大师应该能够通过它自己在mesos中运行jenkins slave。
在Mesos中,我有很多框架在运行,这是正常的吗?
当我运行新任务时:
奴隶难以开始
离线:
如果我登录有效的mesos slave,并且作为jenkins用户,我手动启动jnlp代理:
确实有效:
我还在我的jenkins主人身上启用了FINE
Loglevel:
我注意到了这一点:
INFO: Accepted connection #18 from /172.16.0.2:48806
May 09, 2017 3:47:29 AM hudson.TcpSlaveAgentListener$ConnectionHandler run
WARNING: Connection #18 failed
java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:197)
at java.io.DataInputStream.readFully(DataInputStream.java:169)
at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:213)
INFO: Accepted connection #19 from /172.16.0.2:49443
May 09, 2017 3:47:44 AM hudson.TcpSlaveAgentListener$ConnectionHandler run
WARNING: Connection #19 failed
java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:197)
at java.io.DataInputStream.readFully(DataInputStream.java:169)
at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:213)
May 09, 2017 3:47:59 AM hudson.TcpSlaveAgentListener$ConnectionHandler run
INFO: Accepted connection #20 from /172.16.0.2:50088
May 09, 2017 3:47:59 AM hudson.TcpSlaveAgentListener$ConnectionHandler run
WARNING: Connection #20 failed
java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:197)
at java.io.DataInputStream.readFully(DataInputStream.java:169)
at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:213)
我宁愿不手动启动我的jenkins奴隶。有没有办法获得更多的日志或插件流解释。
LIBPROCESS_IP
的内容,但由于命令工作正常,这可能与我的问题有关吗?我认为不是。50000
?非常感谢任何帮助