Skip to content

API keys expire after 3 days [fake auth] #20

Description

@drpaneas

I don't know why, but in openQA the default API keys used for fake authentication are expiring after ~3 days. As soon as this happens, the workers cannot connect to the webui, plus there's another problem: the contairer of the worker is not starting (running) anymore. It goes up and then it does immediately.

workaround:

  1. Generate new keys from the webui
  2. Create a file on the host with the new valid API keys
cat > client.conf << "EOF"
[openqa-webui]
key = 7B0DF15A3AE564AD
secret = 01C5639A5F8EA0E8
EOF
  1. Copy this file into the worker, without starting the container
docker cp client.conf generic-openqa_worker4:/etc/openqa/
  1. Start the container of the worker

After some seconds, it should connect to the webui and appear to be online once again :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions