-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable QEMU Podman machine on Windows #18488
Conversation
@arixmkii is this ready to have the WIP label removed? |
We use bare-metal Windows instances for installer and WSL2 testing already. Possibly the only major part missing to enable addition of QEMU tests, is inclusion of it and any dependencies inside the CI VM images. I'm not a Windows expert, but I think the place to do that is https://github.com/containers/automation_images/blob/main/win_images/win_packaging.ps1 With updated images in hand, I can help with updating |
Sounds good. I will try to move forward with #17473 and then come back here to do my best to help with this. |
A friendly reminder that this PR had no activity for 30 days. |
We now support hyperV, I don't think We should be supporting a third way. |
Last time I checked Hyper-V required super user for starting up the machine. This one didn't. But I have to check the current state for Hyper-V. So, there is some reasoning for this to exist still, but I can understand this being dropped - this is fine if this is easy to add and compile from sources (if #17473 is kept and finished). |
A friendly reminder that this PR had no activity for 30 days. |
Still unlikely a problem. There's lots of thought/planning/work going on with this topic. It's part of a bigger multi-os podman-machine testing initiative and design-work. Not sure we're far enough along to decide what to do with this PR yet. |
I have rebased version of this one, which I use to test my ongoing work for #17473 I just delay the re-submit until the other part is finalized. |
c444cc4
to
0f94374
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: arixmkii The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Build issues will be addressed in #17473 (as this one has no point going forward before the latter). The build issues are caused by recently added functionality, which had no Windows compatible alternatives and were added straight to machine.go instead of machine_windows.go. |
1bfdfe1
to
bd9d494
Compare
Rebased and updated for latest codebase changes. |
hello @arixmkii We've been watching this PR with interest and frankly are struggling with it a bit. We already have two supported platforms on windows in WSL and soon to be HyperV. Could we have a broader conversation around why QEMU is more attractive that those two options? One concern we have is that this broadens and deepens our provider support to three different providers on Windows and we are struggling to keep as it is. |
Ran e2e tests with this provider. Only 3 failed tests, which are most probably some OS specifics in them, which has to be checked in details.
Brief check is that in all cases successful (expected result) machine stop commands return non zero exit code (not able to reproduce manually outside of test) |
@baude sure! First of all this was a thing way before Hyper-V full virt was even publicly debated. I started it in January 2022 #13006 What was beneficial for me:
I can understand if this one never lands in main branch :) It was pretty interesting learning experience anyway. |
Found a cross process file access/race condition like combination, which doesn't work pretty on Windows. Now it passes all e2e tests. Will update PRs after full machine e2e run passes (fixes were tested running tests isolated). Test run results (time is irrelevant, it ran inside Hyper-V machine on power gapped laptop).
|
bd9d494
to
33df27f
Compare
33df27f
to
eb399b8
Compare
eb399b8
to
9844618
Compare
9844618
to
30b5cf9
Compare
Signed-off-by: Arthur Sengileyev <[email protected]>
30b5cf9
to
eccb0da
Compare
Will be continued in #21594 |
Fixes #13006
This simply enables new machine provider as all the required changes were implemented in separate PRs.
Technically this could be merged, but this will not be really functional before #17473 is completed and merged.
No new tests, because this doesn't introduce new unit testable functionality, but for e2e tests this would require Windows VM with nested virtualization or Windows bare metal machine, where QEMU will run.
Does this PR introduce a user-facing change?
[NO NEW TESTS NEEDED]