[ovirt-users] oVIRT 3.5/CentOS 6.5 Reports are not working anymore

Yedidyah Bar David didi at redhat.com
Wed Oct 22 19:38:56 UTC 2014


----- Original Message -----
> From: "Hans-Joachim" <rni at chef.net>
> To: "Yedidyah Bar David" <didi at redhat.com>
> Cc: users at ovirt.org, "Shirly Radco" <sradco at redhat.com>
> Sent: Wednesday, October 22, 2014 6:22:54 PM
> Subject: Re: [ovirt-users] oVIRT 3.5/CentOS 6.5 Reports are not working anymore
> 
> Hello,
> 
> well, I can't find anything special within the httpd logs. Only ssl_error_log
> shows some, but there is no relation to the connection tries.
> 
> [Wed Oct 22 11:35:59 2014] [error] (111)Connection refused: proxy: AJP:
> attempt to connect to 127.0.0.1:8702 (localhost) failed
> [Wed Oct 22 11:35:59 2014] [error] ap_proxy_connect_backend disabling worker
> for (localhost)
> [Wed Oct 22 11:35:59 2014] [error] proxy: AJP: failed to make connection to
> backend: localhost

This is an error while trying to connect to the engine, not to reports.

In 3.5, engine and reports have each its own jboss instance listening on its
own local ports. 8702 is the engine's, 8712 is reports'.

> 
> /etc/httpd/conf.d/z-ovirt-engine-reports-proxy.conf:
> <IfModule proxy_ajp_module>
> 
>     <Location /ovirt-engine-reports>
>         ProxyPassMatch ajp://127.0.0.1:8712 timeout=3600 retry=5

This one ^^, and

>         <IfModule deflate_module>
>             AddOutputFilterByType DEFLATE text/javascript text/css text/html
>             text/xml text/json application/xml application/json
>             application/x-yaml
>         </IfModule>
>     </Location>
> 
> </IfModule>
> 
> /etc/ovirt-engine/engine.conf.d/10-setup-reports-access.conf:
> ENGINE_REPORTS_BASE_URL=https://myserver.domain/ovirt-engine-reports

this one ^^

are a bit weird for me. I'd expect the same hostname in both.

Normally, you should input, when asked for the host's fqdn, a hostname,
and not an ip address, and this name should point to a public ip address,
not 127.0.0.1.

Since this is an upgrade, iirc you were not even asked about this. Were you?

What do you have in /etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf ?
If not an ip address but a hostname, does this name resolve to an external
address? If not, I think you can fix this simply by changing it to point to
an external address - edit /etc/hosts or your dns server. If you have there
127.0.0.1, not sure where 'myserver.domain' came from.
-- 
Didi



More information about the Users mailing list