On a bare-metal server with two bond interfaces (LAN and NFS), dcos-net service restarts systemd-network indefinitely, causing interfaces flapping (and possibly ports disabling on the switches).
Steps to reproduce:
- install CoreOS 1855.5.0 (latest stable) and configure bond0 and bond1
- OS is perfectly stable
- install DC/OS (i.e. as a slave)
- network starts to flap indefintely, in rare cases it stops after MANY up/down cylcles
As proof, setting "Restart=no" in dcos-net.service stops network flapping.
Probably, bonding has timing issues different from normal interfaces and dcos-net keeps to restart systemd-network waiting for networking coming up.
in /etc/systemd/system/dcos-net.service unit file solves the issue.