Bug 1634303
| Summary: | Filter for non-critical namespaces needs to be tighter; [criticalprefix]-.* vs [criticalprefix].* | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Justin Pierce <jupierce> |
| Component: | Monitoring | Assignee: | Frederic Branczyk <fbranczy> |
| Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.11.0 | CC: | lserven, minden |
| Target Milestone: | --- | ||
| Target Release: | 3.11.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-01-10 09:04:01 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: | |||
Also affects other alerts like: KubePodNotReady, KubeQuotaExceeded, and others. Tracked here: https://github.com/openshift/cluster-monitoring-operator/issues/112 Thanks. Here's a PR with the fix: https://github.com/openshift/cluster-monitoring-operator/pull/113 https://github.com/openshift/cluster-monitoring-operator/pull/113 is merged. We will cherry-pick it into the release-3.11 branch so it can be released in Openshift 3.11.z. Issue is fixed Version: v3.11.30-1 Please change to ON_QA 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/RHBA-2019:0024 |
Description of problem: In namespace filters like: >>>> alert: KubeDeploymentReplicasMismatch expr: kube_deployment_spec_replicas{job="kube-state-metrics",namespace=~"(openshift.*|kube.*|default|logging)"} != kube_deployment_status_replicas_available{job="kube-state-metrics",namespace=~"(openshift.*|kube.*|default|logging)"} for: 1h <<<< The existing regular expression allows in namespaces like "kubeless" which is a standard user project. Suggesting something like: (openshift-.*|kube-.*|default|logging|kube|openshift) Version-Release number of selected component (if applicable): v3.11.16 How reproducible: 100%