-
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
use conmon for exec #3143
use conmon for exec #3143
Conversation
b345fa2
to
5b1f1a7
Compare
☔ The latest upstream changes (presumably #2844) made this pull request unmergeable. Please resolve the merge conflicts. |
a6d124e
to
9d5bc14
Compare
☔ The latest upstream changes (presumably #3162) made this pull request unmergeable. Please resolve the merge conflicts. |
9d5bc14
to
31dad15
Compare
ab50020
to
15c83ab
Compare
9ceab1b
to
adee9d8
Compare
13dddcd
to
32dfb1c
Compare
@mheon @TomSweeneyRedHat @QiWang19 @vrothberg @baude @rhatdan Here's an update: This PR is as ready as it will be, PTAL |
update, I actually just thought of a way to get this to pass organically, so hold on the manual merge |
update, i think I have a way to make in_podman green naturally. hold the force merge |
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.
All the CI changes LGTM, just one goof but it's my fault and won't affect anything.
.cirrus.yml
Outdated
@@ -43,7 +43,7 @@ env: | |||
# Git commits to use while building dependencies into cache-images | |||
FEDORA_CNI_COMMIT: "412b6d31280682bb4fab4446f113c22ff1886554" | |||
CNI_COMMIT: "7480240de9749f9a0a5c8614b17f1f03e0c06ab9" | |||
CONMON_COMMIT: "3e47d8dd45cdd973dbe256292d5e9c0bff195e56" | |||
CONMON_COMMIT: "6f3572558b97bc60dd8f8c7f0807748e6ce2c440" | |||
CRIU_COMMIT: "c74b83cd49c00589c0c0468ba5fe685b67fdbd0a" |
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.
FYI- this is my bad...these aren't used anywhere. I've got a commit floating on a PR somewhere that just clobbers them all.
fmt.Printf("ExecContainer Start ctr.Exec\n") | ||
// TODO detach keys and resize | ||
// TODO add handling for exit code | ||
// TODO capture exit code and return to main thread |
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.
Do we have Jira cards or issues for these?
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.
the entirety of remote exec is a big TODO, I can make a jira card
Changes LGTM, but what head nods from @mheon and @vrothberg too, especially if you can't get the tests to green. Personally, I think once merged, this should sit in upstream for a few weeks before we make a new kit with it and that kit should bump the version from 1.4 to 1.5 or 1.5 to 1.6. |
This includes: Implement exec -i and fix some typos in description of -i docs pass failed runtime status to caller Add resize handling for a terminal connection Customize exec systemd-cgroup slice fix healthcheck fix top add --detach-keys Implement podman-remote exec (jhonce) * Cleanup some orphaned code (jhonce) adapt remote exec for conmon exec (pehunt) Fix healthcheck and exec to match docs Introduce two new OCIRuntime errors to more comprehensively describe situations in which the runtime can error Use these different errors in branching for exit code in healthcheck and exec Set conmon to use new api version Signed-off-by: Jhon Honce <[email protected]> Signed-off-by: Peter Hunt <[email protected]>
Signed-off-by: Peter Hunt <[email protected]>
32dfb1c
to
53e1ede
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cevich, haircommander, mheon 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 |
/hold cancel |
Thanks for sticking with this one through the endless rebases, @haircommander - it's finally merged. |
This also fixed #3179 |
This is a starter PR. Do not merge, it is not complete at all.
depends on: cri-o/cri-o#2377
The point of pushing here is mostly to get feedback on the design. there is still more work to do:
The following items could be added in follow up PRs: