Hi Tim,
On Tuesday 13 March 2018 01:58 PM, Tim Jaacks wrote:
This is because each role should have a lava-lxc protocol defined.
Even real hardware devices?
Applies only for lxc devices.
I know, this was deliberate in order to strip the error down to a minimal example. I started out with one LXC device and one real hardware device (which is actually the setup I want to use), which led to the above error. Then I removed parts of the job for simplification until (I hoped) the error would disappear. But it did not, even with a single LXC device. I assume a multimode job should work even if it only contains one single device, shouldn't it?
The purpose of multinode is not for single device.
Thanks, that pointed me the way. I had to add an additional "remote" key under "protocols/lava-lxc", so the job looks like this:
Yes that is what was missing in your job.
This job runs without errors, even though it has only one single device in a multinode context. From here I can build my actual multinode job by adding my real device to it.
It throws an error for me when trying to submit via the UI "Job submission error: u'device_type'".
Similarly, when trying with command line I get a similar error:
<snip> $ lava-tool submit-job https://senthil.kumaran@staging.validation.linaro.org/RPC2/ /tmp/multinode-lxc.yaml ERROR: <Fault -32603: "Internal Server Error (contact server administrator for details): u'device_type'"> </snip>
BTW, what is your lava-server and lava-dispatcher version?
Thank You.