Project

General

Profile

Actions

action #138446

closed

Ensure SUSE QE tooling always uses authenticated IBS API access size:M

Added by okurz 6 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
2023-10-24
Due date:
% Done:

0%

Estimated time:

Description

Motivation

As announced in https://mailman.suse.de/mlarch/SuSE/research/2023/research.2023.10/msg00059.html

As part of hardening the security posture of our internal build service, please be notified that we are going to be disabling the anonymous read access to IBS effective November 15th, possibly delayed to November 30 if there's a good reason given.
Following this change, the web user interface of IBS will not allow anonymous access to data and the API will not allow https://api.suse.de/public route.

We should ensure that our tooling if relying on that is ready for the change.

Acceptance criteria

  • AC1: All SUSE QE Tools maintained tooling using build.suse.de or api.suse.de is using authenticated accesses

Suggestions


Related issues 2 (0 open2 closed)

Related to QA - action #111998: Make our SLE related tooling work with upcoming changes to build.suse.de (2FA and ssh key based authentication) size:MResolvedjbaier_cz2022-06-03

Actions
Related to openQA Project - action #139073: ObsRsync plugin needs to support authentication with 2FA size:MResolvedtinita2023-11-032023-12-01

Actions
Actions #1

Updated by okurz 6 months ago

  • Description updated (diff)
Actions #2

Updated by okurz 6 months ago

  • Target version changed from Tools - Next to Ready
Actions #3

Updated by jbaier_cz 6 months ago

  • qem-bot and teregen are using osc with a proper bot account, that was implemented in #111998
  • mtui is using osc with a user-provided credentials, so it should be also fine
Actions #4

Updated by jbaier_cz 6 months ago

  • Related to action #111998: Make our SLE related tooling work with upcoming changes to build.suse.de (2FA and ssh key based authentication) size:M added
Actions #5

Updated by okurz 6 months ago

Right, but do we also use authenticated access for reading in all cases?

Actions #6

Updated by jbaier_cz 6 months ago

You mean in other tools outside of the mentioned 3 (mtui, teregen, qem-bot)? I am not sure, that's why I am just adding some info from my head into a comment and not resolving it right away.

Actions #7

Updated by livdywan 6 months ago

  • Subject changed from Ensure SUSE QE tooling can work with only authenticated IBS API access to Ensure SUSE QE tooling always uses authenticated IBS API access size:M
  • Description updated (diff)
  • Status changed from New to Workable
Actions #8

Updated by jbaier_cz 6 months ago

  • Assignee set to jbaier_cz
Actions #9

Updated by jbaier_cz 6 months ago

  • Status changed from Workable to In Progress
Actions #10

Updated by jbaier_cz 6 months ago

As I predicted, the tooling is fine. The only place I am not sure about is actually in our osd configuration: https://gitlab.suse.de/openqa/salt-states-openqa/-/blob/master/openqa/server.sls?ref_type=heads#L87

Actions #11

Updated by jbaier_cz 6 months ago

So it seems that our ObsRsync plugin needs to support authentication and 2FA during for making a status query in https://github.com/os-autoinst/openQA/blob/94ee81246a77eba00c74b336f7c8d6e6c6d60915/lib/OpenQA/WebAPI/Plugin/ObsRsync.pm#L383

Actions #12

Updated by jbaier_cz 6 months ago

  • Related to action #139073: ObsRsync plugin needs to support authentication with 2FA size:M added
Actions #13

Updated by jbaier_cz 6 months ago

  • Status changed from In Progress to Blocked

I will block this on #139073 as we will definitely need some code changes

Actions #14

Updated by livdywan 6 months ago

jbaier_cz wrote in #note-13:

I will block this on #139073 as we will definitely need some code changes

Conversation on the blocking ticket on-going

Actions #15

Updated by jbaier_cz 5 months ago

The PR with the needed change was deployed, I believe this will be unblocked soon.

Actions #16

Updated by tinita 5 months ago

#139073 is almost complete

Actions #17

Updated by jbaier_cz 5 months ago

  • Status changed from Blocked to Resolved

I believe we are now ready for the change.

Actions

Also available in: Atom PDF