介子中的詹金斯奴隶无法启动

时间:2015-01-13 15:44:07

标签: jenkins jenkins-plugins mesos mesosphere

我正在使用:

  • jenkins 1.595
  • mesos jenkins插件0.5.0
  • mesos 0.21.0

我已经在jenkins中配置了Cloud Mesos。 Jenkins框架已经在mesos框架视图中注册了这样的描述:

Id:5050-2830-29614

主持人:My-PC

用户:Jenkins

名称:Jenkins Scheduler

活动任务:0

CPU:1.7

纪录:2.5 Gb

最大份额:37442%

注册:33分钟前

重新注册: -

但Jenkins没有显示在线奴隶并获得此输出 启动mesos slave mesos-jenkins-d4dd533e-bed4-44bc-b0d9-8fc5474710bd

HTTP ERROR 404

Problem accessing /computer/mesos-jenkins-d4dd533e-bed4-44bc-b0d9-8fc5474710bd/logText/progressiveHtml. Reason:

    Not Found

和此日志

INFO: Enqueuing jenkins slave request
Jan 13, 2015 10:18:57 AM hudson.model.DownloadService$Downloadable load
INFO: Obtained the updated data file for hudson.tools.JDKInstaller
Jan 13, 2015 10:20:12 AM org.jenkinsci.plugins.mesos.MesosRetentionStrategy check
INFO: Disconnecting offline computer mesos-jenkins-d4dd533e-bed4-44bc-b0d9-8fc5474710bd
Jan 13, 2015 10:20:12 AM org.jenkinsci.plugins.mesos.MesosSlave terminate
INFO: Terminating slave mesos-jenkins-d4dd533e-bed4-44bc-b0d9-8fc5474710bd
Jan 13, 2015 10:20:12 AM org.jenkinsci.plugins.mesos.JenkinsScheduler terminateJenkinsSlave
INFO: Terminating jenkins slave mesos-jenkins-d4dd533e-bed4-44bc-b0d9-8fc5474710bd
Jan 13, 2015 10:20:12 AM org.jenkinsci.plugins.mesos.JenkinsScheduler terminateJenkinsSlave
INFO: Removing enqueued mesos task mesos-jenkins-d4dd533e-bed4-44bc-b0d9-8fc5474710bd
Jan 13, 2015 10:21:24 AM hudson.model.UpdateSite updateData
INFO: Obtained the latest update center data file for UpdateSource default

log in mesos是这样的:

I0113 10:07:13.690115  2851 master.cpp:1434] Framework 20150105-100316-1275074476-5050-2830-29614 (Jenkins Scheduler) at scheduler-83e56c80-e586-4564-88cb-e0fd541ad845@172.23.0.76:58612 already registered, resending acknowledgement
I0113 10:07:14.690235  2854 master.cpp:1383] Received registration request for framework 'Jenkins Scheduler' at scheduler-83e56c80-e586-4564-88cb-e0fd541ad845@172.23.0.76:58612
I0113 10:07:14.690510  2854 master.cpp:1434] Framework 20150105-100316-1275074476-5050-2830-29614 (Jenkins Scheduler) at scheduler-83e56c80-e586-4564-88cb-e0fd541ad845@172.23.0.76:58612 already registered, resending acknowledgement
I0113 10:07:15.690466  2854 master.cpp:1383] Received registration request for framework 'Jenkins Scheduler' at scheduler-83e56c80-e586-4564-88cb-e0fd541ad845@172.23.0.76:58612
I0113 10:07:15.690723  2854 master.cpp:1434] Framework 20150105-100316-1275074476-5050-2830-29614 (Jenkins Scheduler) at scheduler-83e56c80-e586-4564-88cb-e0fd541ad845@172.23.0.76:58612 already registered, resending acknowledgement
I0113 10:07:16.691149  2852 master.cpp:1383] Received registration request for framework 'Jenkins Scheduler' at scheduler-83e56c80-e586-4564-88cb-e0fd541ad845@172.23.0.76:58612
I0113 10:07:16.691689  2852 master.cpp:1434] Framework 20150105-100316-1275074476-5050-2830-29614 (Jenkins Scheduler) at scheduler-83e56c80-e586-4564-88cb-e0fd541ad845@172.23.0.76:58612 already registered, resending acknowledgement
I0113 10:07:17.691560  2853 master.cpp:1383] Received registration request for framework 'Jenkins Scheduler' at scheduler-83e56c80-e586-4564-88cb-e0fd541ad845@172.23.0.76:58612

依旧......

还有梅索秀 提供1.7 2.5 GB (与框架注册的资源相同)

1 个答案:

答案 0 :(得分:0)

查看环境变量LIBPROCESS_IP =" jenkins主机的IP"。见mesos/chronos#193