Project

General

Profile

Actions

action #176532

open

coordination #175608: [WSL][epic] Unattended installation

[WSL] `403 Forbidden` error code when trying to install WSL

Added by pherranz about 1 month ago. Updated 4 days ago.

Status:
In Progress
Priority:
High
Assignee:
Target version:
-
Start date:
2025-02-04
Due date:
% Done:

50%

Estimated time:
Tags:

Description

Observation

openQA test in scenario sle-15-SP7-Windows 11 UEFI-x86_64-wsl2-main+register@win11_uefi fails in
prepare_wsl

Test suite description

Basic WSL test Test scope:
1) Prepare WSL and other features in Windows
2) Download the image
3) Import embedded certificate from the image
4) Load image
5) Define users
6) Register SUT
7) Exit WSL

Reproducible

Fails since (at least) Build 2.130

Expected result

Last good: 2.129 (or more recent)

Further details

We're getting a 403 Forbidden error code when trying to install WSL from the PowerShell interface. We will have to investigate if this is infra related or MS issue...


Files


Related issues 1 (1 open0 closed)

Blocks Containers and images - action #178561: [WSL] Command `wsl --install --no-distribution` does not require admin privileges anymoreBlockedpherranz2025-03-10

Actions
Actions #1

Updated by pherranz about 1 month ago

  • Tags set to WSL
  • Subject changed from test fails in prepare_wsl to [WSL] `403 Forbidden` error code when trying to install WSL
Actions #3

Updated by ph03nix about 1 month ago

One can access those resources by either passing an API key (See https://open.qa/docs/#_personal_access_token) or we might find a different way.

Perhaps someone could ask, if our own workers could be excepted from requiring to authenticate.

Actions #4

Updated by ph03nix about 1 month ago

  • Priority changed from Normal to High
Actions #5

Updated by etchubykalo about 1 month ago

  • Priority changed from High to Normal

locally the download works.

Could be something related to o.s.d authetication?

Actions #6

Updated by etchubykalo about 1 month ago

  • Priority changed from Normal to High
Actions #7

Updated by etchubykalo about 1 month ago

We are trying to download WSL from the Microsoft Store. I do not understand why this fails, as it is not from o.s.d where we are getting the assets from.

It briefly worked here: https://openqa.suse.de/tests/16666023#step/prepare_wsl/17

Actions #8

Updated by pherranz 25 days ago

  • Assignee set to pherranz
Actions #9

Updated by ph03nix 18 days ago

  • Project changed from openQA Tests (public) to Containers and images
  • Category deleted (Bugs in existing tests)
Actions #10

Updated by pherranz 17 days ago

As @ph03nix suggested, maybe it's a good idea to add the WSL installation to the Autounattend.xml file.

Actions #11

Updated by pherranz 14 days ago

  • Status changed from Workable to In Progress
  • % Done changed from 0 to 70

After several days of trial and error, I managed to make this configuration run locally in my laptop:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/21302

Pending to test on OSD.

Actions #12

Updated by pherranz 14 days ago

The 403 error persists even when trying to install in the OS deployment...

Actions #13

Updated by pherranz 11 days ago ยท Edited

  • Status changed from Blocked to Feedback

After speaking to @ph03nix, we've decided to stop Win11 tests to run for a week just to see if the issue is due to a MS limit or firewalling.

https://gitlab.suse.de/qac/qac-openqa-yaml/-/merge_requests/2090

Actions #14

Updated by pherranz 4 days ago

We've already re-enabled the tests to check if the error persists:
https://gitlab.suse.de/qac/qac-openqa-yaml/-/merge_requests/2110

Actions #16

Updated by ph03nix 4 days ago

  • Parent task set to #175608
Actions #17

Updated by pherranz 4 days ago

  • Blocks action #178561: [WSL] Command `wsl --install --no-distribution` does not require admin privileges anymore added
Actions

Also available in: Atom PDF