![](https://seccdn.libravatar.org/avatar/70e089eb19d0fd9ccac4676b7eedbf2c.jpg?s=120&d=mm&r=g)
30 Sep
2016
30 Sep
'16
09:37
On 30/09/2016 11:23, Ondrej Holecek wrote: > On pátek 30. září 2016 11:07:19 CEST Normand wrote: >> I previously installed openQA in a ppc64le host as per doc in (1) and >> was able to trigger jobs with the /usr/share/openqa/script/client >> BUT this is only working for session of "_openqa-worker" id >> >> If I try to issue the command with my default owner id, then it failed >> as reported in (2) >> >> What is expected setup to have an id to be authorized to use the client >> script ? > 1) Using openQA WebUI create API keys - this you probably already did. > 2) put those keys to either /etc/openqa/client.conf or ~/.config/openqa/ > client.conf in format > > [$host] > key = $your_key > secret = $your_secret Thank you Ondrej, the second point was my missing part. > > Do note that you need to use the same $host in client.conf and client script. > ie. if you use '[openqa.somedomain.ex]', you need to use `--host > openqa.somedomain.ex` in client script call. > > In your example you didn't provide --host option to client script thus it > assumed host to be "localhost" -> You need to have [localhost] section in > client.conf with appropriate keys. Yes, I understand, my current tests are basic ones, using same host for server and workers. > >> >> (1) >> https://github.com/os-autoinst/openQA/blob/master/docs/GettingStarted.asciid >> oc >> >> https://github.com/os-autoinst/openQA/blob/master/docs/Installing.asciidoc >> >> (2) failure with my onwer id: >> === >> [michel@abanc:] >> /var/lib/openqa/script/client isos post >> ISO=openSUSE-Tumbleweed-DVD-ppc64-Snapshot20160917-Media.iso >> DISTRI=opensuse VERSION=Tumbleweed FLAVOR=DVD ARCH=ppc64 BUILD=20160917 >> missing apisecret and/or apikey at /var/lib/openqa/script/client line 144. >> ERROR: 403 - Forbidden >> { error => "no api key" } >> === > -- Michel Normand -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org