Project: mesos
Issue MESOS-2903: Network isolator should not fail when target state already exists
Network isolator has multiple instances of the following pattern: {noformat} Try something = ....::create(); if (something.isError()) { ++metrics.something_errors; return Failure("Failed to create something ...") } else if (!icmpVethToEth0.get()) { ++metrics.adding_veth_icmp_filters_already_exist; return Failure("Something already exists"); } {noformat} These failures have occurred in operation due to the failure to recover or delete an orphan, causing the slave to remain on line but unable to create new resources. We should convert the second failure message in this pattern to an information message since the final state of the system is the state that we requested.
Story points: 3