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

Vinod Kone commented on MESOS-6047:
-----------------------------------

Looks like the agent was never able to register with a master. What IP is the 
agent bound to? There should be log lines at the agent startup that should tell 
you this. Also logs of leading master would be useful for diagnosis.

> Mesos Slave is unable to register with Master
> ---------------------------------------------
>
>                 Key: MESOS-6047
>                 URL: https://issues.apache.org/jira/browse/MESOS-6047
>             Project: Mesos
>          Issue Type: Bug
>          Components: master, slave
>    Affects Versions: 1.0.0
>         Environment: Prod
>            Reporter: Sankar Mittapally
>
> Hi ,
>  I am new to mesos. I am setting up mesos cluster for my company first time, 
> my setup is like this 3 masters and one slave (for now). If I stopped one 
> master which is leading master, slave is able to detect the master but unable 
> to register with it. Following logs are from slave. Please provide me a 
> solution to fix this. I tried all the possible ways which is available on 
> site.
> I0816 06:04:10.008586  7623 group.cpp:706] Trying to get 
> '/mesos/json.info_0000004749' in ZooKeeper
> I0816 06:04:10.009474  7623 zookeeper.cpp:259] A new leading master 
> ([email protected]:5050) is detected
> I0816 06:04:10.009521  7623 slave.cpp:895] New master detected at 
> [email protected]:5050
> I0816 06:04:10.009531  7623 slave.cpp:916] No credentials provided. 
> Attempting to register without authentication
> I0816 06:04:10.009549  7623 slave.cpp:927] Detecting new master
> I0816 06:04:10.009567  7623 status_update_manager.cpp:174] Pausing sending 
> status updates
> I0816 06:04:22.006172  7627 detector.cpp:152] Detected a new leader: 
> (id='4750')
> I0816 06:04:22.006250  7627 group.cpp:706] Trying to get 
> '/mesos/json.info_0000004750' in ZooKeeper
> I0816 06:04:22.007297  7627 zookeeper.cpp:259] A new leading master 
> ([email protected]:5050) is detected
> I0816 06:04:22.007355  7627 slave.cpp:895] New master detected at 
> [email protected]:5050
> I0816 06:04:22.007365  7627 slave.cpp:916] No credentials provided. 
> Attempting to register without authentication
> I0816 06:04:22.007382  7627 slave.cpp:927] Detecting new master
> I0816 06:04:22.007400  7627 status_update_manager.cpp:174] Pausing sending 
> status updates
> I0816 06:04:52.323489  7625 slave.cpp:4591] Current disk usage 25.94%. Max 
> allowed age: 4.484391992870625days
> I0816 06:05:22.147099  7626 slave.cpp:3732] [email protected]:5050 exited
> W0816 06:05:22.147161  7626 slave.cpp:3737] Master disconnected! Waiting for 
> a new master to be elected
> I0816 06:05:30.005616  7624 detector.cpp:152] Detected a new leader: 
> (id='4751')
> I0816 06:05:30.005691  7624 group.cpp:706] Trying to get 
> '/mesos/json.info_0000004751' in ZooKeeper
> I0816 06:05:30.006444  7624 zookeeper.cpp:259] A new leading master 
> ([email protected]:5050) is detected
> I0816 06:05:30.006499  7624 slave.cpp:895] New master detected at 
> [email protected]:5050
> I0816 06:05:30.006510  7624 slave.cpp:916] No credentials provided. 
> Attempting to register without authentication
> I0816 06:05:30.006527  7624 slave.cpp:927] Detecting new master
> I0816 06:05:30.006544  7624 status_update_manager.cpp:174] Pausing sending 
> status updates
> I0816 06:05:30.132377  7623 slave.cpp:3732] [email protected]:5050 exited
> W0816 06:05:30.132426  7623 slave.cpp:3737] Master disconnected! Waiting for 
> a new master to be elected
> I0816 06:05:42.007211  7625 detector.cpp:152] Detected a new leader: 
> (id='4752')
> I0816 06:05:42.007285  7625 group.cpp:706] Trying to get 
> '/mesos/json.info_0000004752' in ZooKeeper
> I0816 06:05:42.008180  7625 zookeeper.cpp:259] A new leading master 
> ([email protected]:5050) is detected
> I0816 06:05:42.008229  7625 slave.cpp:895] New master detected at 
> [email protected]:5050
> I0816 06:05:42.008239  7625 slave.cpp:916] No credentials provided. 
> Attempting to register without authentication
> I0816 06:05:42.008257  7625 slave.cpp:927] Detecting new master
> I0816 06:05:42.008275  7625 status_update_manager.cpp:174] Pausing sending 
> status updates
> ^C
> FYI...
> All the servers are in same VLAN and there is no blocker for communication.



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

Reply via email to