Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-2560

Marathon tries to resolve own hostname even if provided --hostname flag

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build & CI
    • Labels:

      Description

      Basically MGI-2153 again. Under docker for mac I see:

      [2016-11-17 16:16:19,918] INFO Starting Marathon 1.3.6/unknown with --hostname 192.168.65.2 --master zk://127.0.0.1:2181/mesos (mesosphere.marathon.Main$:main)
      

      ...

      [2016-11-17 16:16:30,969] INFO All actors active:
      * Actor[akka://marathon/user/taskTracker#1548063841]
      * Actor[akka://marathon/user/launchQueue#-791859926]
      * Actor[akka://marathon/user/expungeOverdueLostTasks#-512904026]
      * Actor[akka://marathon/user/offerMatcherManager#-1626394434]
      * Actor[akka://marathon/user/killOverdueStagedTasks#88252551]
      * Actor[akka://marathon/user/offersWantedForReconciliation#-760121389]
      * Actor[akka://marathon/user/offerMatcherLaunchTokens#242883520]
      * Actor[akka://marathon/user/groupManager#-1071317342]
      * Actor[akka://marathon/user/rateLimiter#2001553136]
      * Actor[akka://marathon/user/reviveOffersWhenWanted#-844810459]
      * Actor[akka://marathon/user/taskKillServiceActor#532678166] (mesosphere.marathon.core.leadership.impl.LeadershipCoordinatorActor:marathon-akka.actor.default-dispatcher-7)
      [2016-11-17 16:16:30,979] INFO Create new Scheduler Driver with frameworkId: None and scheduler mesosphere.marathon.core.heartbeat.MesosHeartbeatMonitor$$EnhancerByGuice$$f77c54af@7343922c (mesosphere.marathon.MarathonSchedulerDriver$:pool-1-thread-1)
      [2016-11-17 16:16:30,981] INFO Started. Will remain interested in offer reconciliation for 17500 milliseconds when needed. (mesosphere.marathon.core.matcher.reconcile.impl.OffersWantedForReconciliationActor:marathon-akka.actor.default-dispatcher-9)
      [2016-11-17 16:16:30,994] INFO TaskTrackerActor is starting. Task loading initiated. (mesosphere.marathon.core.task.tracker.impl.TaskTrackerActor:marathon-akka.actor.default-dispatcher-10)
      [2016-11-17 16:16:31,043] INFO About to load 0 tasks (mesosphere.marathon.core.task.tracker.impl.TaskLoaderImpl:ForkJoinPool-2-worker-13)
      [2016-11-17 16:16:31,052] INFO Loaded 0 tasks (mesosphere.marathon.core.task.tracker.impl.TaskLoaderImpl:ForkJoinPool-2-worker-7)
      [2016-11-17 16:16:31,080] INFO Task loading complete. (mesosphere.marathon.core.task.tracker.impl.TaskTrackerActor:marathon-akka.actor.default-dispatcher-6)
      [2016-11-17 16:16:31,192] INFO interested in offers for reservation reconciliation because of becoming leader (until 2016-11-17T16:16:48.493Z) (mesosphere.marathon.core.matcher.reconcile.impl.OffersWantedForReconciliationActor:marathon-akka.actor.default-dispatcher-9)
      [2016-11-17 16:16:31,237] INFO Received offers WANTED notification (mesosphere.marathon.core.flow.impl.ReviveOffersActor:marathon-akka.actor.default-dispatcher-6)
      [2016-11-17 16:16:31,245] INFO => revive offers NOW, canceling any scheduled revives (mesosphere.marathon.core.flow.impl.ReviveOffersActor:marathon-akka.actor.default-dispatcher-6)
      [2016-11-17 16:16:31,257] INFO 2 further revives still needed. Repeating reviveOffers according to --revive_offers_repetitions 3 (mesosphere.marathon.core.flow.impl.ReviveOffersActor:marathon-akka.actor.default-dispatcher-3)
      [2016-11-17 16:16:31,262] INFO => Schedule next revive at 2016-11-17T16:16:36.236Z in 4982 milliseconds, adhering to --min_revive_offers_interval 5000 (ms) (mesosphere.marathon.core.flow.impl.ReviveOffersActor:marathon-akka.actor.default-dispatcher-3)
      Failed to obtain the IP address for 'moby'; the DNS service may not be able to resolve it: Name or service not known
      

      moby is the hostname of docker for mac.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bobrik Ivan Babrou
              Team:
              Orchestration Team
              Watchers:
              Jason Gilanfarr (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: