Thanks Stevan.

It is working by updating the UI token as per your suggetion.  (netmask not yet worked . may be we need to cross check our steps for netmask method)

Appreciated your support.

Regards,
Koti

On Wed, 17 Feb 2021 at 19:13, <lava-users-request@lists.lavasoftware.org> wrote:
Send Lava-users mailing list submissions to
        lava-users@lists.lavasoftware.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.lavasoftware.org/mailman/listinfo/lava-users
or, via email, send a message with subject or body 'help' to
        lava-users-request@lists.lavasoftware.org

You can reach the person managing the list at
        lava-users-owner@lists.lavasoftware.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Lava-users digest..."


Today's Topics:

     2. Re: lava-worker service throws error for 2021.01
      (Stevan Radakovi?)


----------------------------------------------------------------------


Message: 2
Date: Wed, 17 Feb 2021 14:43:18 +0100
From: Stevan Radakovi? <stevan.radakovic@linaro.org>
To: lava-users@lists.lavasoftware.org
Subject: Re: [Lava-users] lava-worker service throws error for 2021.01
Message-ID: <ab57fe22-2a1c-a6d1-f0b4-ec97763a681e@linaro.org>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hello,

Please check out this page in the docs:
https://lava.readthedocs.io/en/latest/admin/advanced-tutorials/deploying-rpi4b-as-worker/#auto-registration-of-worker-or-token
You need to setup either a token for each individual worker or add the
autoregistration netmask.

Thanks,


On 2/16/21 3:50 PM, koti wrote:
> Hi,
>
> We have installed the lava-worker (2021.01) as per
> https://staging.validation.linaro.org/static/docs/v2/pipeline-server.html#installing-lava-dispatcher
> <https://staging.validation.linaro.org/static/docs/v2/pipeline-server.html#installing-lava-dispatcher>
>
> but noticed the below errors on "lava-worker" and "lava-master"
> servers as below.
>
> Lava-worker server error: (Attached the
> "/etc/lava-dispatcher/lava-worker"? worker configuration file)
> #####################
> pi@lavaworker-1:~ $ tail -f /var/log/lava-dispatcher/lava-worker.log
> 2021-02-16 19:43:08,484 ? ERROR [INIT] -> server error: code 403
> 2021-02-16 19:43:13,502 ? ERROR [INIT] -> server error: code 403
> 2021-02-16 19:43:14,896 ? ?INFO [INIT] LAVA worker has started.
> 2021-02-16 19:43:14,896 ? ?INFO [INIT] Name ? : 'lavaworker-1'
> 2021-02-16 19:43:14,896 ? ?INFO [INIT] Server :
> 'http://lavamasterserver <http://lavamasterserver>'
> 2021-02-16 19:43:14,897 ? ?INFO [INIT] Version: '2021.01'
> 2021-02-16 19:43:14,897 ? ?INFO [INIT] Token ?: '<auto register>'
> 2021-02-16 19:43:14,897 ? DEBUG [INIT] Auto register as 'raspberrypi'
> 2021-02-16 19:43:14,909 ? ERROR [INIT] -> server error: code 403
> 2021-02-16 19:43:14,909 ? DEBUG [INIT] --> {"error": "Auto
> registration is forbidden for '192.168.1.5'"}
> 2021-02-16 19:43:19,914 ? DEBUG [INIT] Auto register as 'raspberrypi'
> 2021-02-16 19:43:19,927 ? ERROR [INIT] -> server error: code 403
> 2021-02-16 19:43:19,927 ? DEBUG [INIT] --> {"error": "Auto
> registration is forbidden for '192.168.1.5'"}
>
>
> Lava-server server error:
> ####################
> lavamasterserver@lavamasterserver:/var/log$ sudo tail -f
> /var/log/apache2/lava-server.log
> 10.138.202.62 - - [16/Feb/2021:20:09:06 +0530] "POST
> /scheduler/internal/v1/workers/ HTTP/1.1" 403 348 "-" "lava-worker
> 2021.01"
> 10.138.202.62 - - [16/Feb/2021:20:09:11 +0530] "POST
> /scheduler/internal/v1/workers/ HTTP/1.1" 403 348 "-" "lava-worker
> 2021.01"
> 10.138.202.62 - - [16/Feb/2021:20:09:16 +0530] "POST
> /scheduler/internal/v1/workers/ HTTP/1.1" 403 348 "-" "lava-worker
> 2021.01"
> 10.138.202.62 - - [16/Feb/2021:20:09:21 +0530] "POST
> /scheduler/internal/v1/workers/ HTTP/1.1" 403 348 "-" "lava-worker
> 2021.01"
> 10.138.202.62 - - [16/Feb/2021:20:09:26 +0530] "POST
> /scheduler/internal/v1/workers/ HTTP/1.1" 403 348 "-" "lava-worker
> 2021.01"
> 10.138.202.62 - - [16/Feb/2021:20:09:31 +0530] "POST
> /scheduler/internal/v1/workers/ HTTP/1.1" 403 348 "-" "lava-worker
> 2021.01"
> 10.138.202.62 - - [16/Feb/2021:20:09:36 +0530] "POST
> /scheduler/internal/v1/workers/ HTTP/1.1" 403 348 "-" "lava-worker
> 2021.01"
> 10.138.202.62 - - [16/Feb/2021:20:09:41 +0530] "POST
> /scheduler/internal/v1/workers/ HTTP/1.1" 403 348 "-" "lava-worker
> 2021.01"
> 10.138.202.62 - - [16/Feb/2021:20:09:46 +0530] "POST
> /scheduler/internal/v1/workers/ HTTP/1.1" 403 348 "-" "lava-worker
> 2021.01"
> 10.138.202.62 - - [16/Feb/2021:20:09:51 +0530] "POST
> /scheduler/internal/v1/workers/ HTTP/1.1" 403 348 "-" "lava-worker
> 2021.01"
> 10.138.202.62 - - [16/Feb/2021:20:09:56 +0530] "POST
> /scheduler/internal/v1/workers/ HTTP/1.1" 403 348 "-" "lava-worker
> 2021.01"
>
>
>
> I feel that it may be an issue in lava master apache configuration .
> appreciate any suggestions.
>
>
> Regards,
> Koti
>
> _______________________________________________
> Lava-users mailing list
> Lava-users@lists.lavasoftware.org
> https://lists.lavasoftware.org/mailman/listinfo/lava-users

--
Stevan Radakovi? | LAVA Senior Engineer
Linaro.org <www.linaro.org> ? Open source software for ARM SoCs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lavasoftware.org/pipermail/lava-users/attachments/20210217/3ce596b5/attachment.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users


------------------------------

End of Lava-users Digest, Vol 30, Issue 10
******************************************