Project: mesos
Issue MESOS-4143: Reserve/UnReserve Dynamic Reservation Endpoints allow reservations on non-existing roles
When working with Dynamic reservations via the /reserve and /unreserve endpoints, it is possible to reserve resources for roles that have not been specified via the --roles flag on the master. However, these roles are not usable because the roles have not been defined, nor are they added to the list of roles available. Per the mailing list, changing roles after the fact is not possible at this time. (That may be another JIRA), more importantly, the /reserve and /unreserve end points should not allow reservation of roles not specified by --roles.
Story points: 2