Update containerd to 06b9cb35161009dcb7123345749fef02f7cea8e0#34356
Update containerd to 06b9cb35161009dcb7123345749fef02f7cea8e0#34356lowenna merged 2 commits intomoby:masterfrom
Conversation
|
@mlaventure panic in CI |
fe8229e to
2f5e3b4
Compare
2f5e3b4 to
3a926ff
Compare
|
|
Ah, I forgot windows :) |
|
If unix test passes, maybe I'll just wait for @darrenstahlmsft to cherry-pick my changes or vice-versa |
|
Found a bug in runc, I made a PR to fix it: opencontainers/runc#1544 |
1e3fe63 to
4696ff8
Compare
6e9eaef to
21228fa
Compare
|
Ok, so this is waiting on the opencontainers/runc#1544 to be merged, and a decision on whether opencontainers/runc#1450 (comment) is going to be reverted or not. If it's not reverted, I'll probably just fork |
fd8cb42 to
cb03625
Compare
|
opencontainers/runc#1544 was merged opencontainers/runc#1548 (reverting opencontainers/runc#1450 (comment)) has two LGTM's (not merged yet) |
|
both are merged now |
|
Waiting for the rc4 to be tagged :)
On Sat, Aug 5, 2017 at 3:11 AM Sebastiaan van Stijn < ***@***.***> wrote:
both are merged now
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#34356 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/APUifkI4qbj787vot1OpaPfgcI1Ndccrks5sVD-3gaJpZM4Op8xJ>
.
--
Sent from my phone.
|
|
ping @jhowardmsft |
|
@tonistiigi I haven't got time to review this evening, but will take a look while on the plane to SF in the morning. I take it back - was waiting for other things to complete in the background. Just some nits really. |
| // TODO @jhowardmsft LCOW Support. Modify this check when running in dual-mode | ||
| if system.LCOWSupported() && img.OS == "linux" { | ||
| daemon.createSpecLinuxFields(c, &s) | ||
| createSpecLinuxFields(c, &s) |
There was a problem hiding this comment.
This function is a shell at the moment, but will shortly need daemon. I'd probably keep that in for now
| osName := spec.Platform.OS | ||
| if osName == "windows" { | ||
|
|
||
| // spec.Linux must be nill for Windows containers, but spec.Windows will be filled in regardless of container platform. |
| // spec.Linux must be nill for Windows containers, but spec.Windows will be filled in regardless of container platform. | ||
| // This is a temporary workaround due to LCOW requiring layer folder paths, which are stored under spec.Windows. | ||
| // TODO: @darrenstahlmsft fix this once the OCI spec is updated to support layer folder paths for LCOW | ||
| isWindows := spec.Linux == nil |
There was a problem hiding this comment.
Not sure we need this variable if it's only accessed once (could be in the if itself). Nit though.
| } | ||
|
|
||
| // We must have least one layer in the spec | ||
| if spec.Windows.LayerFolders == nil || len(spec.Windows.LayerFolders) < 1 { |
| } | ||
| break | ||
| } | ||
| if container.ociSpec.Windows.HyperV == nil { |
There was a problem hiding this comment.
Hmmm, this will break LCOW pause/resume
There was a problem hiding this comment.
Actually, I plead temporary insanity. Ignore that comment. It's fine as is! I misread == as !=.
| break | ||
| } | ||
|
|
||
| if container.ociSpec.Windows.HyperV == nil { |
There was a problem hiding this comment.
And same, ignore above comment too.
| // Linux containers requires the raw OCI spec passed through HCS and onwards to GCS for the utility VM. | ||
| if ctr.ociSpec.Platform.OS == "linux" { | ||
| // LCOW requires the raw OCI spec passed through HCS and onwards to GCS for the utility VM. | ||
| if system.LCOWSupported() && !ctr.isWindows { |
There was a problem hiding this comment.
Drop system.LCOWSupported(). It'll never get this far if Linux and LCOW isn't enabled.
|
@darrenstahlmsft do you mind addressing @jhowardmsft comments? I can pick the changes from your branch once done. |
|
Yep, I'll fix those as soon as I can. |
|
Fixed nits with darstahl@5c6a3c0 |
This also update: - runc to 3f2f8b84a77f73d38244dd690525642a72156c64 - runtime-specs to v1.0.0 Signed-off-by: Kenfe-Mickael Laventure <[email protected]>
a8dea25 to
d699e37
Compare
|
@mlaventure I don't think the nits fixed in darstahl@5c6a3c0 got picked up 👼 |
|
@darrenstahlmsft in which branch is it? I cherry-picked the #33336 PR commits EDIT: I guess I can just clone your whole repo 👼 |
Signed-off-by: Darren Stahl <[email protected]> Signed-off-by: Kenfe-Mickael Laventure <[email protected]>
d699e37 to
7c29103
Compare
|
@darrenstahlmsft done, thanks for the ping! |
|
Sorry, I pushed it on a branch based on this PR, attempting to make it easier to take. Maybe I should've just continued working in the other branch 👼 |
The docker update to use this version of runc can be found in the PR moby/moby#34356.
The docker update to use this version of runc can be found in the PR moby/moby#34356.
This also update:
Signed-off-by: Kenfe-Mickael Laventure [email protected]
diff: containerd/containerd@3addd84...06b9cb3
- What I did
containerdto version06b9cb35161009dcb7123345749fef02f7cea8e0runtime-specsto versionv1.0.0to match the one used by containerdruncto3f2f8b84a77f73d38244dd690525642a72156c64- How I did it
vndr;-)- How to verify it
containerd --version- Description for the changelog
Good question 😅
- A picture of a cute animal (not mandatory but encouraged)
🐒