After metrics moved to other node, the data are not visible in Web Console
Issue
After moving the metrics's pod to the new nodes, the metrics are not working. The metrics url is accessible, but no actual data are visible in OpenShift's Web Console.
The browser console shows error:
XMLHttpRequest cannot load https://metrics.example.com/hawkular/metrics. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://metrics.example.com' is therefore not allowed access.
Environment
OpenShift Container Platform 3.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.