Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce ovs-ovn restart downtime #1516

Merged
merged 1 commit into from
May 11, 2022
Merged

reduce ovs-ovn restart downtime #1516

merged 1 commit into from
May 11, 2022

Conversation

oilbeater
Copy link
Collaborator

@oilbeater oilbeater commented May 11, 2022

  1. start ovsdb without vswitchd
  2. set flow-restore-wait to true to prevent vswitchd flush the flow
  3. start ovn-controller and wait ${FLOW_WAIT} seconds to compute init flow
  4. set flow-restore-wait to false to indicate vswitchd to process

The network downtime decrease from 2.9 seconds to 0

Which issue(s) this PR fixes:

Fixes #1420

@oilbeater oilbeater added enhancement Improve exist functions need backport labels May 11, 2022
1. start ovsdb  without vswitchd
2. set flow-restore-wait to true to prevent vswitchd flush the flow
3. start ovn-controller and wait ${FLOW_WAIT} seconds to compute init flow
4. set flow-restore-wait to false to indicate vswitchd to process
@oilbeater oilbeater merged commit d7ef43b into master May 11, 2022
oilbeater added a commit that referenced this pull request May 11, 2022
1. start ovsdb  without vswitchd
2. set flow-restore-wait to true to prevent vswitchd flush the flow
3. start ovn-controller and wait ${FLOW_WAIT} seconds to compute init flow
4. set flow-restore-wait to false to indicate vswitchd to process

(cherry picked from commit d7ef43b)
oilbeater added a commit that referenced this pull request May 11, 2022
1. start ovsdb  without vswitchd
2. set flow-restore-wait to true to prevent vswitchd flush the flow
3. start ovn-controller and wait ${FLOW_WAIT} seconds to compute init flow
4. set flow-restore-wait to false to indicate vswitchd to process

(cherry picked from commit d7ef43b)
@oilbeater oilbeater deleted the feat/hot-restart branch May 11, 2022 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve exist functions need backport
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate network break during kube-ovn upgrade
2 participants