[ovs-build] Passed: ovsrobot/ovs#2521 (series_175833 - 418c5f9)

Travis CI builds at travis-ci.org
Sat May 9 11:33:03 UTC 2020


Build Update for ovsrobot/ovs
-------------------------------------

Build: #2521
Status: Passed

Duration: 59 mins and 29 secs
Commit: 418c5f9 (series_175833)
Author: wenxu
Message: connmgr: fix flow-restore-wait not work with controller connects

When restart the vswitchd with flow-restore-wait. The Vswitch doesn't
connect to the controller util the flow-restore-wait finished.

Because when bridge_configure_remotes() calls bridge_get_controllers(),
it first checks if flow-restore-wait has been set, and if so,
it ignores any controllers in the controller database and
sets n_controllers to 0.

So after the flows restore in ovs and remove the flow-restore-wait.
The vswitchd will connect the controller. But it will flush all
the flows we restored.

In the connmgr_set_controllers if (had_controllers != connmgr_has_controllers(mgr))
it will flush all the flows through ofproto_flush_flows(mgr->ofproto);
This make flow-restore-wait feature not work at all with controller connects.

This patch record the flow-restore-wait event and it will avoid the flow
flush if it experience a flow-restore-wait event..

Signed-off-by: wenxu <wenxu at ucloud.cn>
Signed-off-by: 0-day Robot <robot at bytheb.org>

View the changeset: https://github.com/ovsrobot/ovs/commit/418c5f9e2394

View the full build log and details: https://travis-ci.org/github/ovsrobot/ovs/builds/684997524?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the ovsrobot/ovs repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=22285853&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20200509/17f95844/attachment.html>


More information about the build mailing list