mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GradyWang" <>
Subject 回复: Dynamic Reservations and --roles
Date Mon, 14 Dec 2015 04:04:02 GMT
MESOS-4144 is duplicated by MESOS-3177(Dynamic Roles/Weights), you can refer to the design
for the details.

Grady YQ. Wang(王勇桥)


------------------ 原始邮件 ------------------
发件人: "John Omernik";<>;
发送时间: 2015年12月14日(星期一) 凌晨2:30
收件人: ""<>; 

主题: Re: Dynamic Reservations and --roles

I filed to address the reserve unreserve
endpoints reserving roles for non-explicit rules. 

I also opened to add the ability to add roles
dynamically based on an API request to properly authorized principals. 



On Sat, Dec 12, 2015 at 1:40 AM, Michael Park <> wrote:
This seems like a bug to me. Please file a JIRA ticket and I'll sync with Neil regarding what
the behavior should be with dynamic/implicit roles in mind.



On Fri, Dec 11, 2015 at 1:32 PM Vinod Kone <> wrote:

1. If the role specified in the reserve/unreserve operation doesn't exist in --roles on the
master, it should reject the reservation on the /reserve endpoint.  Why allow the reservation
of roles if you can't use them if they are specified

2. If the role doesn't exist in --roles, and a reservation comes through, it should be added
dynamically. This seems to make more sense to me. I.e. adding roles doesn't require a master

There is currently work in progress to add support for implicit roles (roles not specified
via --roles). But, I agree that until we add that feature the /reserve endpoint should reject
reservations for unknown roles. Not sure what the rationale was to allow this. @mpark?
View raw message