On Wed, 20 Feb 2019 at 14:41, Karsten Tausche karsten@fairphone.com wrote:
Hi,
Are the Ansible playbook for setting up LAVA available somewhere? There is an old migrated issue on GitLab [1] which is closed
Sorry, that issue is probably misleading.
That issue relates to the ansible playbook for setting up lavasoftware.org, not a LAVA instance. (Although a LAVA instance is part of it, master.lavasoftware.org does not have any devices, so the bulk of the playbook is not applicable.)
, but the link to an implementation in there is dead. Is that playbook only internally available for Linaro? Is there anything you could share?
Ansible is used in a small part of the Harston lab but the majority of the work is done by salt. That configuration is managed in https://git.linaro.org/lava/lava-lab but is highly specific to the Harston lab.
It looks like many people are moving to Docker in the moment, but that's not an option for us (at least not for dispatchers), as we need LXC for Android testing.
That's not actually the case and there is work ongoing to move all AOSP testing to Docker. There are some udev changes required and the scripts aren't finalised at this stage.
The main issue is persistence and we are working on that for 2019.03 - see https://git.lavasoftware.org/lava/lava/issues/114
In the end, I suspect that every playbook / salt config for LAVA is going to need to be created from scratch.
You will need to consider how to manage secrets, that is one problematic area. The database access password needs to be protected and you may also have LDAP passwords etc.