d2iq-archive / marathon

Deploy and manage containers (including Docker) on top of Apache Mesos at scale.
https://mesosphere.github.io/marathon/
Apache License 2.0
4.07k stars 843 forks source link

docker image warns for protocol mesos master but when specified fails #7201

Open f1-outsourcing opened 4 years ago

f1-outsourcing commented 4 years ago

[2020-07-18 17:25:32,457] WARN Specifying a Mesos Master connection without a protocol is deprecated and will likely be prohibited in the future. Please specify a protocol (http://, zk://, https://) (mesosphere.marathon.MarathonConf$:main)

When running this /marathon/bin/marathon --master http://m01.local:5050 --zk zk://m01.local:2181/v11025 --framework_name v11025

[2020-07-18 17:23:24,544] WARN Error: Failed to create a master detector for 'http://m01.local:5050': Failed to parse 'http://m01.local:5050' In case Mesos does not allow registration with the current frameworkId, follow the instructions for recovery here: https://mesosphere.github.io/marathon/docs/framework-id.html (mesosphere.marathon.MarathonScheduler:scala-execution-context-global-38) [2020-07-18 17:23:24,551] INFO Heartbeat actor deactivated (mesosphere.marathon.core.heartbeat.HeartbeatActor:marathon-akka.actor.default-dispatcher-9) [2020-07-18 17:23:24,562] INFO Scheduler actor ready (mesosphere.marathon.MarathonSchedulerActor:marathon-akka.actor.default-dispatcher-5) [2020-07-18 17:23:24,575] INFO shutting down with exit code 106 (mesosphere.marathon.core.base.RichRuntime:scala-execution-context-global-42) [2020-07-18 17:23:24,578] INFO Shutting down services (mesosphere.marathon.MarathonApp:shutdownHook2) [2020-07-18 17:23:24,594] INFO Driver future completed with result=Success(()). (mesosphere.marathon.MarathonSchedulerService:scala-execution-context-global-38) [2020-07-18 17:23:24,607] ERROR abdicateLeadership was called (mesosphere.marathon.core.election.ElectionServiceImpl:scala-execution-context-global-38) mesosphere.marathon.Exception: abdicateLeadership at mesosphere.marathon.core.election.ElectionServiceImpl.abdicateLeadership(ElectionService.scala:153) at mesosphere.marathon.MarathonSchedulerService.$anonfun$startLeadership$7(MarathonSchedulerService.scala:247) at mesosphere.marathon.MarathonSchedulerService.$anonfun$startLeadership$7$adapted(MarathonSchedulerService.scala:246) at scala.Option.foreach(Option.scala:257) at mesosphere.marathon.MarathonSchedulerService.$anonfun$startLeadership$6(MarathonSchedulerService.scala:246) at mesosphere.marathon.MarathonSchedulerService.$anonfun$startLeadership$6$adapted(MarathonSchedulerService.scala:233) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60) at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)