------=_Part_14174312_2110267692.1391522159621
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
From: "Alessandro Bianchi" <a.bianchi(a)skynet.it>
To: "Yedidyah Bar David" <didi(a)redhat.com>
Cc: "Gianluca Cecchi" <gianluca.cecchi(a)gmail.com>, "users"
<users(a)ovirt.org>
Sent: Tuesday, February 4, 2014 3:35:47 PM
Subject: Re: [Users] ovirt-report Forbidden access error
Il 04/02/2014 14:06, Yedidyah Bar David ha scritto:
> ----- Original Message -----
> > From: "Alessandro Bianchi"
<a.bianchi(a)skynet.it> To: "Yedidyah Bar David"
> > <didi(a)redhat.com> Cc: "Gianluca Cecchi"
<gianluca.cecchi(a)gmail.com> ,
> > "users" <users(a)ovirt.org> Sent: Tuesday, February 4, 2014
2:49:47 PM
>
> > Subject: Re: [Users] ovirt-report Forbidden access error
>
> [snip]
> (for now I'll ignore the confs (which seem ok) and the logs
(which will
> require more time to understand)
> > postgres-# select * from vdc_options where
>
> > option_name='RedirectServletReportsPage'
>
> > postgres-#
>
> > (no results)
>
> This is probably the source of the problem.
> Can you post all the setup log files (engine, dwh, reports)?
> The line is normally inserted by engine-setup and updated by
reports-setup.
Engine setup is quite older since I didn't install reports at
that time
It's not supposed to be rotated, you should be able to find it with
find /var/log/ovirt-engine -iname "*setup*"
3.3 engine setup keeps them under a subdir setup/, the rest (<=3.2 engine and <=3.3
dwh/reports)
keep them directly there (and in 3.4 all will keep in setup/).
Let me know if anything else may help
As I said, not having
this line might imply there are other problems.
You can try solve this one by adding it. In psql connected to db engine:
select
fn_db_add_config_value('RedirectServletReportsPage','https://YOUR_FQDN:443/ovirt-engine-reports','general');
(replace YOUR_FQDN with your engine fqdn).
--
Didi
------=_Part_14174312_2110267692.1391522159621
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<html><body><div style="font-family: times new roman, new york, times,
serif; font-size: 12pt; color: #000000"><div></div><blockquote
style="border-left:2px solid
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From:
</b>"Alessandro Bianchi"
&lt;a.bianchi(a)skynet.it&gt;<br><b>To: </b>"Yedidyah Bar
David" &lt;didi(a)redhat.com&gt;<br><b>Cc: </b>"Gianluca
Cecchi" &lt;gianluca.cecchi(a)gmail.com&gt;, "users"
&lt;users(a)ovirt.org&gt;<br><b>Sent: </b>Tuesday, February 4,
2014 3:35:47 PM<br><b>Subject: </b>Re: [Users] ovirt-report Forbidden
access error<br><div><br></div><br><br><span
style="color:#000000; font-family:sans-serif; font-size:12px;
font-weight:normal" class="headerSpan">
<div class="moz-cite-prefix">Il 04/02/2014 14:06, Yedidyah Bar
David ha scritto:<br></div>
</span><blockquote style="border-left: 2px solid #009900 !important;
border-right: 2px solid #009900 !important; padding: 0px 15px 0px
15px; margin: 8px 2px;"
cite="mid:1788360087.14121691.1391519213291.JavaMail.root@redhat.com"><pre>-----
Original Message -----
</pre><blockquote style="border-left: 2px solid #009900 !important;
border-right: 2px solid #009900 !important; padding: 0px 15px
0px 15px; margin: 8px 2px;"><pre>From: "Alessandro
Bianchi" <a class="moz-txt-link-rfc2396E"
href="mailto:a.bianchi@skynet.it"
target="_blank">&lt;a.bianchi(a)skynet.it&gt;</a>
To: "Yedidyah Bar David" <a class="moz-txt-link-rfc2396E"
href="mailto:didi@redhat.com"
target="_blank">&lt;didi(a)redhat.com&gt;</a>
Cc: "Gianluca Cecchi" <a class="moz-txt-link-rfc2396E"
href="mailto:gianluca.cecchi@gmail.com"
target="_blank">&lt;gianluca.cecchi(a)gmail.com&gt;</a>,
"users" <a class="moz-txt-link-rfc2396E"
href="mailto:users@ovirt.org"
target="_blank">&lt;users(a)ovirt.org&gt;</a>
Sent: Tuesday, February 4, 2014 2:49:47 PM
Subject: Re: [Users] ovirt-report Forbidden access error
</pre></blockquote><pre>[snip]
(for now I'll ignore the confs (which seem ok) and the logs (which will
require more time to understand)
</pre><blockquote style="border-left: 2px solid #009900 !important;
border-right: 2px solid #009900 !important; padding: 0px 15px
0px 15px; margin: 8px 2px;"><pre>postgres-# select * from
vdc_options where
option_name='RedirectServletReportsPage'
postgres-#
(no results)
</pre></blockquote><pre>This is probably the source of the problem.
Can you post all the setup log files (engine, dwh, reports)?
The line is normally inserted by engine-setup and updated by reports-setup.
</pre></blockquote>
Engine setup is quite older since I didn't install reports at that
time</blockquote><div><br></div><div>It's not
supposed to be rotated, you should be able to find it with</div><div>find
/var/log/ovirt-engine -iname
"*setup*"</div><div><br></div><div>3.3 engine
setup keeps them under a subdir setup/, the rest (<=3.2 engine and <=3.3
dwh/reports)</div><div>keep them directly there (and in 3.4 all will keep in
setup/).</div><div><br></div><blockquote
style="border-left:2px solid
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br><br>
Let me know if anything else may
help</blockquote><div><br></div><div>As I said, not having
this line might imply there are other
problems.</div><div><br></div><div> You can try solve this
one <span style="font-size: 12pt;">by adding it. In psql
connected to db engine:</span></div><div> select
fn_db_add_config_value('RedirectServletReportsPage','https://YOUR_FQDN:443/ovirt-engine-reports','general');</div><div>(replace
YOUR_FQDN with your engine fqdn).</div><div><span style="font-size:
12pt;">-- </span></div><div><span
name="x"></span>Didi<span
name="x"></span><br></div><div><br></div><style>
<!--
P { font-family: "Arial", "Helvetica", sans-serif; font-size: 10pt
}
P.nome { color: #ff8000; font-family: "Arial", "Helvetica",
sans-serif; font-size: 12pt; font-weight: bold; text-align: center }
P.indirizzo { color: #0084d1; font-family: "Arial", "Helvetica",
sans-serif; font-size: 10pt; font-weight: bold; line-height: 0.48cm; text-align: center }
P.info { color: #b3b3b3; font-family: "Arial", "Helvetica",
sans-serif; font-size: 9pt }
A:link { color: #005dff; text-decoration: none }
A:visited { color: #005dff; text-decoration: none }
-->
</style></div></body></html>
------=_Part_14174312_2110267692.1391522159621--