-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75087/
-----------------------------------------------------------
(Updated July 15, 2024, 2:45 p.m.)
Review request for mesos and Benjamin Mahler.
Bugs: MESOS-10243
https://issues.apache.org/jira/browse/MESOS-10243
Repository: mesos
Description (updated)
-------
Due to a systemd-induced race-condition related to the MacAddressPolicy
being set to 'persistent' on versions >= 242, we will have to set the
peer link MAC address of the peer link (eth0) when we create the eth0
peer link so that the udev will not try to overwrite it when it is
notified that this device was created, which would lead to a race
condition here where us and udev are racing to see who is the last one
to write our MAC address to eth0.
see: https://issues.apache.org/jira/browse/MESOS-10243
Diffs (updated)
-----
src/slave/containerizer/mesos/isolators/network/port_mapping.cpp
3b3b899fb43364f545eb9748ab4215fd5b2e2895
Diff: https://reviews.apache.org/r/75087/diff/3/
Changes: https://reviews.apache.org/r/75087/diff/2-3/
Testing
-------
Thanks,
Jason Zhou