Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8247

Executor registered message is lost

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.2, 1.4.1, 1.5.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Brief description of successful agent-executor communication.

      Executor sends `RegisterExecutorMessage` message to Agent during initialization step. Agent sends a `ExecutorRegisteredMessage` message as a response to the Executor in `registerExecutor()` method. Whenever executor receives `ExecutorRegisteredMessage`, it prints a `Executor registered on agent...` to stderr logs.

      Problem description.

      The agent launches built-in docker executor, which is stuck in `STAGING` state.
      stderr logs of the docker executor:

      I1114 23:03:17.919090 14322 exec.cpp:162] Version: 1.2.3
      

      It doesn't contain a message like `Executor registered on agent...`. At the same time agent received `RegisterExecutorMessage` and sent `runTask` message to the executor.

      stdout logs consists of the same repeating message:

      Received killTask for task ...
      

      Also, the docker executor process doesn't contain child processes.

      Currently, executor doesn't attempt to launch a task if it is not registered at the agent, while task killing doesn't have such a check.

      It looks like `ExecutorRegisteredMessage` has been lost.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                abudnik Andrei Budnik
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: