Hi lava users,
We're trying to use lava-tool to automate the job submit process, but having problem on using "lava-tool auth-add" command.
The error message is ERROR: Username provided but no token found.
I tried the instructions from the following page, but without luck. https://validation.linaro.org/static/docs/v2/lava-tool-issues.html
I am pretty sure the user name, token, server url are correct since we tested it with the example python script from above page's second paragraph, and we can submit job through it.
The version of lava-tool is 0.23-1 and lava-server is 2017.10-1+jessie.
Does anyone have similar issue? Thank you.
Michael Chen
On 23 October 2017 at 07:51, Michael Chen tsejen.tw@gmail.com wrote:
Hi lava users,
We're trying to use lava-tool to automate the job submit process,
First thing, don't.
lava-tool is a real user tool, interactive and massive overkill for what you actually need as an automated job submission tool
The api/help page on your own instance gives you a three line python example which completely replaces lava-tool in automation - and there is a slightly longer one using variable substitution.
but having problem on using "lava-tool auth-add" command.
The error message is ERROR: Username provided but no token found.
This typically happens when you use http to store the token and https to use it or vice versa.
Check lava-tool auth-list
I tried the instructions from the following page, but without luck.
https://validation.linaro.org/static/docs/v2/lava-tool-issues.html
I am pretty sure the user name, token, server url are correct since we tested it with the example python script from above page's second paragraph, and we can submit job through it.
Then use that for automated submissions, lava-tool has NO advantages for automated submissions. lava-tool is all about making things easier for those who type commands manually.
The version of lava-tool is 0.23-1 and lava-server is 2017.10-1+jessie.
Does anyone have similar issue? Thank you.
Michael Chen
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users