-
Notifications
You must be signed in to change notification settings - Fork 18.9k
WIP: Remove legacy LCOW code #42170
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
base: master
Are you sure you want to change the base?
WIP: Remove legacy LCOW code #42170
Conversation
6aef7fc to
39ea4ba
Compare
5cf1d4e to
44a7424
Compare
|
hmm.. flaky test? |
53b460c to
5b2fad2
Compare
41ba270 to
404655e
Compare
af2e6fa to
ddeb49e
Compare
|
Two failures that look related, but will have to look if the test may be wrong, or if it's an existing issue that wasn't hit before (possibly if base-image was "from scratch", it would be testing for Linux?) |
9c6a177 to
f8ebfe0
Compare
f8ebfe0 to
ae740a5
Compare
| return []string{}, runConfig.ArgsEscaped | ||
| } | ||
|
|
||
| if os == "windows" { // ie WCOW |
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.
Maybe this is the cause of the failure; could this be a "from scratch" case?
ae740a5 to
6cb2bf7
Compare
6cb2bf7 to
b8d6026
Compare
b8d6026 to
677d0a2
Compare
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These tests were previously using the linux format, probably because the image is empty Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The LCOW implementation in dockerd has been deprecated in favor of re-implementation in containerd (in progress). Microsoft started removing the LCOW V1 code from the build dependencies we use in Microsoft/opengcs in microsoft/opengcs@e972b27 (microsoft/opengcs#390), soon to be part of Microsoft/hcshhim (microsoft/hcsshim#973).
The (pre microsoft/opengcs@e972b27) version of opengcs we need for LCOW v1 is no longer compatible with current versions of runc/libcontainer (see microsoft/opengcs#396), which means that we wouldn't be able to update our runtime (containerd, runc) dependencies without breaking LCOW v1.
With the above; and given that LCOW has been deprecated (but so far, not actively removed), we should make a start to remove this code.
WARNING:
I should be clear that this is not ready to be merged, and a really WIP branch. This branch is just "blindly" ripping out all LCOW-related code/code-paths. See it as a "what if we removed all bits.." to make visible where the LCOW code-paths live, and so that we can discuss what parts should be removed, and possibly, what parts should be kept (For example, if we want to support LCOW based on containerd, possibly some of this code is still useful)