lava-slave8
Manage connections to lava master
" "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
--hostnameHOSTNAME-
Name of the slave
--masterMASTER-
Main master socket
--socket-addrSOCKET_ADDR-
Log socket
--log-fileLOG_FILE-
Log file for the slave logs
-
--level, -l -
Log level (DEBUG, ERROR, INFO, WARN); default to INFO
--timeoutTIMEOUT, -t TIMEOUT-
Socket connection timeout in seconds; default to 5
-
--ipv6 -
Enable IPv6
-
--encrypt -
Encrypt messages
--master-certMASTER_CERT-
Master certificate file
--slave-certSLAVE_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/.
History
- Debian 10 (Buster): the text shown here
- Debian 9 (Stretch)
--encrypt since Debian 10 (Buster);
--help since Debian 10 (Buster);
--ipv6 since Debian 10 (Buster);
--level since Debian 10 (Buster);
-h since Debian 10 (Buster);
-l since Debian 10 (Buster).