| Summary: | [ded-int-gcp] WebSocket timeouts from Web Console and not metrics | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Steve Speicher <sspeiche> |
| Component: | Hawkular | Assignee: | Abhishek Gupta <abhgupta> |
| Status: | CLOSED NOTABUG | QA Contact: | Peng Li <penli> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | aos-bugs, bingli, jforrest, mwoodson, mwringe, zhezli |
| Target Milestone: | --- | Keywords: | TestBlocker |
| 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: | 2016-11-15 20:13:32 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: | |
|
Description
Steve Speicher
2016-11-11 18:10:04 UTC
I think the metrics need to be configured to add that header field. It's something that comes in the response, not something that we do in the router. Are we hitting this issue? https://code.google.com/p/googleappengine/issues/detail?id=11570 There seem to be multiple things going on here. I can't recreate the websocket issues, they are working fine for me. For the metrics requests, we are getting the CORS headers returned on the OPTIONS preflight requests to metrics, but on the subsequent GET requests the headers are not returned. @mwringe any thoughts here? Usually when we see "No 'Access-Control-Allow-Origin' header is present on the requested resource" there is something wrong with the setup. We have seen this before when the metrics url in the master-config.yaml does not include "/hawkular/metrics" at the end. This would cause the console to request an endpoint which doesn't belong to Hawkular Metrics and hence does not return the proper CORS header. From the looks of the request though, you are including "/hawkular/metrics". Are you able to access https://metrics.ded-int-gcp.openshift.com/hawkular/metrics/status in a browser? What version of OpenShift and what version of Hawkular Metrics are you using? Please ignore my comment #2. This is a bug in GCP using managedVMs. We are not using this, we are using regular VM's with network loadbalancing. This does support websockets according to their documentation. If we were seeing the issue, I think that it would also show up in console tasks, and Jessica does confirm they work. Sorry for the confusion. some info for Matt Wringe, commented #4 # oc version oc v3.3.1.3 kubernetes v1.3.0+52492b4 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://internal.api.ded-int-gcp.openshift.com openshift v3.3.1.3 kubernetes v1.3.0+52492b4 # grep metrics /etc/origin/master/master-config.yaml metricsPublicURL: https://metrics.ded-int-gcp.openshift.com/hawkular/metrics Matt Wringe helped identify that the version of metrics running on ded-int-gcp was old. I did a re-install of metrics, and it is now confirmed working. Steve, I will let you handle this bug. No longer a bug. It is localized to my browser (websockets issue) and not a loadbalancer issue we can tell. Have had 3+ others verify it works fine on Chrome and works fine for me on Firefox |