-
Notifications
You must be signed in to change notification settings - Fork 463
OCPBUGS-74368: Stale operator metrics Service and ServiceMonitor resources need to be deleted #5593
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-74368: Stale operator metrics Service and ServiceMonitor resources need to be deleted #5593
Conversation
|
@djoshy: This pull request references Jira Issue OCPBUGS-74368, 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: The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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. |
|
/cherry-pick release-4.21 |
|
@djoshy: once the present PR merges, I will cherry-pick it on top of DetailsIn 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 kubernetes-sigs/prow repository. |
|
@djoshy: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
I verified this on a forced cluster upgrade from Install time cluster version history: Resources: Force an upgrade to an OCP build based on the nightly above, with this PR: Wait for upgrade to complete ( It may take a minute or so after the upgrade is complete(on AWS at least), then verify resources in question: The operator metrics resources have been removed. |
|
Pre-merge verified: Verification Steps Installed the cluster on this fix. $ oc get service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kube-rbac-proxy-crio ClusterIP 172.30.139.63 <none> 9637/TCP 47m
machine-config-controller ClusterIP 172.30.68.63 <none> 9001/TCP 47m
machine-config-daemon ClusterIP 172.30.247.18 <none> 9001/TCP,8798/TCP 47m
machine-config-server ClusterIP 172.30.173.28 <none> 22623/TCP,22624/TCP 47m
$ oc get servicemonitor
NAME AGE
machine-config-controller 47m
machine-config-daemon 47mInstalled 4.20 cluster, check the below service and service monitor in openshift-machine-config-operator name $ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.20.0-0.nightly-2026-01-26-202217 True False 108m Cluster version is 4.20.0-0.nightly-2026-01-26-202217
$ oc get servicemonitor
NAME AGE
machine-config-controller 3h2m
machine-config-daemon 3h2m
machine-config-operator 3h2m
$ oc get service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kube-rbac-proxy-crio ClusterIP 172.30.235.30 <none> 9637/TCP 136m
machine-config-controller ClusterIP 172.30.94.80 <none> 9001/TCP 136m
machine-config-daemon ClusterIP 172.30.218.144 <none> 9001/TCP,8798/TCP 136m
machine-config-operator ClusterIP 172.30.162.120 <none> 9001/TCP 136m
machine-config-server ClusterIP 172.30.133.134 <none> 22623/TCP,22624/TCP 136mUpgrade the cluster to this fix $ oc get servicemonitor
NAME AGE
machine-config-controller 3h2m
machine-config-daemon 3h2m
machine-config-operator 3h2m
$ oc get service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kube-rbac-proxy-crio ClusterIP 172.30.235.30 <none> 9637/TCP 3h28m
machine-config-controller ClusterIP 172.30.94.80 <none> 9001/TCP 3h28m
machine-config-daemon ClusterIP 172.30.218.144 <none> 9001/TCP,8798/TCP 3h28m
machine-config-server ClusterIP 172.30.133.134 <none> 22623/TCP,22624/TCP 3h28mNo /label qe-approved |
|
@djoshy: This pull request references Jira Issue OCPBUGS-74368, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn 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. |
|
/verified by @ptalgulk01 |
|
@djoshy: This PR has been marked as verified by DetailsIn 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. |
isabella-janssen
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
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: djoshy, isabella-janssen The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
9434cb8
into
openshift:main
|
@djoshy: Jira Issue Verification Checks: Jira Issue OCPBUGS-74368 Jira Issue OCPBUGS-74368 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 DetailsIn 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. |
|
@djoshy: new pull request created: #5600 DetailsIn 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 kubernetes-sigs/prow repository. |
- What I did
Added deletion manifests for the following resources:
- How to verify it