Hi  lava experts:

 

I deploy the lava 2017.7 with SSL Self-signed certificate,  then I want to create the device-dictionary for the qemu devices, it’s error when I add auth_token.  Please give me some suggest!

 

 

 

lava-tool auth-add --token-file /home/lavaadmin/xuhy/qemu_test_token --user-shortcut 1680141 --endpoint-shortcut qemu_test01 https://1680141@10.5.21.5

ERROR: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)>

 

Best Regards

 

XuHongyu

 

From: Xu, Hongyu
Sent: 201794 14:41
To: 'Lava-users@lists.linaro.org' <Lava-users@lists.linaro.org>
Subject: Local Django user accounts

 

 

Hi  all, 

 

I have installed  the lava-serer (2017.7) on my DEBIAN 9.10.  But now I can’t sign in  with  the local Django user, this is the error infomations:

Forbidden (403)

CSRF verification failed. Request aborted.

You are seeing this message because this site requires a CSRF cookie when submitting forms. This cookie is required for security reasons, to ensure that your browser is not being hijacked by third parties.

If you have configured your browser to disable cookies, please re-enable them, at least for this site, or for 'same-origin' requests.

More information is available with DEBUG=True.

 

Please give me some advices!

 

root@hxtcorp:~# dpkg-query -l lava*

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name                              Version               Architecture          Description

+++-=================================-=====================-=====================-=======================================================================

ii  lava-coordinator                  0.1.7-1               all                   LAVA Coordinator daemon

un  lava-dashboard                    <none>                <none>                (no description available)

un  lava-dashboard-tool               <none>                <none>                (no description available)

ii  lava-dispatcher                   2017.7-1~bpo9+1       amd64                 Linaro Automated Validation Architecture dispatcher

un  lava-scheduler                    <none>                <none>                (no description available)

un  lava-scheduler-tool               <none>                <none>                (no description available)

ii  lava-server                       2017.7-1~bpo9+1       all                   Linaro Automated Validation Architecture server

ii  lava-server-doc                   2017.7-1~bpo9+1       all                   Linaro Automated Validation Architecture documentation

ii  lava-tool                         0.21-1                all                   command line utility for LAVA

un  lavapdu                           <none>                <none>                (no description available)

ii  lavapdu-client                    0.0.5-1               all                   LAVA PDU client

ii  lavapdu-daemon                    0.0.5-1               all                   LAVA PDU control daemon

 

add the local Django user:

sudo lava-server manage createsuperuser --username $USERNAME --email=$EMAIL

sudo lava-server manage authorize_superuser --username $USERNAME

 

root@hxtcorp:/etc/lava-server# lava-server manage users list

List of users:

* 1680077

* 1680141

* lava-health

* xuhy

 

Best Regards

 

XuHongyu

 




This email is intended only for the named addressee. It may contain information that is confidential/private, legally privileged, or copyright-protected, and you should handle it accordingly. If you are not the intended recipient, you do not have legal rights to retain, copy, or distribute this email or its contents, and should promptly delete the email and all electronic copies in your system; do not retain copies in any media. If you have received this email in error, please notify the sender promptly. Thank you.