[
https://issues.apache.org/jira/browse/MESOS-6233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joseph Wu updated MESOS-6233:
-----------------------------
Shepherd: Benjamin Mahler
Sprint: Mesosphere Sprint 43
Affects Version/s: 0.28.3
Story Points: 2
Fix Version/s: 0.28.3
Summary: Master CHECK fails during recovery while relinking to
other masters (was: Unable to start Mesos Master)
This CHECK failure occurs due to two factors:
* There are two actors in this version of Mesos that instantiate a
{{ZookeeperNetwork}} and link to other masters.
** The first one belongs to the Mesos master.
** The second one is created via an anonymous module:
https://github.com/dcos/mesos-overlay-modules/blob/931e174fe3d104bb70bbcbcf701577db92048693/src/master/manager.cpp#L696-L705
* {{RemoteConnection::RECONNECT}} is not sufficiently guarded against multiple
reconnections. In this case, two reconnections are in-flight at once. With
the right interleaving, the second reconnection may overwrite the
{{SocketManager}}'s view of the first reconnection, before the first
reconnection has finished; leading to the CHECK failure.
> Master CHECK fails during recovery while relinking to other masters
> -------------------------------------------------------------------
>
> Key: MESOS-6233
> URL: https://issues.apache.org/jira/browse/MESOS-6233
> Project: Mesos
> Issue Type: Bug
> Components: general, master
> Affects Versions: 0.28.3, 1.0.1
> Reporter: Alex Kaplan
> Assignee: Joseph Wu
> Priority: Blocker
> Labels: mesosphere
> Fix For: 0.28.3, 1.1.0, 1.0.2
>
>
> Mesos Version: 1.0.1
> OS: CoreOS 1068
> {code}
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: I0922 20:05:17.948004
> 104495 manager.cpp:795] overlay-master in `RECOVERING` state . Hence, not
> sending an update to [email protected]:5051
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: F0922 20:05:17.948120
> 104529 process.cpp:2243] Check failed: sockets.count(from_fd) > 0
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: *** Check failure
> stack trace: ***
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc1908829fd google::LogMessage::Fail()
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc19088482d google::LogMessage::SendToLog()
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc1908825ec google::LogMessage::Flush()
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc190885129 google::LogMessageFatal::~LogMessageFatal()
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc1908171dd process::SocketManager::swap_implementing_socket()
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc19081aa90 process::SocketManager::link_connect()
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc1908227f9
> _ZNSt17_Function_handlerIFvRKN7process6FutureI7NothingEEEZNKS3_5onAnyISt5_BindIFSt7_Mem_fnIMNS0_13SocketManagerEFvS5_NS0_7network6SocketERKNS0_4UPIDEEEPSA_St12_PlaceholderILi1EESC_SD_EEvEES5_OT_NS3_6PreferEEUlS5_E_E9_M_invokeERKSt9_Any_dataS5_
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x41eb26
> _ZN7process8internal3runISt8functionIFvRKNS_6FutureI7NothingEEEEJRS5_EEEvRKSt6vectorIT_SaISC_EEDpOT0_
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x42a36f process::Future<>::fail()
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc19085283c process::network::LibeventSSLSocketImpl::event_callback()
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc190852f17 process::network::LibeventSSLSocketImpl::event_callback()
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc18d616631 bufferevent_run_deferred_callbacks_locked
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc18d60cc5d event_base_loop
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc190865a1d process::EventLoop::run()
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc18eeabd73 (unknown)
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc18e6a852c (unknown)
> Sep 22 20:05:17 node-44a84215535c mesos-master[104478]: @
> 0x7fc18e3e61dd (unknown)
> Sep 22 20:05:18 node-44a84215535c systemd[1]:
> [0;1;39mdcos-mesos-master.service: Main process exited, code=killed,
> status=6/ABRT
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)