lava-dispatcher-slave8
Manage connections to lava master
Part of lava-slave(8).
" "LAVA"
Summary
lava-slave runs the connection to the lava master over ZMQ to manage LAVA test jobs running on the reserved device, sending log messages back to the master. lava-slave runs as a daemon.
Usage
- lava-slave [-h] [--hostname HOSTNAME] --master MASTER --socket-addr
-
SOCKET_ADDR [--log-file LOG_FILE] [--level {DEBUG,ERROR,INFO,WARN}] [--timeout TIMEOUT] [--ipv6] [--encrypt] [--master-cert MASTER_CERT] [--slave-cert SLAVE_CERT]
Options
Options can be passed by editing /etc/default/lava-slave or /etc/lava-dispatcher/lava-slave
- optional arguments:
-
-
-h, --help -
show this help message and exit
-
--hostname HOSTNAME -
Name of the slave
-
--master MASTER -
Main master socket
-
--socket-addr SOCKET_ADDR -
Log socket
-
--log-file LOG_FILE -
Log file for the slave logs
-
--level, -l -
Log level (DEBUG, ERROR, INFO, WARN); default to INFO
-
--timeout TIMEOUT, -t TIMEOUT -
Socket connection timeout in seconds; default to 5
-
--ipv6 -
Enable IPv6
-
--encrypt -
Encrypt messages
-
--master-cert MASTER_CERT -
Master certificate file
-
--slave-cert SLAVE_CERT -
Slave certificate file
-
Encryption
Some LAVA instances require the ZMQ connection to the master to be encrypted. For more information on configuring lava-slave to use encryption support, see the lava-server documentation on your local instance or at: https://validation.linaro.org/static/docs/v2/pipeline-server.html#zmq-curve
You will need to contact the admin of the instance to obtain the certificate of the master to which this slave should connect.
The default install uses systemd translation of the sysvinit script but a systemd service file is available, if desired:
/usr/share/lava-dispatcher/lava-slave.service
This file can be copied to /lib/systemd/system/.
Releases
2 releases since Debian 9 (Stretch); the text changed 1 time.
--encrypt since Debian 10 (Buster);
--help since Debian 10 (Buster);
--hostname since Debian 10 (Buster);
--ipv6 since Debian 10 (Buster);
--level since Debian 10 (Buster);
--log-file since Debian 10 (Buster);
--master since Debian 10 (Buster);
--master-cert since Debian 10 (Buster);
--slave-cert since Debian 10 (Buster);
--socket-addr since Debian 10 (Buster);
--timeout since Debian 10 (Buster);
-h since Debian 10 (Buster);
-l since Debian 10 (Buster);
-t since Debian 10 (Buster).