Hi Neil,
thanks for your quick answer and your help!
On Mon, 18 Jan 2016 18:38:29 +0000 Neil Williams codehelp@debian.org wrote:
You're a bit ahead of the docs at this point. ;-)
;)
Pipeline-only workers would need to be added on the command line currently:
$ sudo lava-server manage shell
from lava_scheduler_app.models import Worker new_worker = Worker.objects.create(hostname='host.domain') new_worker.save()
This should go into docs even it's just an intermediate thing.
Rather than changing the admin page, it might be better to provide a command line helper to do this - and the device assignment for that worker.
Now I got the worker, but after adding a job, the lava-server validates the yaml before sending it to the slave. Is this the intended way? Shouldn't the slave validates the pipeline (calling validate() member functions of actions). This also have some problems, like checking if a command is present using infrastructure_error() produces wrong results, because it doesn't matter if the file is present on the master it must be present on the client.
Best, lynxis