Hi,
On Monday 12 March 2018 09:19 PM, Tim Jaacks wrote:
I want to set up a multinode job containing an LXC device. Unfortunately I always get the following error:
Missing protocol 'lava-lxc' in ['lava-multinode']
This is because each role should have a lava-lxc protocol defined.
For a minimal multinode job I added the "lava-multinode" protocol, defined a role and assigned this role to each action:
Going through your job, I could see you are requesting a single device (role) in your multinode job, which is not the use-case which multinode caters. There should be more than one device (roles) requested as part of the job. For a single device, single node jobs are the way to go.
With this job definition the above error appears. Am I missing anything or is this a bug in LAVA?
See https://staging.validation.linaro.org/scheduler/job/213532 - which is a sample multinode job run with two lxc devices requested as part of the job. You can see how each role has a lava-lxc protocol defined for it.
The job definition is available here - https://git.linaro.org/lava-team/refactoring.git/plain/lxc-multinode.yaml
HTH. Thank You.