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.