Bug 1465987
Summary: | [RFE] Change preemption strategy for keepalived failover ip | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Steven Walter <stwalter> |
Component: | Networking | Assignee: | Phil Cameron <pcameron> |
Status: | CLOSED ERRATA | QA Contact: | Meng Bo <bmeng> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.4.0 | CC: | aos-bugs, bbennett, bperkins, eparis, jokerman, mmccomas, pcameron, xtian |
Target Milestone: | --- | ||
Target Release: | 3.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: |
Feature: ipfailover - Allow admin to set VRRP preemption strategy. See DOCS PR 4674
Reason: Customer request.
Result:
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-28 21:59:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Steven Walter
2017-06-28 15:42:39 UTC
*** Bug 1466033 has been marked as a duplicate of this bug. *** See origin PR 14947 openshift-docs PR 4674 https://github.com/openshift/openshift-docs/pull/4674 Origin PR 14947 https://github.com/openshift/origin/pull/14947 Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/80f1713b8375dfdc523230098434a9eebd93d160 ipfailover - control preempt strategy This allows the admin to control the VRRP preempt strategy. The default strategy, preempt_delay <sec>, switches to the higher priority master after a <sec> (default 300) delay. The second strategy, nopreempt, suppresses switchin when a higher priority host becomes available. The 'oc adm ipfailover --preempt-strategy' option can set the desired strategy. --preempt-strategy sets the OPENSHIFT_HA_PREEMPTION environment variable. bug 1465987 https://bugzilla.redhat.com/show_bug.cgi?id=1465987 openshift docs PR 4674 https://github.com/openshift/openshift-docs/pull/4674 Ignore everything I said to QA... Tested on OCP v3.6.133, feature has been added. When creating the ipfailover with option --preemption-strategy="nopreempt" the node in backup state will take the master state and will not enter backup state during the master state node down and up. Commit pushed to master at https://github.com/openshift/openshift-docs https://github.com/openshift/openshift-docs/commit/240f1b28522e07e314656c72156ee08a249fa79e ipfailover - control preempt strategy This allows the admin to control the VRRP preempt strategy. The default strategy, preempt_delay , switches to the higher priority master after a (default 300) delay. The second strategy, nopreempt, suppresses switching when a higher priority host becomes available. The 'oc adm ipfailover --preempt-strategy' option can set the desired strategy. --preempt-strategy sets the OPENSHIFT_HA_PREEMPTION environment variable. bug 1465987 https://bugzilla.redhat.com/show_bug.cgi?id=1465987 origin PR 14947 https://github.com/openshift/origin/pull/14947/ Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:3188 |