Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
Previoulsy it was possible to backport LAVA patch only on master, this patch permits it on
slave.
|
|
backup will now create a backup-latest symlink to the backup just being
made.
|
|
Misc. fixes for oct sprint
|
|
When creating a split boards.yaml with only one master which uses ZMQ,
no way to adds slave key exists.
This patch fix that by adding a way to copy all slave keys.
|
|
extra_actions is broken since commit f3d53d64922d ("lava-slave/Dockerfile: copy all scripts in one actions")
It is not anymore copied in /root but in /usr/local/bin/
|
|
This patch adds missing documentation on how to choose the slave owing a
device.
|
|
Changing the ownership of /etc/lava-server/dispatcher-config/health-c…
|
|
This fix allows users to add healthcheck files via API by changing
ownership from root to lavaserver. Without it users encounter a
permissions error.
Signed-off-by: Patryk Mungai <patryk.mungai-ndungu.kx@renesas.com>
|
|
README: add documentation on how to add patch for LAVA and device-type
|
|
lava-docker can patch LAVA and add/modify device-types, but the
documentation was lacking on how to do it.
|
|
lavalab-gen: permit to choose alternate boards.yaml
|
|
This patch adds an easy way to choose an alternate file than
boards.yaml.
|
|
Permit to give board to user
|
|
This patch permit to add a group on boards
|
|
This patch adds support for creating groups
|