[
https://issues.apache.org/jira/browse/MESOS-5141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15230830#comment-15230830
]
Joseph Wu commented on MESOS-5141:
----------------------------------
In your case, not being able to register after the framework's IP has changed
is expected. I'm guessing this is what happened:
1) Your framework started, and libprocess detected the framework's IP as
{{192.168.13.159}}.
2) {{192.168.13.159}} was sent to the Mesos master, which opens up a persistent
socket. This socket is how the master communicates with your framework.
3) Your framework's network changes to {{192.168.1.103}}. The framework didn't
restart, so it still thinks its IP is {{192.168.13.159}}. (In general, we
don't expect the hostname or IP to change while something is running.)
4) The persistent socket in #2 is broken because of the network change. The
Mesos master interprets this as your framework disconnecting. Hence, the
framework needs to register to continue operating.
5) Your framework attempts to register with the old IP. Master tries to
respond to the old IP, but can't.
You can fix this by restarting your framework.
> Framework (CodeFuturesExampleFramework-1) at scheduler already subscribed,
> resending acknowledgement
> ------------------------------------------------------------------------------------------------------
>
> Key: MESOS-5141
> URL: https://issues.apache.org/jira/browse/MESOS-5141
> Project: Mesos
> Issue Type: Bug
> Components: master
> Affects Versions: 0.28.0
> Environment: ubuntu140.04
> mesos master and slave are 0.28
> Reporter: inred
>
> i have a master run on 192.168.60.103, slave1 running on 192.168.60.102.
> i write a framework on my laptop 192.168.13.159 and can register it and
> launch task successfully.
> but when my laptop changed ip from 192.168.13.159 to 192.168.1.103,
> can't register my framework anymore.
> the master log:
> 0407 15:01:37.085171 1819 master.cpp:2231] Received SUBSCRIBE call for
> framework 'CodeFuturesExampleFramework-1' at
> [email protected]:37072
> I0407 15:01:37.085450 1819 master.cpp:2302] Subscribing framework
> CodeFuturesExampleFramework-1 with checkpointing disabled and capabilities [
> ]
> I0407 15:01:37.085548 1819 master.cpp:2312] Framework
> 8a791189-e940-4e2f-9c1e-2fb66a50191c-0000 (CodeFuturesExampleFramework-1) at
> [email protected]:37072 already
> subscribed, resending acknowledgement
> I0407 15:01:37.086802 1825 master.cpp:2231] Received SUBSCRIBE call for
> framework 'CodeFuturesExampleFramework-1' at
> [email protected]:37072
> I0407 15:01:37.087117 1825 master.cpp:2302] Subscribing framework
> CodeFuturesExampleFramework-1 with checkpointing disabled and capabilities [
> ]
> I0407 15:01:37.087219 1825 master.cpp:2312] Framework
> 8a791189-e940-4e2f-9c1e-2fb66a50191c-0000 (CodeFuturesExampleFramework-1) at
> [email protected]:37072 already
> subscribed, resending acknowledgement
> I0407 15:01:37.088713 1811 master.cpp:2231] Received SUBSCRIBE call for
> framework 'CodeFuturesExampleFramework-1' at
> [email protected]:37072
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)