You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrei Sekretenko (Jira)" <ji...@apache.org> on 2020/10/13 16:25:00 UTC

[jira] [Commented] (MESOS-10177) Add an endpoint for offer constraints debug

    [ https://issues.apache.org/jira/browse/MESOS-10177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17213204#comment-17213204 ] 

Andrei Sekretenko commented on MESOS-10177:
-------------------------------------------

After first attempts to use the endpoint for debugging a real-world framework, it became clear that we need suppressed roles in the same json:

{noformat}
commit 8d3a76f4261f8d249504de5330ce86ba07a17f56
Author: Andrei Sekretenko <as...@apache.org>
Date:   Mon Oct 12 15:42:50 2020 +0200

    Made the offer constraints filter non-optional inside the allocator.
    
    Now that the master always constructs an offer constraints filter
    for a framework (potentially a no-op one) and always passes this filter
    into an allocator, storing the filter as an `Option` inside the
    hierarchical allocator is no longer necessary.
    
    Review: https://reviews.apache.org/r/72953

commit d4678d33b223fec5d48007f8246f1ed1cda5e90d
Author: Andrei Sekretenko <as...@apache.org>
Date:   Mon Oct 12 15:42:50 2020 +0200

    Added suppressed roles to `allocator/offer_constraints_debug` endpoint.
    
    This simplifies debugging frameworks that use offer constraints.
    
    For example, in case a framework is not receiving offers for a role,
    getting a suppressed roles snapshot simultaneously with agent
    filtering results helps to figure out whether the framework is
    mis-specifying offer constraints, or just wrongly suppresses a role.
    
    Review: https://reviews.apache.org/r/72954
{noformat}

> Add an endpoint for offer constraints debug
> -------------------------------------------
>
>                 Key: MESOS-10177
>                 URL: https://issues.apache.org/jira/browse/MESOS-10177
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Andrei Sekretenko
>            Assignee: Andrei Sekretenko
>            Priority: Major
>
> Mesos master should expose an endpoint allowing operator to view results of offer constraints evaluation for all roles of all frameworks for all agents.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)