Marathon(Mesos)-卡在“正在加载应用程序中”

问题描述 投票:0回答:1

我正在从头开始构建mesos群集(使用Vagrant,与该问题无关)。操作系统:Ubuntu 16.04(trusted)设置:

  • Master->运行ZooKeeper,Mesos-master,Marathon和Chronos
  • 从站->运行Mesos从站

这是我为主节点https://github.com/zeitgeist2018/infrastructure/blob/fix-marathon/provision/scripts/install-master.sh的供应脚本。

我设法将de slave注册到Mesos中,安装Marathon和Chronos框架,并在Chronos中运行计划的作业(同时使用docker和shell命令),但是我无法让Marathon正常工作。一旦打开UI,UI就会卡在“正在加载应用程序”中,并且当我尝试调用API时,请求将永远挂起而没有响应。在API中,我尝试获取简单的马拉松信息并进行部署,而两者的挂起结果相同。我一直在检查Marathon日志,但那里没有看到任何错误。仅几条日志可能会(或可能不会)提示:

[2020-03-08 10:33:21,819] INFO  Prompting Mesos for a heartbeat via explicit task reconciliation (mesosphere.marathon.core.heartbeat.MesosHeartbeatMonitor$$anon$1:marathon-akka.actor.default-dispatcher-6)
[2020-03-08 10:33:21,822] INFO  Received fake heartbeat task-status update (mesosphere.marathon.core.heartbeat.MesosHeartbeatMonitor:Thread-87)
[2020-03-08 10:33:25,957] INFO  Found no roles suitable for revive repetition. (mesosphere.marathon.core.launchqueue.impl.ReviveOffersStreamLogic$ReviveRepeaterLogic:marathon-akka.actor.default-dispatcher-7)

enter image description here

apache-zookeeper mesos marathon
1个回答
0
投票

我设法使它起作用。就像将Marathon降级为v1.7.189一样简单。之后,它会正确启动,并且API会响应请求。

© www.soinside.com 2019 - 2024. All rights reserved.