Hello,

Thanks for reporting the issue, I'm sending a patch to fix the documentation.

Le lun. 11 mai 2020 à 15:50, Saheer Babu <Saheer.Babu@arm.com> a écrit :

Ignore that, I got it to work.

 

In step 3.b I had to change to “{% extends "docker.jinja2" %}” probabla typo in the documentation!

 

From: Saheer Babu <Saheer.Babu@arm.com>
Date: Saturday, 9 May 2020 at 11:58
To: "lava-users@lists.lavasoftware.org" <lava-users@lists.lavasoftware.org>
Subject: Docker device basic setup

 

Hi Lava folks,

 

I am new to LAVA and trying to get some basic understand of lava. I am facing issues while I trying to set up a docker device in lava following the doc: https://lava.readthedocs.io/en/latest/admin/basic-tutorials/instance/install/

 

Steps followed:

  1. I have installed Debian VM on my mac book pro.
  2. Installed lava: https://lava.readthedocs.io/en/latest/admin/basic-tutorials/instance/install/#debian
    1. Enabled lava site in apache “Production releases” https://docs.lavasoftware.org/lava/installing_on_debian.html (Btw, this step seems to be missing)
    2. Config like “ALLOW_HOSTS”, CSRF etc: (a
    3. Created one super user: https://lava.readthedocs.io/en/latest/admin/basic-tutorials/instance/configure/
    4. Created a token (for lavacli): sudo lava-server manage tokens add --user root

 

  1. Setup docker device for running tests: https://lava.readthedocs.io/en/latest/admin/basic-tutorials/device-setup/docker/ ( I am following command line using lava-cli)
    1. $LAVACLI device-types add docker
    2. $LAVACLI devices add --type docker --worker buster.localdomain docker01
    3. $LAVACLI devices dict set docker01 test.jinja2 (test.jinja2 contains {% extend "docker.jinja2" %} )
    4. $LAVACLI devices update --health UNKNOWN docker01

 

After step “3”, I have  the following error: “Configuration Error: missing or invalid template.

 

I am assuming there is some pre-condition I am not meeting for docker device. How can I get some more debug information on this? Can you help?

 

Cheers,

 

Saheer Babu

 

 

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users


--
Rémi Duraffort
LAVA Architect
Linaro