#92 Support authentication for ResultsDB reporting
Closed: Fixed 2 years ago by adamwill. Opened 2 years ago by adamwill.

Infra would like openQA result reporting to be able to use the basic HTTP authentication support which was added to ResultsDB and ResultsDB API a few months ago.

One way to implement this would be to follow through on #90 , but that is not currently really possible for reasons mentioned in that ticket.

We can also add the auth support direct to our own result reporting code; it's quite trivial and I wrote it already. However, it doesn't exactly work properly right now because there hasn't been a stable release of resultsdb_api with the auth code in it. I've filed that as https://pagure.io/taskotron/resultsdb_api/issue/10 . Until that's fixed, we can't really merge the change because the test suite will fail and the feature won't really work if you try to use it, unless you manually install current git resultsdb_api.


resultsdb_api should be fixed now, so I should be able to proceed with this tomorrow.

Metadata Update from @adamwill:
- Issue untagged with: waiting

2 years ago

I've merged this and pushed it out now. Enabling authentication for openQA lab/prod would just be a case of updating the ansible-infra templates to write a username/password to the config file.

Metadata Update from @adamwill:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata