mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Bannier <bbann...@apache.org>
Subject Review Request 71854: Handled `/api/v1` and /api/v1/executor` over agent executor socket.
Date Tue, 03 Dec 2019 13:37:05 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71854/
-----------------------------------------------------------

Review request for mesos and Benno Evers.


Bugs: MESOS-10038
    https://issues.apache.org/jira/browse/MESOS-10038


Repository: mesos


Description
-------

This patch wires up the agent executor socket to handle calls for
`/api/v1` and `/api/v1/executor` so executors can use domain sockets to
communicate with the agent; executors use the latter to subscribe with
the agent and the former to e.g., launch containers.

Note that with this patch we now expose the full operator API over the
agent's domain socket.


Diffs
-----

  src/slave/slave.hpp 77b5bc0082c6bb73fbd48a2ebe812629921645cb 
  src/slave/slave.cpp 3839a120446339fea8aa857f431a2dba28ed4002 


Diff: https://reviews.apache.org/r/71854/diff/1/


Testing
-------

In both an SSL and non-SSL setup `make check` and also with tested with `LinuxFilesystemIsolatorMesosTest.ROOT_DomainSocketVariable`
added earlier in this chain. The Mesos test harness with authenticate and authorize in SSL
builds and permit all requests in non-SSL builds.


Thanks,

Benjamin Bannier


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message