Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1954459

Summary: Error: Gateway Time-out display on Alerting console
Product: OpenShift Container Platform Reporter: hongyan li <hongyli>
Component: MonitoringAssignee: Pawel Krupa <pkrupa>
Status: CLOSED ERRATA QA Contact: hongyan li <hongyli>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.8CC: alegrand, anpicker, erooth, juzhao, kakkoyun, lcosic, pkrupa, spasquie
Target Milestone: ---   
Target Release: 4.8.0   
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: 2021-07-27 23:04:13 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:
Attachments:
Description Flags
screenshot none

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