<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"><<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>></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>
><br>
><br>
> On Fri, Sep 2, 2016 at 1:38 PM, Yaniv Kaul <<a href="mailto:ykaul@redhat.com">ykaul@redhat.com</a><br>
</span><span class="gmail-">> <mailto:<a href="mailto:ykaul@redhat.com">ykaul@redhat.com</a>>> wrote:<br>
><br>
> Log:<br>
><br>
> 2016-09-02 07:26:52::ERROR::hypervisors::<wbr>197::root:: Failure<br>
> fetching information about hypervisors from API.<br>
> Error (ValueError): legacy is not a valid RngSource<br>
> 2016-09-02 07:26:52::ERROR::__main__::<wbr>1147::root::<br>
> _get_hypervisors_from_api: legacy is not a valid RngSource<br>
> 2016-09-02 07:26:52::INFO::__main__::<wbr>1424::root:: Gathering oVirt<br>
> Engine information...<br>
> 2016-09-02 07:27:03::INFO::__main__::<wbr>1398::root:: Gathering<br>
> PostgreSQL the oVirt Engine database and log files from localhost...<br>
> 2016-09-02 07:27:05::INFO::__main__::<wbr>1859::root:: No hypervisors<br>
> were selected, therefore no hypervisor data will be collected.<br>
> 2016-09-02 07:27:08::INFO::__main__::<wbr>1862::root:: Log files have<br>
> been collected and placed in<br>
> /tmp/sosreport-LogCollector-<wbr>20160902072705.tar.xz.<br>
><br>
><br>
> I am not familiar with this error - first time I've seen it, while<br>
> running on Master, on Lago (with a patch I'm working on - that adds<br>
> DNS and IPv6 support to Lago, nothing more - doesn't seem relevant).<br>
> Any idea?<br>
><br>
><br>
><br>
> Probably a change in the API.<br>
> Rafael can you reproduce?<br>
><br>
> Juan, Ondra, any insight?<br>
><br>
<br>
</span>That means that the API is returning "legacy" as the value for something<br>
that is declared of type "RngSource", and the valid values for that are<br>
"random" and "hwrng". But the API can'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'm not sure what the log collector is using. I assume[1] it'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>
><br>
><br>
><br>
><br>
> Y.<br>
><br>
><br>
><br>
><br>
> --<br>
> Sandro Bonazzola<br>
> Better technology. Faster innovation. Powered by community collaboration.<br>
</span>> See how it works at <a href="http://redhat.com" rel="noreferrer" target="_blank">redhat.com</a> <<a href="http://redhat.com" rel="noreferrer" target="_blank">http://redhat.com</a>><br>
> <<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>><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Devel mailing list<br>
> <a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
><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>