Comment 5 for bug 917671

Revision history for this message
Zygmunt Krynicki (zyga) wrote : Re: lava-tool submit-job fails with 401 error

mwhudson, plars: this is a different bug most likely, the error message is a nice addition apart from the fact that is still does not work. The issue is (probably) related to keyring backend in a headless ec2 environment.

Re-read what deepti said at the bottom of the report:

Quote:

This error occurs with both http/https protocol.

But, when I use the token in the submit-job, the command works
for ex: lava-tool submit-job http://ciadmin:<token_key>@validation.linaro.org/lava-server/RPC2/ test_submission.json

End Quote:

If the token is passed directly and bypassed the keyring system everything works correcly.