action #176532
closedcoordination #175608: [WSL][epic] Unattended installation
[WSL] `403 Forbidden` error code when trying to install WSL
100%
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
Updated by ph03nix 3 months 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.
Updated by etchubykalo 3 months ago
- Priority changed from High to Normal
locally the download works.
Could be something related to o.s.d authetication?
Updated by etchubykalo 3 months 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
Updated by ph03nix about 2 months ago
- Project changed from openQA Tests (public) to Containers and images
- Category deleted (
Bugs in existing tests)
Updated by pherranz about 2 months ago
As @ph03nix suggested, maybe it's a good idea to add the WSL installation to the Autounattend.xml
file.
Updated by pherranz about 2 months 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.
Updated by pherranz about 2 months ago
- File clipboard-202502281303-yalmr.png clipboard-202502281303-yalmr.png added
- Status changed from In Progress to Blocked
- % Done changed from 70 to 50
The 403 error persists even when trying to install in the OS deployment...
Updated by pherranz about 2 months 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
Updated by pherranz about 1 month 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
Updated by pherranz about 1 month ago
- Status changed from Feedback to In Progress
Updated by pherranz about 1 month ago
- Blocks action #178561: [WSL] Command `wsl --install --no-distribution` does not require admin privileges anymore added
Updated by pherranz about 1 month ago
The error disappears after a week of not pulling from MS:
https://openqa.suse.de/tests/17091135#step/prepare_wsl/17