Hi!
Problem, that I'm receiving Internal Server Error Error log of django : https://pastebin.com/9dxTi0nm Log of apache : https://pastebin.com/SSwyHymT
I've started working with LAVA. I installed on VirtualBox Debian stretch, as recommended. I want lava-server lava-master lava-slave on one machine and work locally. I provided next step for installing LAVA:
Add this lines to /etc/apt/sources.list deb http://deb.debian.org/debian stretch-backports main deb https://apt.lavasoftware.org/release stretch-backports main
root# wget https://apt.lavasoftware.org/lavasoftware.key.asc root# apt-key add lavasoftware.key.asc root# apt-get update root# apt -t stretch-backports install lava-server root# a2dissite 000-default root# a2enmod proxy root# a2enmod proxy_http root# a2ensite lava-server.conf root# service apache2 restart
After that I changed some parameters as written here : https://validation.linaro.org/static/docs/v2/installing_on_debian.html#using... to run locally
I checked variables value http://54.68.224.33/static/docs/v2/pipeline-debug.html#displaying-current-se... It is similar to what I set up.
root# lava-server manage check --deploy
?: (security.W012) SESSION_COOKIE_SECURE is not set to True. Using a secure-only session cookie makes it more difficult for network traffic sniffers to hijack user sessions. ?: (security.W016) You have 'django.middleware.csrf.CsrfViewMiddleware' in your MIDDLEWARE, but you have not set CSRF_COOKIE_SECURE to True. Using a secure-only CSRF cookie makes it more difficult for network traffic sniffers to steal the CSRF token.
I've read that mailing list post: https://lists.lavasoftware.org/pipermail/lava-users/2018-March/000884.html So I download http://cdn-fastly.deb.debian.org/debian/pool/main/d/django-tables/python3-dj... and dpkg -i to downgrade python3-django-tables2 restart everything. This didnt helped.
Ilya.
Please try with buster. I don't think we uploaded to stretch backports for some time now.
Having said that, which version did you install? The problem seems to happen somewhere around REST API. I didn't notice anything similar for 2019.05, 06, and 07
milosz
On Mon, 2 Sep 2019 at 15:04, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Hi!
Problem, that I'm receiving Internal Server Error Error log of django : https://pastebin.com/9dxTi0nm Log of apache : https://pastebin.com/SSwyHymT
I've started working with LAVA. I installed on VirtualBox Debian stretch, as recommended. I want lava-server lava-master lava-slave on one machine and work locally. I provided next step for installing LAVA:
Add this lines to /etc/apt/sources.list deb http://deb.debian.org/debian stretch-backports main deb https://apt.lavasoftware.org/release stretch-backports main
root# wget https://apt.lavasoftware.org/lavasoftware.key.asc root# apt-key add lavasoftware.key.asc root# apt-get update root# apt -t stretch-backports install lava-server root# a2dissite 000-default root# a2enmod proxy root# a2enmod proxy_http root# a2ensite lava-server.conf root# service apache2 restart
After that I changed some parameters as written here : https://validation.linaro.org/static/docs/v2/installing_on_debian.html#using... to run locally
I checked variables value http://54.68.224.33/static/docs/v2/pipeline-debug.html#displaying-current-se... It is similar to what I set up.
root# lava-server manage check --deploy
?: (security.W012) SESSION_COOKIE_SECURE is not set to True. Using a secure-only session cookie makes it more difficult for network traffic sniffers to hijack user sessions. ?: (security.W016) You have 'django.middleware.csrf.CsrfViewMiddleware' in your MIDDLEWARE, but you have not set CSRF_COOKIE_SECURE to True. Using a secure-only CSRF cookie makes it more difficult for network traffic sniffers to steal the CSRF token.
I've read that mailing list post: https://lists.lavasoftware.org/pipermail/lava-users/2018-March/000884.html So I download http://cdn-fastly.deb.debian.org/debian/pool/main/d/django-tables/python3-dj... and dpkg -i to downgrade python3-django-tables2 restart everything. This didnt helped.
Ilya.
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
On Mon, Sep 02, 2019 at 03:58:31PM +0100, Milosz Wasilewski wrote:
Please try with buster. I don't think we uploaded to stretch backports for some time now.
We've continued to support stretch-backports in our repos on apt.lavasoftware.org...
Cheers,
Thank you for answer, problem was in locale encoding of linux. Everything must be en_US.utf8
Now LAVA is working for me.
Ilya
________________________________ From: Steve McIntyre steve.mcintyre@linaro.org Sent: Monday, September 2, 2019 6:02:19 PM To: Milosz Wasilewski milosz.wasilewski@linaro.org Cc: Ilya Fedusiv ilya.f@l4b-software.com; lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] 500 Internal Server Error
On Mon, Sep 02, 2019 at 03:58:31PM +0100, Milosz Wasilewski wrote:
Please try with buster. I don't think we uploaded to stretch backports for some time now.
We've continued to support stretch-backports in our repos on apt.lavasoftware.org...
Cheers, -- Steve McIntyre steve.mcintyre@linaro.org http://www.linaro.org/ Linaro.org | Open source software for ARM SoCs
lava-users@lists.lavasoftware.org