On 26 December 2016 at 15:38, Milo Kim woogyom.kim@gmail.com wrote:
Hi,
I've installed LAVA and created 'qemu' device type.
There was a change in between 2016.11 and the current release 2016.12 which is due to be uploaded to jessie-backports today.
Compare your job with: https://validation.linaro.org/scheduler/job/1283820
That definition is available at https://validation.linaro.org/static/docs/v2/first-job.html#job-definition
(That instance is currently running 2016.11.post1)
It might be that you have a different version of lava-dispatcher installed on the worker to the version on the master?
This is the equivalent job run on staging (2016.12) https://staging.validation.linaro.org/scheduler/job/158724
https://staging.validation.linaro.org/static/docs/v2/first-job.html#job-defi...
$ sudo lava-server manage add-device-type '*' $ sudo lava-server manage add-device --device-type qemu qemu01
Then, I downloaded an example of yaml to submit a job for the qemu image.
$ wget https://staging.validation.linaro.org/static/docs/v2/examples/test-jobs/qemu... ./ $ lava-tool submit-job http://<name>@localhost qemu-pipeline-first-job.yaml The error is found during running 'image.py'. (http://woogyom.iptime.org/scheduler/job/15)
File "/usr/lib/python2.7/dist-packages/lava_dispatcher/pipeline/actions/deploy/image.py", line 116, in accepts if 'image' not in device['actions']['deploy']['methods']:
KeyError: 'actions'
It seems no 'methods' is found under actions->deploy block on parsing the yaml file but I'm not sure this error means wrong yaml usage or not.
It looks like the master is preparing a YAML file for the device which requires a newer version of lava-dispatcher than is installed on the worker.