-
Notifications
You must be signed in to change notification settings - Fork 133
OCPBUGS-49908: dynamicallyReplaceEndpoints: Check for idled svc #685
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
OCPBUGS-49908: dynamicallyReplaceEndpoints: Check for idled svc #685
Conversation
When dynamically replacing a route's endpoints, force a reload if the new endpoints include an endpoint for an idled service. Before this commit, the Dynamic Configuration Manager could replace an active endpoint that had the health check enabled with the endpoint for an idled service, leaving the health check enabled for the idled service. The health check could then cause the idled service to be unidled. This commit inhibits dynamic updates for a route that has an idled endpoint; this means that the router follows the conventional update logic, which does not enable health checks for idled services. This commit fixes OCPBUGS-49908. https://issues.redhat.com/browse/OCPBUGS-49908 * pkg/router/template/router.go (dynamicallyReplaceEndpoints): Log and return false if the new endpoints include one for an idled service.
|
@Miciah: This pull request references Jira Issue OCPBUGS-49908, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@Miciah: This pull request references Jira Issue OCPBUGS-49908, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/assign @rikatz @grzpiotrowski |
rikatz
left a comment
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.
looks good to me, thanks for the detailed explanation.
Will leave the lgtm for @grzpiotrowski
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rikatz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
grzpiotrowski
left a comment
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
|
@Miciah: This pull request references Jira Issue OCPBUGS-49908, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
marking bug as verified tested on ran /verified by @rhamini3 |
|
@rhamini3: This PR has been marked as verified by In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@Miciah: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@Miciah: Jira Issue Verification Checks: Jira Issue OCPBUGS-49908 Jira Issue OCPBUGS-49908 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
When dynamically replacing a route's endpoints, force a reload if the new endpoints include an endpoint for an idled service.
Before this change, the Dynamic Configuration Manager could replace an active endpoint that had the health check enabled with the endpoint for an idled service, leaving the health check enabled for the idled service. The health check could then cause the idled service to be unidled. This commit inhibits dynamic updates for a route that has an idled endpoint; this means that the router follows the conventional update logic, which does not enable health checks for idled services.
Once this PR merges, we need to post a revert of openshift/api#2552 to move DCM back to TPNU.