-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
ipfailover - user check script overrides default #12509
Conversation
@knobunc PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -44,6 +44,8 @@ function generate_global_config() { | |||
|
|||
# | |||
# Generate VRRP checker script configuration section. | |||
# When port is 0 always pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, upon reflection, I think this is wrong.
If they give us a check script, always use it
If the port is non-zero set up the tcp check
Otherwise, skip the test
When the user supplies a check script, that check script replaces the default check script. bug bz1410721 https://bugzilla.redhat.com/show_bug.cgi?id=1410721 Signed-off-by: Phil Cameron <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@stevekuznetsov PTAL |
@knobunc You still have Changes requested set... |
@pecameron I think you need to reload the page. I approved, but asked @stevekuznetsov for a review since he is the bash ninja. |
@knobunc Is this ready to merge? |
[merge] |
Evaluated for origin merge up to 82b3d97 |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13000/) (Base Commit: cf4e84e) (Image: devenv-rhel7_5713) |
When the user supplies a check script, that check script replaces the
default check script.
See openshift-docs PR 3501
bug bz1410721
https://bugzilla.redhat.com/show_bug.cgi?id=1410721
Signed-off-by: Phil Cameron [email protected]