Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
lava-slave: support PXE boot
|
|
This patch adds support for booting from PXE
|
|
Misc
|
|
Add documentation for LAVA slave install
|
|
This patch adds documentation on how to setup a LAVA slave and connect
to a LAVA master.
|
|
By default, all process use the DEBUG loglevel, this could be too much
for a production server.
This patch permits to tune the loglevel.
|
|
lava-server manage users list does not display inactive users.
Furthermore the return code of this action is not tested.
lava-server manage users list display also firstname/lastname and this
need to be filtered.
This patch fix thoses problem.
|
|
lavalab-gen: more flexible custom_options
|
|
For full networking capacity, qemu need to access TAP devices.
This patch adds the choice of use it via the tap keyword.
|
|
If two qemu with KVM enabled are on the same node, the device map
"/dev/kvm:/dev/kvm" will be present twice.
This patch adds an helper for preventing this.
This will also clean the code later which adds serial device.
|
|
The first action need to be an apt-get update since we dont know how old
is the base image.
|
|
Adding custom options for LAVA often requires specific formatting for
the LAVA jinja2 files, including single or double quotes. Rather than
also using quotes in the boards.yaml file, use YAML "plain style"[1]
avoids the need to add extra quotes or escapes.
When using the "|-" for plain style, the custom_options will appear to
lavalab-gen as a one long string, rather than a list of options, so
here we modify lavalab-gen to handle strings slightly differently than
a list.
[1] https://yaml.org/spec/1.2/spec.html#id2788859
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Use 2018.11
|
|
This patch made lava-docker use a known to work dockerhub tag.
Keep the latest tag for internal work.
|
|
Cleanup and fix backup/restore process
|
|
The current way to do backup assume that slave will be restarted after
each master maintainance.
If master is restarted from backup without slaves restarting bring to
devices files missing.
By backuping devices, a master can be restored from backup without
needing slaves worker to be restarted.
|
|
For storing backups to be restored, it is better to use /root/backup/
instead of /
|
|
When backup-latest destination exists, the new backup-latest is created
inside.
The simpliest way fo fix that is to always remove backup-latest before
creating it.
|
|
lavalab-gen.py: ease to use alternate uart than ser2net
|
|
When someone want to use screen/conmux for a board, the current situation imply
to adds use_ser2net = False.
This patchs remove this need.
|
|
Misc
|
|
Since we use the lavacli package, there are no reason to chdir in
/root/lavacli.
|
|
When there are no group, the grep return non-0 and setup.sh exits.
This patch fix by doing the filter in two step.
Fixes: e489f60b449b ("lava-master: skip creation of already existing groups")
|
|
Use lavacli from package instead of from sources
|
|
lavalab-gen.py: Made ser2net the default
|
|
A recent enough lavacli is present on stretch-backports.
It is better to use it.
This will fix also some commands not working with recent LAVA server.
|
|
This patch makes ser2net the default uart handler.
|
|
lava-master: skip creation of already existing groups
|
|
When restoring a backup, it is not possible to create a group which
already exists.
This patch adds detection for this case and skip the creation when the
group exists.
|
|
lavalab-gen.py: Permits to bind host /dev to slave
|
|
base-images: permit to install LAVA 2018.11
|
|
When using a PDU with crelay, we need to access the whole content /dev/hid/ and so need to bind the whole /dev/
This is also necessary when using the HSDK board which have a serial
which appears only when board is powered.
|
|
|
|
Ser2net options
|
|
|
|
|
|
lavalab-gen.py: Remove udev template for support of interfacenum
|
|
README: add contact informations
|
|
lavalab-gen.py: Add missing newline after overrides
|
|
The current udev templating is bad since adding a new optional keyword
lead to numerous ifelse and templates.
This patch simply generate a udev line part by part.
This made adding interfacenum easier.
This will also permit to mix devpath/serial/etc.. without any problem
|
|
|
|
This patch adds missing newline after overrides.
Without them, the generated file is not a valid yaml file
|
|
lavalab-gen.sh: Handle arguments
|
|
This patch mades lavalab-gen.sh pass all arguments to lavalab-gen.py
Cleaning in the process the non-needed "rm build-lava"
|
|
Allow seeting ENV variables from YAML config.
|
|
Since some setup use distinct boards.yaml for master and slave, a way to
set env settings for a slave via the master node is needed.
|
|
This patch permits to add some env settings on slave.
The primary goal of this is to permits to add a proxy for a specific slave.
|
|
Permit to have backported LAVA patch on slave
|
|
backup: Create a symlink to recent backup
|