aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-11-02lavalab-gen.py: permit to set env settings on slave via the master nodeCorentin LABBE2-1/+16
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.
2018-11-02lavalab-gen.py: permit to set env settings on slaveCorentin LABBE4-6/+25
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.
2018-11-02Merge pull request #62 from montjoie/lava-patch-slavekhilman2-0/+3
Permit to have backported LAVA patch on slave
2018-11-02Merge pull request #61 from montjoie/backup-latest-linkkhilman1-0/+1
backup: Create a symlink to recent backup
2018-11-02Permit to have backported LAVA patch on slaveCorentin LABBE2-0/+3
Previoulsy it was possible to backport LAVA patch only on master, this patch permits it on slave.
2018-11-02backup: Create a symlink to recent backupCorentin LABBE1-0/+1
backup will now create a backup-latest symlink to the backup just being made.
2018-11-02Merge pull request #59 from montjoie/fix_for_sprintkhilman3-2/+9
Misc. fixes for oct sprint
2018-11-02lavalab-gen.py: Add slave_keys for copying public slave keysCorentin LABBE2-1/+7
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.
2018-11-02lava-slave/Dockerfile: Remade extra_actions workingCorentin LABBE1-1/+1
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/
2018-11-02README: Add documentation for the slave attribute of boardsCorentin LABBE1-0/+1
This patch adds missing documentation on how to choose the slave owing a device.
2018-10-31Merge pull request #57 from patrykmungai/healthcheck-fixkhilman1-0/+1
Changing the ownership of /etc/lava-server/dispatcher-config/health-c…
2018-10-31lava-master: fix permissions on health-checksPatryk Mungai1-0/+1
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>
2018-10-19Merge pull request #55 from montjoie/doc_device_type_patchkhilman1-0/+11
README: add documentation on how to add patch for LAVA and device-type
2018-10-19README: add documentation on how to add patch for LAVA and device-typeCorentin LABBE1-0/+11
lava-docker can patch LAVA and add/modify device-types, but the documentation was lacking on how to do it.
2018-10-18Merge pull request #54 from montjoie/lavalab-gen_parameterkhilman1-0/+8
lavalab-gen: permit to choose alternate boards.yaml
2018-10-18lavalab-gen: permit to choose alternate boards.yamlCorentin LABBE1-0/+8
This patch adds an easy way to choose an alternate file than boards.yaml.
2018-10-18Merge pull request #53 from montjoie/board_for_userkhilman7-4/+82
Permit to give board to user
2018-10-17Permit to set a group on boardsCorentin LABBE3-1/+13
This patch permit to add a group on boards
2018-10-17Permit to create groupsCorentin LABBE4-2/+53
This patch adds support for creating groups
2018-10-15Permit to give board to userCorentin LABBE5-2/+17
By default LAVA give owning of boards to admin, this patch permit to give board to a specific user.
2018-10-15Merge pull request #52 from montjoie/export_portkhilman2-5/+13
lavalab-gen.py: Permit to customize exported ports to a slave
2018-10-15Rename export_ser2net to expose_ser2netCorentin LABBE2-5/+8
This patch rename export_ser2net to expose_ser2net. The old export_ser2net is still handled but we now print a deprecating message.
2018-10-15lavalab-gen.py: Permit to customize exposed ports to a slaveCorentin LABBE2-1/+6
This patch adds a way to choose a number of ports to be exposed from host to slave.
2018-10-03Merge pull request #51 from montjoie/copy_scriptkhilman1-8/+2
lava-slave/Dockerfile: copy all scripts in one actions
2018-10-03lava-slave/Dockerfile: copy all scripts in one actionsCorentin LABBE1-8/+2
2018-09-28Merge pull request #49 from montjoie/documentation_deps_csrfkhilman3-2/+13
README: enhance documentation on dependencies and CSRF issues
2018-09-27README: document non-x86 buildCorentin LABBE1-0/+8
This patch add documentation on how to use lava-docker on arm64.
2018-09-18README: enhance documentation on dependencies and CSRF issuesCorentin LABBE3-2/+5
This patch add the missing pyyaml requirement in the documentation, fixing issue #31 in the process. Note that this patch adds also a requirements.txt for easy pip install. This patch also a note on http_fqdn stating this option as necessary when using https.
2018-09-17Merge pull request #48 from montjoie/tagskhilman5-0/+17
Permit to add tags to devices
2018-09-13Permit to add tags to devicesCorentin LABBE5-0/+17
This patch permits to add tags to device Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
2018-09-13Merge pull request #46 from montjoie/nomasterkhilman2-11/+23
lavalab-gen.py: permit to have no master in boards.yaml
2018-09-13lavalab-gen.py: permit to have no master in boards.yamlCorentin LABBE2-11/+23
This patch permits to have a boards.yaml without the master node. In the same time, it permit to have also only a master node without slave. Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
2018-09-13Merge pull request #47 from kernelci/fix/zmqkhilman2-6/+7
lavalab-gen: fiz zmq key filename assumptions
2018-09-13lavalab-gen: fiz zmq key filename assumptionsKevin Hilman2-6/+7
The ZMQ key file names are expected to have specific names in the containers (e.g. $LAVA_MASTER.key). However, when using existing key files, they are simply copied into the containers, and if they don't match the exact requirements, encryption will silently fail. Fix this by allowing arbitrary filenames for existing keys, but ensure they are copied into the container with the expected filenames. Related, when using auto-generated keys, the generated master key is simply "master.key" in the slave. Fix this by ensuring that "master.key" is copied to $LAVA_MASTER.key when the slave container starts. Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-09-11Merge pull request #44 from montjoie/ser2net_multiconnectionskhilman3-5/+43
Ser2net multiconnections
2018-09-07lavalab-gen.py: add default max-connections for ser2netCorentin LABBE2-5/+35
This patch add a ser2net max-connections for all boards
2018-09-06lava-slave/Dockerfile: install recent ser2netCorentin LABBE1-0/+7
Current ser2net present in debian is too old, we need at least the 3.2 release for having the multiple connection support. This patch download, compile and install ser2net 3.5
2018-09-05Merge pull request #39 from montjoie/readme_upgradekhilman1-3/+3
Be more clear on how to upgrade
2018-09-05Merge pull request #42 from montjoie/fix_09_2018khilman2-8/+9
Fix 09 2018
2018-09-03lavalab-gen.py: change default start port for ser2netCorentin LABBE1-1/+2
ser2net port range started from 60000 which is between the Linux dynamic port range: 32768-60999 This patch changes it outside of this range to 63001.
2018-09-03lavalab-gen.py: default_slave is a valid keywordCorentin LABBE2-1/+2
default_slave was not in valid keyword and thus generate a warning. This patch set it as valid and document it in the mean time.
2018-09-03lavalab-gen.py: replace slave_name by worker_nameCorentin LABBE1-7/+7
In the board loop, the slave name is stored in slave_name, but some code after use worker_name. This works when only one slave exists, but fail when it exists multiple slave. This patch replace slave_name by worker_name for being consistent with the naming used in the rest of code.
2018-08-14Be more clear on how to upgradeCorentin LABBE1-3/+3
2018-08-09Merge pull request #38 from montjoie/uptimeoutkhilman1-3/+4
lava-slave: increase connect to master timeout
2018-08-09lava-slave: increase connect to master timeoutCorentin LABBE1-3/+4
When trying to detect if master is up, we have set a timeout of 60s. This is good for most of the time, but when the master is restoring a database, 60s is not enougth. This patch increase timeout to 300s.
2018-08-08Merge pull request #37 from montjoie/csrf_fixkhilman4-6/+30
Csrf fix
2018-08-08lava-master-base: add missing --make-pidfileCorentin LABBE2-2/+2
lava-logs and lava-server-gunicorn init script fail to restart. This is due to a missing --make-pidfile option.
2018-08-08Do not change status for retired/maintenance re-added devicesCorentin LABBE1-1/+16
When re-adding devices to a worker, setup.sh re-add them with UNKNOWN status. This patch prevent this for RETIRED/MAINTENANCE status and keep it.
2018-08-08Call lava-cli devices/device-types list onceCorentin LABBE1-2/+10
Instead of calling devices/device-types list for each device, call them once.
2018-07-30Fix login failure on httpsCorentin LABBE1-1/+2
When login on LAVA via https, a CSRF failure is done. This is due to missing CSRF_TRUSTED_ORIGINS.