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

Bug 1440548

Summary: Get request times out on hawkular/metrics/metrics
Product: OpenShift Container Platform Reporter: Mooli Tayer <mtayer>
Component: HawkularAssignee: Matt Wringe <mwringe>
Status: CLOSED DUPLICATE QA Contact: Liming Zhou <lizhou>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4.1CC: aos-bugs, epacific, eparis, itewksbu, jsanda, lizhou, mtayer, yzamir
Target Milestone: ---   
Target Release: ---   
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: 2017-04-27 20:35:20 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:
Bug Depends On:    
Bug Blocks: 1439852    

Description Mooli Tayer 2017-04-09 21:18:59 UTC
Description of problem:

In ya

[root@itewk-cfme58-test-1 ~]# time curl -k -s     -H "Hawkular-Tenant: _system"     -H "Authorization: Bearer $HAWKULAR_TOKEN"     https://$HAWKULAR_HOST/hawkular/metrics/metrics
<html><body><h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body></html>

real	0m30.185s
user	0m0.044s
sys	0m0.082s

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


How reproducible:


Steps to Reproduce:
1. time curl -k -s     -H "Hawkular-Tenant: _system"     -H "Authorization: Bearer $HAWKULAR_TOKEN"     https://$HAWKULAR_HOST/hawkular/metrics/metrics

Actual results:

<html><body><h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body></html>

real	0m30.185s
user	0m0.044s
sys	0m0.082s


Expected results:

List of metrics

Additional info:

Comment 1 Mooli Tayer 2017-04-09 21:22:30 UTC
Ian please fill in the version of your OCP.

Comment 2 Mooli Tayer 2017-04-09 21:23:43 UTC
See: https://bugzilla.redhat.com/show_bug.cgi?id=1439852#c10

Comment 3 Ian Tewksbury 2017-04-09 21:46:10 UTC
Currently on v3.4.1.7.

Working on upgrade to v3.4.1.12. Will let everyone know if this changes anything.

Comment 4 Matt Wringe 2017-04-10 13:35:01 UTC
We have seen problems in the past as well with the router having issues and not being able to properly handle connections. Checking the router might also be something to look at as well.

We also had a problem in the past where using bad tokens could cause the connection to hang, but that should have already been fixedin v3.4.1.7 (I believe it was fixed in 3.4.1.2)

Is there anything in the Hawkular Metrics logs?

Comment 8 Einat Pacifici 2017-04-25 07:35:41 UTC
*** Bug 1443406 has been marked as a duplicate of this bug. ***

Comment 9 Matt Wringe 2017-04-27 20:35:20 UTC
From https://bugzilla.redhat.com/show_bug.cgi?id=1440548#c7 it looks like its a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1439910

*** This bug has been marked as a duplicate of bug 1439910 ***

Comment 10 Red Hat Bugzilla 2023-09-14 03:56:10 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days