[Lava-users] ”502 Proxy Error” for large job log & details (in the WEB UI)

Neil Williams neil.williams at linaro.org
Fri Nov 3 14:14:54 UTC 2017


On 3 November 2017 at 14:11, Neil Williams <neil.williams at linaro.org> wrote:

> On 3 November 2017 at 11:57, Dragos Iorgulescu <Dragos.Iorgulescu at enea.com
> > wrote:
>
>> Hello again!
>>
>> After managing to run a consistent series of tests on one of our boards,
>> I came across a situation where the job log seems to be too big for LAVA to
>> display. When clicking the ”Job details” button, the server eventually
>> sends a ”502 Proxy Error” message.
>>
>> Is there a setting or a workaround to make LAVA serve the job log &
>> details in ”chunks”?
>>
>
> Not in chunks, no. However, the UI can be made usable again by using the
> "LOG_SIZE_LIMIT" setting in /etc/lava-server/settings.conf:
>
> This sets the maximum size as 2Mb.
>
>     "LOG_SIZE_LIMIT": 2,
>
> The UI then displays "This log file is too large to view, it can only be
> downloaded" but you do get access to the results and everything else,
> without any proxy error.
>
> I'll create a ticket to add this to the documentation.
>


Tracking as https://projects.linaro.org/browse/LAVA-1097



>
>
>
>>
>> I did download the plain log (using, for example,
>> http://LAVA_HOST/scheduler/job/JOB_ID/log_file/plain),  and it is,
>> indeed, huge (29 MB), but I was just curious if, maybe a ”log
>> rotation”-like mechanism could be used in these situations (somehow).
>>
>> Thanks in advance!
>> --
>> /Dragoş
>>
>> _______________________________________________
>> Lava-users mailing list
>> Lava-users at lists.linaro.org
>> https://lists.linaro.org/mailman/listinfo/lava-users
>>
>>
>
>
> --
>
> Neil Williams
> =============
> neil.williams at linaro.org
> http://www.linux.codehelp.co.uk/
>



-- 

Neil Williams
=============
neil.williams at linaro.org
http://www.linux.codehelp.co.uk/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linaro.org/pipermail/lava-users/attachments/20171103/5a8328a0/attachment-0001.html>


More information about the Lava-users mailing list