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-25079: Prevent NoRunningOvnControlPlane alert getting fired continuously #2208
Conversation
… managed cluster In managed cluster kube-rbac-proxy is not there to scrape metrics from ovnkube-cluster-manager. Instead metrics endpoint of ovnkube-cluster-manager gets exposed directly. This PR takes care of following aspects: - Makes 9108 port listen on all IPv4 interfaces instead of localhost only. - Change expression used with NoRunningOvnControlPlane alert to correct namespace to HostedClusterNamespace. Signed-off-by: Arnab Ghosh <arnabghosh89@gmail.com>
Hi @arghosh93. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
@arghosh93: This pull request references Jira Issue OCPBUGS-25079, 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. |
/ok-to-test |
I have followed below procedure to verify the fix.
PFA screenshot showing that the alert stopped getting fired after applying above changes. If the alert is still getting fired then restart promeheus operator POD from openshift-user-workload-monitoring project. There is an open issue[1] for this under prometheus-operator project. [1] - prometheus-operator/prometheus-operator#6018 (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.
change looks safe to me.
/assign @kyrtapz
@@ -42,7 +42,7 @@ spec: | |||
Networking control plane is degraded. Networking configuration updates applied to the cluster will not be | |||
implemented while there are no OVN Kubernetes pods. | |||
expr: | | |||
absent(up{job="ovnkube-control-plane", namespace="openshift-ovn-kubernetes"} == 1) | |||
absent(up{job="ovnkube-control-plane", namespace="{{.HostedClusterNamespace}}"} == 1) |
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.
this change lgtm, PTAL @kyrtapz
when this is backported (if we want to, we probably wanna take care of all the multizone files)
/retest |
/lgtm |
/jira refresh |
@kyrtapz: This pull request references Jira Issue OCPBUGS-25079, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
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. |
|
1 similar comment
/test e2e-hypershift-ovn |
/retest-required |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: arghosh93, jcaamano, kyrtapz 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 |
/retest-required |
1 similar comment
/retest-required |
@arghosh93: The following tests failed, say
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/test-infra repository. I understand the commands that are listed here. |
/retest-required |
855457c
into
openshift:master
@arghosh93: Jira Issue OCPBUGS-25079: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-25079 has been moved to the MODIFIED state. 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. |
Fix included in accepted release 4.16.0-0.nightly-2024-01-31-073538 |
Prevent NoRunningOvnControlPlane alert getting fired continuously for managed cluster
In managed cluster kube-rbac-proxy is not there to scrape metrics from ovnkube-cluster-manager. Instead metrics endpoint of ovnkube-cluster-manager gets exposed directly. This PR takes care of following aspects: