Bug 1893798 - Lots of error messages starting with "get namespace to enqueue Alertmanager instances failed" in the logs of prometheus-operator
Summary: Lots of error messages starting with "get namespace to enqueue Alertmanager i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.7
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.7.0
Assignee: Damien Grisonnet
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-02 16:13 UTC by Simon Pasquier
Modified: 2021-02-24 15:29 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:29:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
prometheus-operator container logs (198.10 KB, text/plain)
2020-11-30 03:59 UTC, Junqi Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift prometheus-operator pull 101 0 None closed Bug 1893798: MON-1302: Bump prometheus-operator to v0.44.0 2021-01-13 09:58:23 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:29:55 UTC

Description Simon Pasquier 2020-11-02 16:13:24 UTC
Description of problem:
On startup, the prometheus operator logs a lot of error messages like "get namespace to enqueue Alertmanager instances failed: ...".

Version-Release number of selected component (if applicable):
4.7

How reproducible:
Always

Steps to Reproduce:
1. Look at the prometheus-operator logs in openshift-monitoring namespace.

Actual results:
Lots of error logs.

Expected results:
No error.

Additional info:
Fixed upstream in https://github.com/prometheus-operator/prometheus-operator/pull/3641..

Comment 1 Simon Pasquier 2020-11-06 13:48:21 UTC
The fix is available in v0.43.1 (and later).

Comment 4 Junqi Zhao 2020-11-30 03:59:15 UTC
Created attachment 1734720 [details]
prometheus-operator container logs

"get namespace to enqueue Alertmanager instances failed" for all namespaces in prometheus-operator logs

Comment 8 Junqi Zhao 2020-12-14 03:41:41 UTC
issue is fixed
4.7.0-0.nightly-2020-12-13-202314
Prometheus Operator version="(version=0.44.1
# oc -n openshift-monitoring logs $(oc -n openshift-monitoring get po | grep prometheus-operator | awk '{print $1}') -c prometheus-operator | grep "get namespace to enqueue Alertmanager instances failed"
no result

Comment 12 errata-xmlrpc 2021-02-24 15:29:19 UTC
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633


Note You need to log in before you can comment on or make changes to this bug.