You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Srikanth Viswanathan <sr...@gmail.com> on 2017/07/05 00:27:13 UTC

Dynamic reservations without a principal

Hi folks,

I am trying to have the Chronos framework consume dynamic reservations in
Mesos. However, it appears that Chronos is unable to do this because it
does not pass the framework principal to Mesos when launching tasks (See
https://github.com/mesos/chronos/issues/843), which makes Mesos reject the
launch operation.

To get around this, I am considering changing my dynamic reservations to be
purely role-based instead of (role, principal)-based. Is this
allowed/valid? http://mesos.readthedocs.io/en/0.24.1/reservation/#
dynamic-reservation-since-0230 says "resources are reserved for a *role*." Does
this mean I can make a dynamic reservation just for (role) instead of
(role, principal)?

Thanks,
Srikanth

Re: Dynamic reservations without a principal

Posted by James Peach <jo...@gmail.com>.
> On Jul 4, 2017, at 5:27 PM, Srikanth Viswanathan <sr...@gmail.com> wrote:
> 
> Hi folks,
> 
> I am trying to have the Chronos framework consume dynamic reservations in Mesos. However, it appears that Chronos is unable to do this because it does not pass the framework principal to Mesos when launching tasks (See https://github.com/mesos/chronos/issues/843), which makes Mesos reject the launch operation.
> 
> To get around this, I am considering changing my dynamic reservations to be purely role-based instead of (role, principal)-based. Is this allowed/valid? http://mesos.readthedocs.io/en/0.24.1/reservation/#dynamic-reservation-since-0230 says "resources are reserved for a role." Does this mean I can make a dynamic reservation just for (role) instead of (role, principal)?

FYI the official documentation is at http://mesos.apache.org/documentation/latest/