You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Vinod Kone (JIRA)" <ji...@apache.org> on 2018/01/02 19:49:00 UTC

[jira] [Commented] (MESOS-8115) Add a master flag to disallow agents that are not configured with fault domain

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

Vinod Kone commented on MESOS-8115:
-----------------------------------

commit 79d189260eb705c73fd7fa356cef6e28351cb490
Author: Benno Evers <be...@mesosphere.com>
Date:   Tue Jan 2 10:58:35 2018 -0800

    Added a master flag to disallow agents without domain.
    
    Added a new `--require_agent_domain` flag and implementation. When
    set to true, it will cause the master to refuse (re-)registration
    attempts for agents with no configured domain.
    
    This is intended as a safety net for operators, who could forget to
    configure the fault domain of a remote agent and let it join the
    cluster. If this happens, an agent in a remote region will be
    considered a local agent by the master and frameworks (because agent's
    fault domain is not configured), causing tasks to potentially land in a
    remote agent which is undesirable.
    
    Review: https://reviews.apache.org/r/64507/


> Add a master flag to disallow agents that are not configured with fault domain
> ------------------------------------------------------------------------------
>
>                 Key: MESOS-8115
>                 URL: https://issues.apache.org/jira/browse/MESOS-8115
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Vinod Kone
>            Assignee: Benno Evers
>             Fix For: 1.5.1
>
>
> Once mesos masters and agents in a cluster are *all* upgraded to a version where the fault domains feature is available, it is beneficial to enforce that agents without a fault domain configured are not allowed to join the cluster. 
> This is a safety net for operators who could forget to configure the fault domain of a remote agent and let it join the cluster. If this happens, an agent in a remote region will be considered a local agent by the master and frameworks (because agent's fault domain is not configured) causing tasks to potentially land in a remote agent which is undesirable.
> Note that this has to be a configurable flag and not enforced by default because otherwise upgrades from a fault domain non-configured cluster to a configured cluster will not be possible.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)