Hi Everyone,
I am trying to set up a standalone Lava V2 Server by following the instructions on the Linaro website and so far things have gone smoothly. I have Lava installed, a superuser created and I can access the application through a web browser. But, I have the following issues:
ISSUE #1:
- When I tried to submit a simple Lava V2 test job, I got an error message stating that the "beaglebone black" device type is not available.
- I found the directory where the .jinja2 files were stored including the beaglebone-black.jinja2 file, but regardless of what I tried, I couldn't get the web application to see the device type definitions.
- It seems like the application isn't pointing to the directory where those device type files are stored.
- What do I need to do to make the Lava Server "see" those device type files?
ISSUE #2:
- When I tried to submit a job, I pasted a small .yaml file and the validation failed because it didn't recognize the data['run'] in the job. I tried a few others and then I tried a V1 .json file and it validated just fine.
- What do I have to do to allow Lava to accept V2 .yaml files? Am I missing something simple?
As always, I greatly appreciate any feedback you may have to help me out.
Thank you in advance!
On 15 December 2016 at 13:18, Don Brown don.brown@codethink.com wrote:
Hi Everyone,
I am trying to set up a standalone Lava V2 Server by following the instructions on the Linaro website and so far things have gone smoothly. I have Lava installed, a superuser created and I can access the application through a web browser. But, I have the following issues:
Issue #1:
- When I tried to submit a simple Lava V2 test job, I got an error message
stating that the "beaglebone black" device type is not available.
https://staging.validation.linaro.org/static/docs/v2/first-devices.html#crea...
The device-type and the device need to exist as database objects. The device also needs a device dictionary.
- I found the directory where the .jinja2 files were stored including the
beaglebone-black.jinja2 file, but regardless of what I tried, I couldn't get the web application to see the device type definitions.
The UI only looks for device-types defined in the database of that instance.
Issue #2:
- When I tried to submit a job, I pasted a small .yaml file and the
validation failed because it didn't recognize the data['run'] in the job. I tried a few others and then I tried a V1 .json file and it validated just fine.
- What do I have to do to allow Lava to accept V2 .yaml files? Am I missing
something simple?
Please follow the documentation, including how to setup a QEMU device *before* attempting to use any other devices, submitting the first QEMU job from the documentation link and getting familiar with the django admin interface.
https://staging.validation.linaro.org/static/docs/v2/first-devices.html
https://staging.validation.linaro.org/static/docs/v2/first-job.html
lava-users@lists.lavasoftware.org