Closed simonpasquier closed 1 month ago
@simonpasquier: This pull request references Jira Issue OCPBUGS-39126, which is invalid:
Comment /jira refresh
to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.
The bug has been updated to refer to the pull request using the external bug tracker.
/hold need to update the e2e tests
/jira refresh
@simonpasquier: This pull request references Jira Issue OCPBUGS-39126, which is valid. The bug has been moved to the POST state.
Requesting review from QA contact: /cc @juzhao
/skip
/retest-required
/hold cancel
/cc @machine424
I've tested the PR to see if it could help with issues like
After deploying the compliance operator and otel operator + enabling user-defined monitoring, I see the PrometheusOperatorRejectedResources active (as expected):
After labeling the 2 service monitor objects with openshift.io/user-monitoring="false"
, the alert went away:
/lgtm But I’m concerned this might discourage users from addressing the root cause of the issue: deploying operators in the wrong ns. Also, this could create confusion (I don't know if we want to document it or not) as now looking at the ns labels isn't enough to be sure a resource would be considered.
nit: I think you meant openshift.io/user-monitoring="false"
in the PR desc.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: machine424, simonpasquier
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@simonpasquier: The following test failed, say /retest
to rerun all failed tests or /retest-required
to rerun all mandatory failed tests:
Test name | Commit | Details | Required | Rerun command |
---|---|---|---|---|
ci/prow/versions | dd9708a6b749bd67540b6198064278cbf70830bd | link | false | /test versions |
Full PR test history. Your PR dashboard.
/retest-required
Remaining retests: 0 against base HEAD 886a4be40db97afb3638fab99246e0e2ab8111d7 and 2 for PR HEAD dd9708a6b749bd67540b6198064278cbf70830bd in total
@simonpasquier: Jira Issue OCPBUGS-39126: Some pull requests linked via external trackers have merged:
The following pull requests linked via external trackers have not merged:
These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with /jira refresh
.
Jira Issue OCPBUGS-39126 has not been moved to the MODIFIED state.
[ART PR BUILD NOTIFIER]
Distgit: cluster-monitoring-operator This PR has been included in build cluster-monitoring-operator-container-v4.18.0-202409060111.p0.gc5668e3.assembly.stream.el9. All builds following this will include this PR.
@simonpasquier: Jira Issue OCPBUGS-39126: Some pull requests linked via external trackers have merged:
The following pull requests linked via external trackers have not merged:
These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with /jira refresh
.
Jira Issue OCPBUGS-39126 has not been moved to the MODIFIED state.
/cherrypick release-4.17 release-4.16
@simonpasquier: new pull request created: #2458
Before this change, a project owner could only disable user-defined monitoring per namespace/project (typically to prevent the
PrometheusOperatorRejectedResources
alert from firing).To provide greater flexibility, it is now possible to exclude individual objects (e.g.
ServiceMonitor
,PodMonitor
andPrometheusRule
) by adding theopenshift.io/user-monitoring="false"
label to them.