Bug 1954459 - Error: Gateway Time-out display on Alerting console
Summary: Error: Gateway Time-out display on Alerting console
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.8.0
Assignee: Pawel Krupa
QA Contact: hongyan li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-28 07:53 UTC by hongyan li
Modified: 2021-07-27 23:04 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 23:04:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (168.78 KB, image/png)
2021-04-28 07:53 UTC, hongyan li
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-monitoring-operator pull 1127 0 None closed Bug 1946865: Update kube prometheus and related assets 2021-05-04 18:19:24 UTC
Github openshift cluster-monitoring-operator pull 1138 0 None open Bug 1954421: remove managed-by label as it is conflicting with prometheus-operator 2021-04-28 09:56:00 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:04:37 UTC

Description hongyan li 2021-04-28 07:53:35 UTC
Created attachment 1776392 [details]
screenshot

Description of problem:
Error: Gateway Time-out display on Alerting console

Version-Release number of selected component (if applicable):
4.8.0-0.nightly-2021-04-28-005607

How reproducible:
always

Steps to Reproduce:
1.Go to console->Monitoring-Alerting
2.

Actual results:
No error

Expected results:
Error: Gateway Time-out display on Alerting console

Additional info:

Comment 2 hongyan li 2021-04-28 08:11:07 UTC
Get 'Application is not available' when access AlertManager UI, see bug https://bugzilla.redhat.com/show_bug.cgi?id=1954421. Not sure if it's the same root cause.

Comment 3 hongyan li 2021-04-28 08:41:26 UTC
#token=`oc sa get-token prometheus-k8s -n openshift-monitoring`

#oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- curl -k -H "Authorization: Bearer $token" https://alertmanager-main.openshift-monitoring.svc:9094/api/v1/alerts
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:02:08 --:--:--     0curl: (7) Failed to connect to alertmanager-main.openshift-monitoring.svc port 9094: Connection timed out
command terminated with exit code 7

#oc -n openshift-monitoring get svc
NAME                            TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)                      AGE
alertmanager-main               ClusterIP   172.30.80.69     <none>        9094/TCP,9092/TCP            4h40m

#oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- curl -k -H "Authorization: Bearer $token" https://{alertmanager_cluster_ip}:9094/api/v1/alerts
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:02:10 --:--:--     0curl: (7) Failed to connect to 172.30.80.69 port 9094: Connection timed out
command terminated with exit code 7


#oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- curl -k -H "Authorization: Bearer $token" https://{alertmanager_pod_ip}:9094/api/v1/alerts
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to 10.128.2.31:9094

Comment 7 hongyan li 2021-05-06 07:23:41 UTC
Test with payload 4.8.0-0.nightly-2021-05-06-003426

Alert UI works well

Comment 10 errata-xmlrpc 2021-07-27 23:04:13 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.8.2 bug fix and security 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-2021:2438


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