Hi Mormand
On 30 September 2016 at 11:07, Normand
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 ?
All openQA clients need to have their /etc/openqa/client.conf documented just as we have in the workers section of https://github.com/os-autoinst/openQA/blob/master/docs/Installing.asciidoc. The relevant section is copied below: "You need to log into openQA as operator and create a pair of API key and secret. Once you are logged in, follow the link manage API keys in the top right corner. Click the create button to generate key and secret. There is also a script available for creating an admin user and an API key+secret pair non-interactively, /usr/share/openqa/script/create_admin, which can be useful for scripted deployments of openQA. Copy and paste the key and secret into /etc/openqa/client.conf on the machine(s) where the worker is installed. Make sure to put in a section reflecting your webserver URL. In the simplest case, your client.conf may look like this: [localhost] key = 0123456789ABCDEF secret = 0123456789ABCDEF " Hope this helps
(1) https://github.com/os-autoinst/openQA/blob/master/docs/GettingStarted.asciid... 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
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org