Gracefully handle redundant ipvs service create failures

Signed-off-by: Alessandro Boch <aboch@docker.com>
This commit is contained in:
Alessandro Boch 2017-01-31 16:25:56 -08:00
parent 1795dc1bbe
commit d565d5f2d2
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ func (sb *sandbox) addLBBackend(ip, vip net.IP, fwMark uint32, ingressPorts []*P
return
}
if err := i.NewService(s); err != nil {
if err := i.NewService(s); err != nil && err != syscall.EEXIST {
logrus.Errorf("Failed to create a new service for vip %s fwmark %d: %v", vip, fwMark, err)
return
}