[release/1.6 backport] Export remote snapshotter label handler#8054
Merged
AkihiroSuda merged 1 commit intocontainerd:release/1.6from Feb 8, 2023
Merged
Conversation
Signed-off-by: Kohei Tokunaga <[email protected]> (cherry picked from commit dbf384a) Signed-off-by: Sebastiaan van Stijn <[email protected]>
|
Skipping CI for Draft Pull Request. |
Member
Author
|
Failures should be unrelated; |
Member
|
Yeah, a lot of PR checks are getting stuck on Azure networking issue with the Ubuntu apt repos; may be better now but has been failing for hours |
Member
Author
Member
|
@thaJeztah The backport looks good to me. I have re-run the CI. |
fuweid
approved these changes
Feb 7, 2023
AkihiroSuda
approved these changes
Feb 8, 2023
imeoer
added a commit
to imeoer/nydus-snapshotter
that referenced
this pull request
Feb 12, 2023
See containerd/containerd#8054 Signed-off-by: Yan Song <[email protected]>
imeoer
added a commit
to imeoer/nydus-snapshotter
that referenced
this pull request
Feb 12, 2023
See containerd/containerd#8054 Signed-off-by: Yan Song <[email protected]>
imeoer
added a commit
to imeoer/nydus-snapshotter
that referenced
this pull request
Feb 12, 2023
See containerd/containerd#8054 Signed-off-by: Yan Song <[email protected]>
Mengkzhaoyun
pushed a commit
to open-beagle/containerd
that referenced
this pull request
Feb 13, 2023
containerd 1.6.17 Welcome to the v1.6.17 release of containerd! The seventeenth patch release for containerd 1.6 includes various updates. * **Add network plugin metrics** ([#8018](containerd/containerd#8018)) * **Update mkdir permission on /etc/cni to 0755 instead of 0700** ([#8030](containerd/containerd#8030)) * **Export remote snapshotter label handler** ([#8054](containerd/containerd#8054)) * **Add support for default hosts.toml configuration** ([#8065](containerd/containerd#8065)) See the changelog for complete list of changes Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues. * Derek McGowan * Akihiro Suda * Jess * Antonio Ojea * Kohei Tokunaga * Phil Estes * Wei Fu <details><summary>11 commits</summary> <p> * [release/1.6] Prepare release notes for v1.6.17 ([#8080](containerd/containerd#8080)) * [`a1aa9b900`](containerd/containerd@a1aa9b9) Prepare release notes for v1.6.17 * [1.6] Backport default registry hosts config ([#8065](containerd/containerd#8065)) * [`1436641b8`](containerd/containerd@1436641) Support default hosts.toml configuration * [`87acecd04`](containerd/containerd@87acecd) Update hosts doc * [release/1.6 backport] Export remote snapshotter label handler ([#8054](containerd/containerd#8054)) * [`a6544ed7d`](containerd/containerd@a6544ed) Export remote snapshotter label handler * [release/1.6] cri: mkdir /etc/cni with 0755, not 0700 ([#8030](containerd/containerd#8030)) * [`ae02a24a3`](containerd/containerd@ae02a24) cri: mkdir /etc/cni with 0755, not 0700 * [release/1.6] add network plugin metrics ([#8018](containerd/containerd#8018)) * [`6c6cc5ec1`](containerd/containerd@6c6cc5e) add network plugin metrics </p> </details> This release has no dependency changes Previous release can be found at [v1.6.16](https://github.com/containerd/containerd/releases/tag/v1.6.16)
aravindhp
referenced
this pull request
in openshift/containerd
Feb 28, 2023
containerd 1.6.19 Welcome to the v1.6.19 release of containerd! The nineteenth patch release for containerd 1.6 contains runtime fixes and additions for Windows platforms * **Update hcsshim to v0.9.7 to include fix for graceful termination and pause containers ([containerd#8153](containerd#8153)) See the changelog for complete list of changes Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues. * Kirtana Ashok * Derek McGowan * Wei Fu <details><summary>4 commits</summary> <p> * [release/1.6] Prepare release notes for v1.6.19 ([containerd#8157](containerd#8157)) * [`23e94075a`](containerd@23e9407) Add release notes for v1.6.19 * [release/1.6] go.mod: Bump hcsshim to v0.9.7 ([containerd#8153](containerd#8153)) * [`f488a6241`](containerd@f488a62) Update hcsshim tag to v0.9.7 </p> </details> * **github.com/Microsoft/hcsshim** v0.9.6 -> v0.9.7 Previous release can be found at [v1.6.18](https://github.com/containerd/containerd/releases/tag/v1.6.18)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The conflicts were in adjacent line changes; I looked at the "parent" commit for #8036 (753bfd6), and the code that was moved did not change;
pkg/cri/server/image_pull.go(appendInfoHandlerWrapper(),getLayers()and the constants):pkg/cri/server/image_pull_test.go(TestImageLayersLabel)on main at 753bfd6
on release/1.6 at 4335c65
Now the user of remote snapshotter labels appended by CRI plugin is not only stargz-snapshotter but also several remote snapshotter implementations in the community. (There is also discussion to use them from non-snapshotter tool moby/moby#44810)
Currently, the code is defined as private variables/functions so projects outside containerd need to copy-and-paste them. These clones aren't easy to maintain because they need to be copy-and-pasted again every time changes occur on the upstream code.
This PR exports remote snapshotter's label-related logic and tries to make it easier to maintain tools around remote snapshotters.