-
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
Quadlet - use the default runtime #17601
Quadlet - use the default runtime #17601
Conversation
This PR comes instead of #17587 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @ygalblum !
/hold Please wait for #17305 to merge, then rebase and resubmit. Without 17305, none of this can be tested, and there's a good chance it will break CI once runc is enabled. Thank you for understanding. |
@edsantiago Not sure I understand you comment. This change removes the hard-coded value and lets Podman decide which runtime to use. I would have understood if it were the other way around |
The situation today: we do not test runc in CI. Therefore, for CI purposes, your change is a NOP. #17503 adds testing with runc. These are the three possibilities:
I hope that makes sense. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@edsantiago At the end of the day Quadlet just translates systemd unit keys to podman command line arguments. As a result, there are no quadlet-runc issues, while there may be podman-runc issues. So, if the second case occurs, I will still need to bring Podman SMEs into the discussion. |
Thanks @ygalblum . Let me try to phrase this another way: if for any reason the quadlet tests break under runc, those problems must be resolved in this PR. Not in 17305, and not by some innocent victim. That is all. |
Do not set the runtime when processing a .container file Let Podman choose the runtime based on its configuration Signed-off-by: Ygal Blum <[email protected]>
8c51203
to
0d75854
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe, vrothberg, ygalblum The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks, @ygalblum ! |
/hold cancel |
Can this please be cherry picked to the 4.4 branch? |
/cherry-pick v4.4 |
@rhatdan: #17601 failed to apply on top of branch "v4.4":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@dcermak would you backport? |
Do not set the runtime when processing a .container file Let Podman choose the runtime based on its configuration
Does this PR introduce a user-facing change?
Yes