You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Dan Osborne (JIRA)" <ji...@apache.org> on 2017/02/10 04:47:41 UTC

[jira] [Updated] (MESOS-7105) Start Mesos Agent even if CNI dir doesn't exist

     [ https://issues.apache.org/jira/browse/MESOS-7105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Osborne updated MESOS-7105:
-------------------------------
    Description: 
Mesos-agent refuses to start if a CNI config directory has been configured but does not exist. I propose that we don't bother to check this at start.

Now that Mesos scans for CNI configs at task launch, it's feasible that even though the directory doesn't exist at launch, it will exist and be filled with configs by the time the a task is run.

Specifically, for my use case, I'm trying to install CNI plugins using the Docker Containerizer in Mesos. These tasks volume mount in the CNI directories which the docker daemon automatically creates if they don't exist. But I can't get the slave to start unless I make the CNI conf dir, which feels unnecessary.

{code}
Failed to create a containerizer: Could not create MesosContainerizer: Failed to create isolator 'network/cni': The CNI network configuration directory '/etc/cni/net.d/' does not exist
{code}

  was:
Mesos-agent refuses to start if a CNI config directory has been configured but does not exist. I propose that we don't bother to check this at start.

Now that Mesos scans for CNI configs at task launch, it's feasible that even though the directory doesn't exist at launch, it will be filled with configs by the time the a task is run.

Specifically, for my use case, I'm trying to install CNI plugins using the Docker Containerizer in Mesos. These tasks volume mount in the CNI directories which the docker daemon automatically creates if they don't exist. But I can't get the slave to start unless I make the CNI conf dir, which feels unnecessary.

{code}
Failed to create a containerizer: Could not create MesosContainerizer: Failed to create isolator 'network/cni': The CNI network configuration directory '/etc/cni/net.d/' does not exist
{code}


> Start Mesos Agent even if CNI dir doesn't exist
> -----------------------------------------------
>
>                 Key: MESOS-7105
>                 URL: https://issues.apache.org/jira/browse/MESOS-7105
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Dan Osborne
>            Assignee: Avinash Sridharan
>
> Mesos-agent refuses to start if a CNI config directory has been configured but does not exist. I propose that we don't bother to check this at start.
> Now that Mesos scans for CNI configs at task launch, it's feasible that even though the directory doesn't exist at launch, it will exist and be filled with configs by the time the a task is run.
> Specifically, for my use case, I'm trying to install CNI plugins using the Docker Containerizer in Mesos. These tasks volume mount in the CNI directories which the docker daemon automatically creates if they don't exist. But I can't get the slave to start unless I make the CNI conf dir, which feels unnecessary.
> {code}
> Failed to create a containerizer: Could not create MesosContainerizer: Failed to create isolator 'network/cni': The CNI network configuration directory '/etc/cni/net.d/' does not exist
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)