You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Vu Nguyen Duy (JIRA)" <ji...@apache.org> on 2016/09/08 05:30:20 UTC

[jira] [Updated] (MESOS-6139) How can I config docker executor port range?

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

Vu Nguyen Duy updated MESOS-6139:
---------------------------------
    Description: 
Hi,
I got a connection problem when install jenkins-mesos master and mesos cluster in two seperate enviroments, there are ACLs rule (block all) between two envs. I had to open rule allow mesos-master connect jenkins-scheduler (use LIBPROCESS_PORT to define static port), rule allow mesos-slave connect jenkins-master:8080 to downloading slave.jar, and rule allow jenkins connect mesos-docker-executor, but I don't know how can I config mesos-docker-executor port range?, they're random, I can't open ACL rule for that. So it raise error: 

```
I0908 10:58:05.941046  5854 slave.cpp:2828] Got registration for executor 'mesos-jenkins-5ae4b388d0f34f42887e8ade1cbf6803-mesos-abc' of framework 2e7b1138-cc15-4ccf-9874-b452706cb8c9-0109 from executor(1)@x.x.x.x:33393
I0908 10:58:05.942631  5854 docker.cpp:1443] Ignoring updating container '62248670-81ab-423c-952d-5002917f9fa4' with resources passed to update is identical to existing resources
I0908 10:58:05.943017  5854 slave.cpp:2005] Sending queued task 'mesos-jenkins-5ae4b388d0f34f42887e8ade1cbf6803-mesos-abc' to executor 'mesos-jenkins-5ae4b388d0f34f42887e8ade1cbf6803-mesos-abc' of framework 2e7b1138-cc15-4ccf-9874-b452706cb8c9-0109 at executor(1)@x.x.x.x:33393
I0908 10:58:11.383888  5855 slave.cpp:3211] Handling status update TASK_FAILED (UUID: b5a40cfa-c6dc-4bf1-8d72-5ccf4e71f707) for task mesos-jenkins-5ae4b388d0f34f42887e8ade1cbf6803-mesos-abc of framework 2e7b1138-cc15-4ccf-9874-b452706cb8c9-0109 from executor(1)@x.x.x.x:33393

```

```
root@Mesos61:~# netstat -ntpl | grep mesos
tcp        0      0 0.0.0.0:33393           0.0.0.0:*               LISTEN      6289/mesos-docker-executor
```



Thanks

  was:
Hi,
I got a connection problem when install jenkins-mesos master and mesos cluster in two seperate enviroments, there are ACLs rule (block all) between two envs. I had to open rule allow mesos-master connect jenkins-scheduler (use LIBPROCESS_PORT to define static port), rule allow mesos-slave connect jenkins-master:8080 to downloading slave.jar. But I don't know how can I config mesos-docker-executor port range?, they're random, I can't open ACL rule for that. So it raise error: 

```
I0908 10:58:05.941046  5854 slave.cpp:2828] Got registration for executor 'mesos-jenkins-5ae4b388d0f34f42887e8ade1cbf6803-mesos-abc' of framework 2e7b1138-cc15-4ccf-9874-b452706cb8c9-0109 from executor(1)@x.x.x.x:33393
I0908 10:58:05.942631  5854 docker.cpp:1443] Ignoring updating container '62248670-81ab-423c-952d-5002917f9fa4' with resources passed to update is identical to existing resources
I0908 10:58:05.943017  5854 slave.cpp:2005] Sending queued task 'mesos-jenkins-5ae4b388d0f34f42887e8ade1cbf6803-mesos-abc' to executor 'mesos-jenkins-5ae4b388d0f34f42887e8ade1cbf6803-mesos-abc' of framework 2e7b1138-cc15-4ccf-9874-b452706cb8c9-0109 at executor(1)@x.x.x.x:33393
I0908 10:58:11.383888  5855 slave.cpp:3211] Handling status update TASK_FAILED (UUID: b5a40cfa-c6dc-4bf1-8d72-5ccf4e71f707) for task mesos-jenkins-5ae4b388d0f34f42887e8ade1cbf6803-mesos-abc of framework 2e7b1138-cc15-4ccf-9874-b452706cb8c9-0109 from executor(1)@x.x.x.x:33393

```

```
root@Mesos61:~# netstat -ntpl | grep mesos
tcp        0      0 0.0.0.0:33393           0.0.0.0:*               LISTEN      6289/mesos-docker-executor
```



Thanks


> How can I config docker executor port range?
> --------------------------------------------
>
>                 Key: MESOS-6139
>                 URL: https://issues.apache.org/jira/browse/MESOS-6139
>             Project: Mesos
>          Issue Type: Bug
>          Components: docker
>            Reporter: Vu Nguyen Duy
>
> Hi,
> I got a connection problem when install jenkins-mesos master and mesos cluster in two seperate enviroments, there are ACLs rule (block all) between two envs. I had to open rule allow mesos-master connect jenkins-scheduler (use LIBPROCESS_PORT to define static port), rule allow mesos-slave connect jenkins-master:8080 to downloading slave.jar, and rule allow jenkins connect mesos-docker-executor, but I don't know how can I config mesos-docker-executor port range?, they're random, I can't open ACL rule for that. So it raise error: 
> ```
> I0908 10:58:05.941046  5854 slave.cpp:2828] Got registration for executor 'mesos-jenkins-5ae4b388d0f34f42887e8ade1cbf6803-mesos-abc' of framework 2e7b1138-cc15-4ccf-9874-b452706cb8c9-0109 from executor(1)@x.x.x.x:33393
> I0908 10:58:05.942631  5854 docker.cpp:1443] Ignoring updating container '62248670-81ab-423c-952d-5002917f9fa4' with resources passed to update is identical to existing resources
> I0908 10:58:05.943017  5854 slave.cpp:2005] Sending queued task 'mesos-jenkins-5ae4b388d0f34f42887e8ade1cbf6803-mesos-abc' to executor 'mesos-jenkins-5ae4b388d0f34f42887e8ade1cbf6803-mesos-abc' of framework 2e7b1138-cc15-4ccf-9874-b452706cb8c9-0109 at executor(1)@x.x.x.x:33393
> I0908 10:58:11.383888  5855 slave.cpp:3211] Handling status update TASK_FAILED (UUID: b5a40cfa-c6dc-4bf1-8d72-5ccf4e71f707) for task mesos-jenkins-5ae4b388d0f34f42887e8ade1cbf6803-mesos-abc of framework 2e7b1138-cc15-4ccf-9874-b452706cb8c9-0109 from executor(1)@x.x.x.x:33393
> ```
> ```
> root@Mesos61:~# netstat -ntpl | grep mesos
> tcp        0      0 0.0.0.0:33393           0.0.0.0:*               LISTEN      6289/mesos-docker-executor
> ```
> Thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)