[ovirt-devel] oVirt log analyzer

Milan Zamazal mzamazal at redhat.com
Tue Apr 3 09:55:20 UTC 2018


Barak Korren <bkorren at redhat.com> writes:

> On 29 March 2018 at 21:11, Tomas Jelinek <tjelinek at redhat.com> wrote:
>
>>
>>
>> On Thu, Mar 29, 2018 at 7:55 PM, Greg Sheremeta <gshereme at redhat.com>
>> wrote:
>>
>>> Nice! I think a nice RFE would be to surface this info in the UI.
>>>
>>> On Thu, Mar 29, 2018 at 8:30 AM, Milan Zamazal <mzamazal at redhat.com>
>>> wrote:
>>>
>>>> Hi, during last year Outreachy internship a tool for analyzing oVirt
>>>> logs was created.  When it is provided with oVirt logs (such as SOS
>>>> reports, logs gathered by Lago, single or multiple log files) it tries
>>>> to identify and classify important lines from the logs and present them
>>>> in a structured form.  Its primary purpose is to get a quick and easy
>>>> overview of actions and errors.
>>>>
>>>
>> I would add that it can correlate more log files (from
>> engine/vdsm/libvirt/quemu) and show a unified view of them.
>> It can follow the life of one entity (such as a VM) and show what was
>> going on with it across the system. I have used it a lot to look for races
>> and it was pretty useful for that.
>>
>
>
> I wonder if we can automate running it on OST failures to get automated
> failure analysis.

Well, ovirt-log-analyzer doesn't provide failure analysis, it just tries
to extract more important lines from the logs and add some information
to them.  It may or may not be useful to add its output to OST failures
in future, but some feedback and testing are needed first, I assume
there are still bugs and things to improve.

>>>> The tool analyses given logs and produces text files with the extracted
>>>> information.  There is an Emacs user interface that presents the output
>>>> in a nice way with added functionality such as filtering.  Emacs haters
>>>> can use the plain text files or write another user interface. :-)
>>>>
>>>> You can get ovirt-log-analyzer from
>>>> https://github.com/mz-pdm/ovirt-log-analyzer
>>>> README.md explains how to use it.
>>>>
>>>> Note that ovirt-log-analyzer has been created within the limited
>>>> resources of an Outreachy internship with some additional work and not
>>>> everything is perfect.  Feel free to make improvements.
>>>>
>>>> Regards,
>>>> Milan
>>>> _______________________________________________
>>>> Devel mailing list
>>>> Devel at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/devel
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> GREG SHEREMETA
>>>
>>> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
>>>
>>> Red Hat NA
>>>
>>> <https://www.redhat.com/>
>>>
>>> gshereme at redhat.com    IRC: gshereme
>>> <https://red.ht/sig>
>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/devel
>>>
>>
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/devel
>>


More information about the Devel mailing list