grafana @ ovirt 4.5.0.6 "origin not allowed"

Hello, in my current new installation ovirt-engine-4.5.0.6-1.el8.noarch I have a problem setting up the grafana monitoring portal. I'm supposing that there is some problem regarding connection to ovirt DWH DB. I tested the credentials stored in /etc/grafana/conf/provisioning/datasources/ovirt-dwh.yaml of the ovirt-engine and with psql it seem to work and also the DWH is populated by the engine. But connecting to configuration->data sources and trying to reconfigure the ovirt dwh datasource, when you click on "save & test" it appears a popup telling that the "origin not allowed". I cannot find anything in the grafana log or the httpd log. Can you help?

Hi, I have seen similar thing in my dev environment. However, I blamed a browser because after I cleaned cookies, this error went away. Perhaps you could try to use it in private mode just to test? Artur On Tue, May 10, 2022 at 10:59 AM <diego.ercolani@ssis.sm> wrote:
Hello, in my current new installation ovirt-engine-4.5.0.6-1.el8.noarch I have a problem setting up the grafana monitoring portal. I'm supposing that there is some problem regarding connection to ovirt DWH DB.
I tested the credentials stored in /etc/grafana/conf/provisioning/datasources/ovirt-dwh.yaml of the ovirt-engine and with psql it seem to work and also the DWH is populated by the engine.
But
connecting to configuration->data sources and trying to reconfigure the ovirt dwh datasource, when you click on "save & test" it appears a popup telling that the "origin not allowed". I cannot find anything in the grafana log or the httpd log. Can you help? _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/6USYSPBHOVD4JM...
-- Artur Socha Senior Software Engineer, RHV Red Hat

I tried but obtaining the same message. Keep in mind that I cannot see any data from grafana wichever dashboard I try to visualize I obtain a plenty of popup saying: "Error updating options: origin not allowed"

the following workaround can help: * edit the file /etc/httpd/conf.d/ovirt-engine-grafana-proxy.conf * add "ProxyPreserveHost on" in Location /ovirt-engine-grafana * restart the httpd service ~~~text (/etc/httpd/conf.d/ovirt-engine-grafana-proxy.conf) <IfModule !mod_proxy> LoadModule proxy_module modules/mod_proxy.so </IfModule> <Location /ovirt-engine-grafana> ProxyPreserveHost on ProxyPass http://127.0.0.1:3000 retry=0 disablereuse=On ProxyPassReverse http://127.0.0.1:3000/ovirt-engine-grafana </Location> ~~~

Yes, that worked, I saw this solution but was referred to an old ovirt-engine version, is this a regression issue?

in ovirt-engine-4.5.0.8 I had to reapply the workaround so the problem seem to be here
participants (3)
-
Artur Socha
-
diego.ercolani@ssis.sm
-
Igor Davidoff