Age | Commit message (Collapse) | Author | Files | Lines |
|
This patch implement multiple slave support.
Instead of having a maximum of one master and one slave in one docker
image, it is now possible to have multiple slave accross several docker
host.
For helping this change, a new boards.yaml format is introduced (See
README.md for details)
Note that tokens.yaml is also squashed in boards.yaml
|
|
Keeping stdin open is not necessary since a long time.
Remove thoses unused options
|
|
The "devices" node is now automaticly generated and added, so remove
them from docker-compose.template.
|
|
The boards.yaml documentation state that lava-slave should be named lab-slave-XXX
but docker-compose.template does not use this convention.
This force the use of this convention.
|
|
When dns_search are set, the control made by conmux on hostname fail
since hostname.domain does not exist in the docker.
|
|
Since some arch does not have kvm, remove kvm usage for qemu.
We will reintroduce it later via a flag/autodetect.
|
|
Libguestfs actions are done by the dispatcher, so the slave must be able
to do them.
In the same time, add a TODO for setting volumes as read_only.
|
|
|
|
Under Linux, dynamic port range is 32768-60999, so a clash is possible
with XNBD port range.
Furthermore XNBD constants file have changed in 2017.11
|
|
|
|
This commit introduce two compoments:
lavalab-en.py which generate:
- device files
- conmux config files
- users files
- tokens files
- udev rules for host
- final docker-compose.yml file
Except of docker-compose.yml, all other files are ignored for the moment
and will be handled by a following commit.
docker-compose:
The docker compose permits to building and running easily lava-docker
images.
It permit also to remove some contraints like knowing the
LAVA_SERVER_IP/LAVA_MASTER.
|