Daniel
"Daniel Sangorrin" daniel.sangorrin@toshiba.co.jp writes:
Then, I tried with " lava-tool device-dictionary localhost lava-docker --update myiwg20m.jinja2" but I get: Updating device dictionary for lava-docker on localhost ERROR: Endpoint URL not found in the authorization list: localhost [Note] my lava-tool is version 0.23-1 (the newest according to apt)
Now, there is a section saying "Using the command line The device dictionary exists as a jinja2 file in /etc/lava-server/dispatcher-config/devices and can be updated by admins with the necessary access.". Is this equivalent to using lava-server o lava-tool to install a device dictionary??
Others:
- I confirmed that Pipeline device? is checked.
- Django administration > Devices: what is the meaning of Hostname? I have a value of iwg20m01 (the name of the device), there is no relation with the server/container's hostname, is there?
- There is an authentication token for the user 'kernel-ci'
For this you need to have added an authentication token - see the API via the web interface,
In the LAVA web interface, click on API->Authentication Tokens and then on the 'new' button, give it a description and then click the 'View Token Hash' button and copy the displayed hash value. Then ''lava-tool auth-add http://lavauser@localhost:8080/RPC2 Paste token for http://lavauser@localhost:8080/RPC2/: **paste token - which will not be echoed**
The easier option is just to copy the dictionary file to /etc/lava-server/dispatcher-config/devices/$deviceName.jinja2
Robert