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'
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'"}
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.