mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anindya Sinha <anindya_si...@apple.com>
Subject Re: Review Request 55887: Check task user before allowing a task to be launched on the agent.
Date Tue, 07 Mar 2017 23:19:17 GMT

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

(Updated March 7, 2017, 11:19 p.m.)


Review request for mesos, Adam B, Anand Mazumdar, Alexander Rojas, and Jiang Yan Xu.


Changes
-------

A minor fix to handle the case when framework is in TERMINATING state.


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


Repository: mesos


Description
-------

Added support for action `run_tasks` on the agent's flag `acl`. Based on
the ACL configured for `run_tasks`, a task to be launched on the agent
can be (dis)allowed to launch on the agent.
If a task or task group cannot be launched due to failed authorization,
a `TASK_ERROR` Status Update shall be sent with a reason code of
`REASON_TASK_UNAUTHORIZED` or `REASON_TASK_GROUP_UNAUTHORIZED` as
applicable.
Note that in case of a task group, all tasks fail if any of the tasks
within the task group encounter the authorization error.


Diffs (updated)
-----

  src/slave/slave.hpp 978edd6309dfbbde1058f9c44d5fac7083ff95fb 
  src/slave/slave.cpp 4319f841fbdc7ad39eb60eb52ae2a764b133cfbd 


Diff: https://reviews.apache.org/r/55887/diff/8/

Changes: https://reviews.apache.org/r/55887/diff/7-8/


Testing
-------

All tests passed.


Thanks,

Anindya Sinha


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