0

我在用:

  • 詹金斯 1.595
  • mesos 詹金斯插件 0.5.0
  • 金币 0.21.0

我已经在 jenkins 中配置了 Cloud Mesos。Jenkins 框架已经在 mesos 框架视图中注册了描述,如下所示:

编号:5050-2830-29614

主机:我的电脑

用户:詹金斯

名称:詹金斯调度器

活动任务:0

中央处理器:1.7

内存:2.5 Gb

最大份额:37442%

注册时间:33 分钟前

重新注册:-

但是詹金斯没有显示在线奴隶并得到这个输出

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

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

等等...

还 mesos 显示 提供 1.7 2.5 GB (注册的框架资源相同)

4

1 回答 1

0

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

于 2015-02-13T17:22:45.783 回答