<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 2, 2016 at 3:14 PM, Juan Hernández <span dir="ltr">&lt;<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 09/02/2016 02:00 PM, Sandro Bonazzola wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Sep 2, 2016 at 1:38 PM, Yaniv Kaul &lt;<a href="mailto:ykaul@redhat.com">ykaul@redhat.com</a><br>
</span><span class="gmail-">&gt; &lt;mailto:<a href="mailto:ykaul@redhat.com">ykaul@redhat.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Log:<br>
&gt;<br>
&gt;     2016-09-02 07:26:52::ERROR::hypervisors::<wbr>197::root:: Failure<br>
&gt;     fetching information about hypervisors from API.<br>
&gt;     Error (ValueError): legacy is not a valid RngSource<br>
&gt;     2016-09-02 07:26:52::ERROR::__main__::<wbr>1147::root::<br>
&gt;     _get_hypervisors_from_api: legacy is not a valid RngSource<br>
&gt;     2016-09-02 07:26:52::INFO::__main__::<wbr>1424::root:: Gathering oVirt<br>
&gt;     Engine information...<br>
&gt;     2016-09-02 07:27:03::INFO::__main__::<wbr>1398::root:: Gathering<br>
&gt;     PostgreSQL the oVirt Engine database and log files from localhost...<br>
&gt;     2016-09-02 07:27:05::INFO::__main__::<wbr>1859::root:: No hypervisors<br>
&gt;     were selected, therefore no hypervisor data will be collected.<br>
&gt;     2016-09-02 07:27:08::INFO::__main__::<wbr>1862::root:: Log files have<br>
&gt;     been collected and placed in<br>
&gt;     /tmp/sosreport-LogCollector-<wbr>20160902072705.tar.xz.<br>
&gt;<br>
&gt;<br>
&gt;     I am not familiar with this error - first time I&#39;ve seen it, while<br>
&gt;     running on Master, on Lago (with a patch I&#39;m working on - that adds<br>
&gt;     DNS and IPv6 support to Lago, nothing more - doesn&#39;t seem relevant).<br>
&gt;     Any idea?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Probably a change in the API.<br>
&gt; Rafael can you reproduce?<br>
&gt;<br>
&gt; Juan, Ondra, any insight?<br>
&gt;<br>
<br>
</span>That means that the API is returning &quot;legacy&quot; as the value for something<br>
that is declared of type &quot;RngSource&quot;, and the valid values for that are<br>
&quot;random&quot; and &quot;hwrng&quot;. But the API can&#39;t return that, at least not<br>
version 4 of the API. Are you using engine 4? Can you share the output<br>
of the clusters resource?<br>
<br>
  https://.../ovirt-engine/api/<wbr>clusters<br></blockquote><div><br></div><div>Lago is still using the v3 API.</div><div>I&#39;m not sure what the log collector is using. I assume[1] it&#39;s v4.</div><div><br></div><div>Y.</div><div>[1] <a href="https://github.com/oVirt/ovirt-log-collector/blob/dfaf35675bee3da1c53b4fd74b816efafa13d070/src/helper/hypervisors.py#L8">https://github.com/oVirt/ovirt-log-collector/blob/dfaf35675bee3da1c53b4fd74b816efafa13d070/src/helper/hypervisors.py#L8</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="gmail-"><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     Y.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Sandro Bonazzola<br>
&gt; Better technology. Faster innovation. Powered by community collaboration.<br>
</span>&gt; See how it works at <a href="http://redhat.com" rel="noreferrer" target="_blank">redhat.com</a> &lt;<a href="http://redhat.com" rel="noreferrer" target="_blank">http://redhat.com</a>&gt;<br>
&gt; &lt;<a href="https://www.redhat.com/it/about/events/red-hat-open-source-day-2016" rel="noreferrer" target="_blank">https://www.redhat.com/it/<wbr>about/events/red-hat-open-<wbr>source-day-2016</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Devel mailing list<br>
&gt; <a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
&gt;<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
--<br>
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta<br>
3ºD, 28016 Madrid, Spain<br>
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.<br>
</font></span></blockquote></div><br></div></div>