mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Mann (JIRA)" <>
Subject [jira] [Updated] (MESOS-5664) Invalid resources sent to '/reserve' are silently dropped
Date Tue, 21 Jun 2016 22:37:57 GMT


Greg Mann updated MESOS-5664:
    Shepherd: Vinod Kone

> Invalid resources sent to '/reserve' are silently dropped
> ---------------------------------------------------------
>                 Key: MESOS-5664
>                 URL:
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 0.28.2, 1.0.0
>            Reporter: Greg Mann
>            Assignee: Greg Mann
>              Labels: mesosphere
>             Fix For: 1.0.0
> If an invalid resource is passed to the master's {{/reserve}} endpoint, it will be silently
dropped and not cause an error. This can lead, for example, to a {{/reserve}} request containing
a single invalid resource receiving a 200 OK response, despite the fact that no resources
were reserved as a result of the request.
> This is due to the fact that the {{+=}} operator for {{Resources}} silently drops invalid
resources, and this operator is used when parsing the resources in the HTTP request. This
could be addressed by validating the resource objects one at a time as they are parsed.

This message was sent by Atlassian JIRA

View raw message