-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1958390: improve SDN's OVS healthcheck and logging
This commit addresses three main issues: - Improve logging in `ovs.go` by adding the args to the log and indicating clearly which command is being executed. In case certain exec's fail, it will greatly help narrow down what command failed to execute - Run a stricter retry for OVS commands. In case we fail exec'ing OVS commands, fail much more quickly. - Run the OVS healthcheck loop as early as possible, which means: right after we are sure that OVS is running. The main reason for doing this is: solving the < OCP 4.6 problem which was: SDN talking to a N-1 OVS and thinking everything is fine on startup. If we aren't strict when checking connection errors to OVS we might miss the upgrade of OVS from N-1 to N and continue thinking everything is fine, while in fact OVS has been upgraded and had its DB wiped. Signed-off-by: Alexander Constantinescu <aconstan@redhat.com>
- Loading branch information
1 parent
3ac5486
commit c5cfcbf
Showing
7 changed files
with
96 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters